MCPcopy Index your code
hub / github.com/googleworkspace/apps-script-samples

github.com/googleworkspace/apps-script-samples @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
264 symbols 461 edges 76 files 225 documented · 85% updated 12d ago★ 5,20554 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Google Apps Script Samples

Various sample code and projects for the Google Apps Script platform, a JavaScript platform in the cloud.

Learn more at developers.google.com.

Google APIs

AdminSDK

Advanced Services

Calendar

Classroom

Data Studio

Docs

Drive

Forms

Gmail

People

Sheets

Slides

Tasks

Templates

  • Build off a working framework for new Apps Script projects.

Triggers

  • Call an Apps Script function such as onOpen, onEdit, or onInstall in an add-on
  • Create a time-driven trigger

Codelabs

Codelab tutorials combine detailed explanation, coding exercises, and documented best practices to help engineers get up to speed with key Google technologies. Here's a list of Apps Script codelabs:

Clone using the clasp command-line tool

Learn how to clone, pull, and push Apps Script projects on the command-line using clasp.

Lint

Run ESLint over this whole repository with:

pnpm lint

This command will fix simple errors.

Type Checking

Run the TypeScript-based check over the repository with:

pnpm check

This command validates .gs files by temporarily converting them to .js and running tsc. It checks for syntax errors and type issues using JSDoc annotations.

Core symbols most depended-on inside this repo

latency
called by 6
wasm/image-add-on/src/test.js
generateRandomString
called by 6
wasm/image-add-on/src/test.js
latency
called by 6
wasm/hello-world/src/test.js
generateRandomString
called by 6
wasm/hello-world/src/test.js
showMessage
called by 6
solutions/editor-add-on/clean-sheet/Code.js
getFolder_
called by 6
solutions/automations/import-csv-sheets/Utilities.js
getApplicationFolder_
called by 6
solutions/automations/import-csv-sheets/Utilities.js
setBracketItem_
called by 5
solutions/automations/bracket-maker/Code.js

Shape

Function 258
Method 4
Class 2

Languages

TypeScript100%

Modules by API surface

solutions/automations/offsite-activity-signup/Code.js19 symbols
wasm/image-add-on/src/add-on.js11 symbols
solutions/automations/timesheets/Code.js10 symbols
solutions/automations/news-sentiment/Code.js10 symbols
solutions/automations/generate-pdfs/Code.js9 symbols
solutions/automations/event-session-signup/Code.js9 symbols
solutions/automations/calendar-timesheet/Code.js9 symbols
solutions/editor-add-on/clean-sheet/Code.js8 symbols
solutions/automations/equipment-requests/Code.js8 symbols
solutions/custom-functions/calculate-driving-distance/Code.js7 symbols
solutions/automations/vacation-calendar/Code.js7 symbols
ai/standup-chat-app/db.js7 symbols

Dependencies from manifests, versioned

@biomejs/biome1.9.4 · 1×
@google/clasp2.4.2 · 1×
@types/google-apps-script2.0.8 · 1×
@types/node24.10.1 · 1×
esbuild0.20.1 · 1×
esbuild-plugin-wasmgithub:Tschrock/esbu · 1×
fastestsmallesttextencoderdecoder1.0.22 · 1×
tsx4.20.6 · 1×
typescript5.9.3 · 1×
vitest1.3.1 · 1×
wireit0.14.4 · 1×

For agents

$ claude mcp add apps-script-samples \
  -- python -m otcore.mcp_server <graph>