Builds a GitHub App manifest for one of the apps below, walks through registration on github.com, and exchanges the manifest code for the new App's credentials client-side.
Save these to repository or organization secrets. The private key in particular cannot be retrieved again — generate a new one if you lose it.
The page builds a JSON manifest declaring the new app's name, redirect URL, default
permissions, and webhook events — then POSTs it to
github.com/organizations/<org>/settings/apps/new. GitHub creates the app
and redirects back to this page with a temporary code. The page then calls
POST https://api.github.com/app-manifests/<code>/conversions from your
browser to retrieve the new app's ID, private key, and webhook secret.
Reference: Registering a GitHub App from a manifest.
For nsheaps repos this page is auto-deployed via GitHub Pages from
nsheaps/github-actions/pages/. For your own host:
cp pages/index.html docs/index.html # Settings → Pages → Source: GitHub Actions (or branch /docs)
Then use https://<your-org>.github.io/<repo>/ as the redirect. Any
other HTTPS static host (Vercel, Netlify, etc.) works equally well.
Open DevTools, find the manifest payload in the form before submission, and validate it against GitHub's manifest schema. Common gotchas:
url and redirect_url must be HTTPS.No — GitHub only shows the private key once via the manifest exchange. Regenerate one from the app settings: Private keys → Generate a private key. The old key is invalidated; update the secret.
https://github.com/<org> works.
Any form field on this page can be prefilled by appending matching query parameters to the URL. Field names are listed under each input.
Examples:
?preset=apply-repo-settings — selects a preset?preset=apply-repo-settings&org=nsheaps&appname=my-settings-app —
selects preset + prefills org + name
?redirect=https://example.com/cb — overrides redirect URL
The mechanism is generic: every <input> / <select> /
<textarea> with a name attribute is candidate. Adding new
fields later auto-supports the same prefill pattern.