English | 日本語
A webhook API system for securely executing JavaScript code in Google Apps Script environment.
- Node.js and npm installed
- Google account with access to the Apps Script project
- clasp CLI tool (already installed globally)
# Install dependencies
npm install
# Project has already been cloned with:
# clasp clone 11rmlSwoAwNaimK7mEWOhAMrWA1ctivqQVDWFEhTe0bbsRBFyRDe7mJXWnpm run pull
# or
clasp pullnpm run push
# or
clasp pushnpm run watch
# or
clasp push --watchnpm run open
# or
clasp opennpm run logs
# or
clasp logsnpm run deploy
# or
clasp deploy --description "Your deployment description"npm run versions
# or
clasp versionsappsscript.json- Google Apps Script manifest fileコード.js- Main script file (Code.js).claspignore- Files to ignore when pushing to GAS.clasp.json- Clasp configuration (auto-generated)
- API Key Management System
- Script Execution via Webhook
- Logging to Google Sheets
- Google Services Integration (Drive, Docs, YouTube)
- Always pull before making changes to avoid conflicts
- Test locally when possible before pushing
- Use meaningful deployment descriptions
- Keep API keys secure and never commit them to version control
- Rate Limiting: Implement request throttling per API key
- Webhook Validation: Add request signature verification
- Dashboard: Create a web interface for API key management
- Metrics: Add execution analytics and performance monitoring