# Gitr Phase 1 Mapping This repository currently reimplements the first core Gogs slice instead of the full product. Gogs reference modules: - `internal/conf/conf.go` Rust: `src/conf.rs` - `internal/repox/repox.go` Rust: `src/repox.rs` - `internal/database/users.go` Rust: `src/db.rs`, `src/service.rs` - `internal/database/repositories.go` Rust: `src/db.rs`, `src/service.rs` - `internal/database/repo.go` repository initialization path Rust: `src/git.rs`, `src/service.rs` - `cmd/gogs/web.go` minimal API surface only Rust: `src/http.rs` Implemented in this phase: - Config loading from `gitr.toml` or defaults - SQLite-backed user metadata - SQLite-backed repository metadata - Repository path derivation by owner/name - Bare Git repository initialization - Optional auto-init with a first commit - Minimal JSON APIs for user and repository creation/query Not implemented yet: - Session/authentication flows - SSH serving and hooks - Issues, pulls, wiki, mirrors, actions, permissions - HTML rendering and frontend routes