Forge
Call GitHub as your GitHub App, or GitLab, Forgejo, and Gitea with a token. You write no JWT or token code.
.env
# Local development: the private PEM file must exist at runtime
VITEHUB_GITHUB_APP_ID=123456
VITEHUB_GITHUB_PRIVATE_KEY_PATH=./github-app.pemFor production, provide credentials for your host.
Act as your GitHub App
useForge() signs the App JWT, finds the installation, and mints installation tokens.One set of env names
Routes, the GitHub Channel, and Agents share the same
VITEHUB_GITHUB_* variables.