Skip to content

Instantly share code, notes, and snippets.

View Scaratech's full-sized avatar
💭
oo ee oo

Scaratek Scaratech

💭
oo ee oo
View GitHub Profile
#! {"lang":"module"}
/*
TODO:
- Add per-app downtime
- Add global and per-app time limits
- Prevent blocked apps from being installed via the marketplace
- Add a whitelist-based alternative
*/
#!/bin/bash
if [[ -z "$GEMINI_API_TOKEN" ]]; then
echo "Error: GEMINI_API_TOKEN env variable is missing"
exit 1
fi
SAFE_MODE=false
if [[ "${@: -1}" == "--safe" ]]; then