Documentation Index
Fetch the complete documentation index at: https://docs.partio.io/llms.txt
Use this file to discover all available pages before exploring further.
Self-Hosting
The partio dashboard can be self-hosted for teams that want full control over their data and deployment.Prerequisites
- Node.js 20+
- GitHub OAuth App — Create one at github.com/settings/developers
- Set the callback URL to
http://localhost:3000/api/auth/callback/github(or your production URL)
- Set the callback URL to
Environment Variables
Create a.env.local file in the app/ directory:
| Variable | Required | Description |
|---|---|---|
GITHUB_CLIENT_ID | Yes | From your GitHub OAuth App settings |
GITHUB_CLIENT_SECRET | Yes | From your GitHub OAuth App settings |
AUTH_SECRET | Yes | Random string used to encrypt sessions |
Install & Run
http://localhost:3000. Sign in with your GitHub account to start browsing checkpoints.
Production Build
- Set the GitHub OAuth callback URL to your production domain
- Use a strong
AUTH_SECRETvalue - Deploy behind HTTPS
Architecture Notes
- Auth: NextAuth v5 with GitHub OAuth provider. Sessions use JWT strategy.
- Data: All data is fetched from GitHub via Octokit using the authenticated user’s access token. No additional database is required.
- Themes: Theme color files are fetched from GitHub and cached with 24-hour revalidation.