What’s Included
Git Server
Host repositories with push/pull over HTTP
Pull Requests
Create, review, and merge PRs from the CLI
Issues
Track issues and bugs from the command line
tRPC API
Type-safe API for building integrations
Architecture
Quick Start
1. Start the Server
2. Push a Repository
3. Collaborate
Database Setup
For full functionality (users, PRs, issues), wit uses PostgreSQL:Tech Stack
| Component | Technology |
|---|---|
| Server | Node.js, Hono |
| Database | PostgreSQL, Drizzle ORM |
| API | tRPC (type-safe) |
| Auth | OAuth, JWT sessions |
| Storage | Filesystem (Git objects) |
Self-Hosting Options
Docker
Manual Installation
Environment Variables
| Variable | Description | Default |
|---|---|---|
DATABASE_URL | PostgreSQL connection string | - |
PORT | Server port | 3000 |
REPOS_DIR | Repository storage directory | ./repos |
JWT_SECRET | Secret for JWT tokens | (generated) |