ID

Google Sheets for Nuxt.

Use Google Sheets as a lightweight CMS or database with server-side proxy security, stampede-proof caching, 5 authentication modes, and a dedicated Nuxt DevTools tab. The same system trusted by the entire Nuxt ecosystem.

nuxt.config.ts
export default defineNuxtConfig({
  modules: ['nuxt-gsheet'],

  gsheet: {
    sheets: {
      product: '1BxiMVs0XRA5nFMd****************************'
    },
    cache: {
      enabled: true,
      maxAge: 300
    }
  }
})

Key Features

Keeps Spreadsheet IDs, API Keys, and Service Account JWT tokens strictly on the server side, hiding them from browser clients.

Secure Server Proxy

Keeps Spreadsheet IDs, API Keys, and Service Account JWT tokens strictly on the server side, hiding them from browser clients.

5 Authentication Modes

Auto-detects Google Apps Script Web Apps, GViz SQL queries, CSV feeds, API Keys, and Service Accounts.

Stampede Lock Protection

Prevents HTTP 429 quota exhaustion and serves stale cache during network failures.

Type-Safe Composables

Auto-imported Vue composables (useGSheet, useGSheetAsObject, useGSheetRow, useGSheetWrite).

Nuxt DevTools Integration

Dedicated DevTools tab for tracking intercepted API calls, cache hit/miss ratio, and quota usage.

AI-Native Agent Skills & MCP

Bundled Agent Skills RFC implementation and live Model Context Protocol (MCP) server endpoint.

Flexible Authentication Modes

Automatic detection for public, private, and serverless Google Sheets setups.

GViz SQL Queries

Query public spreadsheets with Google Visualization API SQL syntax for instant, read-only access.

CSV Feeds

Fetch raw CSV data from public sheets with zero configuration and minimal overhead.

Apps Script Web Apps

Deploy a Google Apps Script endpoint to read and write private data with full control.

API Key Access

Use a Google API Key for server-side requests while keeping the key hidden from the browser.

Service Accounts

Authenticate with JWT service account credentials for secure, private spreadsheet access.

Ready to build with Google Sheets?

Join developers building with Nuxt and nuxt-gsheet. Install the module and start shipping today.