A professional, clean, and highly modular template for Google Apps Script projects.
This repository provides a foundational structure for building robust Google Apps Script applications (Web Apps, API integrations, or Add-ons) with modern development practices including linting, formatting, and local deployment support.
- Local Development: Sync with Google Apps Script using
clasp. - Code Quality: Pre-configured ESLint and Prettier for maintaining high standards.
- Documentation: Built-in templates for Architecture, API, and Contribution guides.
- Governance: Standardized issue templates and security policies.
- Clone the repository:
git clone <repo-url>
- Install dependencies:
npm install
- Configure Clasp:
- Log in to Clasp:
npx clasp login - Update
.clasp.jsonwith yourscriptId. - Note: Ensure "Google Apps Script API" is enabled in your Google Apps Script Settings.
- Push your code:
npx clasp push
- Log in to Clasp:
- Follow the instructions in CONTRIBUTING.md.
.github/: CI/CD workflows, issue templates, and security policy.src/: Google Apps Script source files and manifest.appsscript.json: Manifest file.Code.gs: Entry layer.Services.gs: Business logic layer.Utils.gs: Helper layer.Config.gs: Configuration layer.Triggers.gs: Event layer.Api.gs: External integration layer (optional).tests/: Project tests.
.clasp.json: Clasp configuration for local development.ARCHITECTURE.md: High-level system design.API.md: Documentation for API endpoints or interfaces.CONTRIBUTING.md: Guidelines for contributors.
[Insert License Here]