View Nudgra OSS on GitHub
Open the self-hosted source repository.
Stack
- TanStack Start.
- Better Auth.
- Hono.
- Drizzle.
- pg-boss.
- Postgres.
- Docker and Caddy for the recommended production deployment.
What you need
For local development:- Git.
- Node.js 24 or newer.
- Docker, or another Postgres database.
- A Google account.
- A Meta Developer account.
- An Instagram professional account.
- A VPS.
- A domain or subdomain.
- Docker.
- HTTPS through Caddy or another reverse proxy.
Important URLs
Replacehttps://your-domain.com with your production domain.
| Purpose | URL |
|---|---|
| App | https://your-domain.com |
| Health check | https://your-domain.com/api/v1/health |
| Google OAuth redirect URI | https://your-domain.com/api/auth/callback/google |
| Meta OAuth redirect URI | https://your-domain.com/api/meta/callback |
| Meta webhook callback URL | https://your-domain.com/api/meta/webhooks |
Setup path
- Run local development.
- Configure environment variables.
- Configure Google OAuth.
- Configure Meta / Instagram setup.
- Deploy to a VPS with Docker Compose and Caddy.