MagickMonkey is used to manage and deploy custom scripts on Vercel.
- Script Management: Centrally manage private scripts, sync to multiple clients, and support online modification with instant synchronization. Since the content is stored in private GitHub Gist, it is not absolutely secure. Please do not store any sensitive information (such as API keys, passwords, etc.) and use it only for non-sensitive functional scripts.
- Script Packaging: Automatically generate script entry, support multi-script packaging. (Currently only supports Tampermonkey)
- Script content is stored in private GitHub Gist, but GitHub employees and anyone with account access can still view the content.
- Do not store any sensitive information (such as API keys, passwords, etc.), it is recommended to use it only for non-sensitive functional scripts.
- Ensure the Gist Token has minimal permissions (only need gist scope) and rotate the keys regularly.
Refer to the .env.example file to set the required environment variables.
GIST_ID: GitHub Gist IdGIST_TOKEN: GitHub Gist TokenACCESS_USERNAME: Admin UsernameACCESS_PASSWORD: Admin PasswordACCESS_2FA_SECRET: 2FA Secret, can generate TOKEN using https://vercel-2fa.vercel.appJWT_SECRET: JWT SecretJWT_EXPIRES_IN: JWT Token Expiration TimeGEMINI_API_KEY: GEMINI API Key for AI code rewriting feature (optional), get your API key at Google AI Studio
- Create a GitHub Gist and generate a GitHub Access Token (with gist permission).
- Set the corresponding environment variables in Vercel.
- Once deployed, you can manage scripts through the generated configuration (recommended to use in non-public network environments).