Self-hosted Git platform with bidirectional GitHub synchronization, built with Rust and Leptos.
- Git Server: Full Git HTTP smart protocol support (clone, push, pull)
- Web UI: Modern Leptos-based interface for repository browsing
- Authentication: WebAuthn MFA + GitHub OAuth
- GitHub Sync: Bidirectional synchronization with GitHub repositories
- Kubernetes Native: Designed to run on Kind cluster behind Cloudflare Tunnel
mygit/
├── crates/
│ ├── git-core/ # Git operations using gitoxide
│ ├── git-server/ # HTTP server (Axum + Leptos SSR)
│ ├── web-ui/ # Leptos frontend components
│ ├── auth/ # WebAuthn + OAuth2 authentication
│ └── sync-service/ # GitHub bidirectional sync
├── k8s/ # Kubernetes manifests
└── docker/ # Dockerfiles
- Rust 2024 edition (stable toolchain)
- cargo
- (Optional) Docker & Kind for k8s deployment
cargo buildcargo run -p git-serverServer will start on http://localhost:3000
See k8s/README.md for Kubernetes deployment instructions.
MIT OR Apache-2.0