glasp
glasp is a Go CLI tool for managing Google Apps Script projects. A single-binary, high-performance replacement for Node.js-based clasp.
Features
- Full clasp compatibility — works with
.clasp.json,.claspignore,.clasprc.json - TypeScript auto-transpilation —
.tsfiles are automatically converted on push - OAuth2 authentication — smooth login via local callback server
- Command history — execution history with replay support
- Archive — snapshot push/pull operations
- Single binary — download and run, no installation dependencies
Quick Start
# Install (Linux / macOS)
curl -sSL https://takihito.github.io/glasp/install.sh | sh
# Login
glasp login
# Clone an existing project
glasp clone <script-id>
# Pull and push files
glasp pull
glasp push
Installs to ~/.local/bin by default. To change the install directory:
curl -sSL https://takihito.github.io/glasp/install.sh | GLASP_INSTALL_DIR=/usr/local/bin sh
Windows:
irm https://takihito.github.io/glasp/install.ps1 | iex
See Installation and Usage for details.
Supply-Chain Security
- Release binaries are signed with cosign
- SLSA Level 3 provenance attached to releases
- https://socket.dev/ for dependency analysis and monitoring
- OpenSSF Scorecard published