# MarkdownHub Self-hosted collaborative markdown workspace. See [SPEC.md](../SPEC.md) for full specification. ## Development ### Backend (Go) ```bash cd project go run ./cmd/server ``` ### Frontend (Vue) ```bash cd project/frontend npm install npm run dev ``` ### Docker ```bash cd project docker compose up --build ``` ## Project Structure ``` cmd/server/ — Web server entry point cmd/mdsync/ — CLI sync tool internal/api/ — HTTP handlers & routing internal/db/ — SQLite connection & schema internal/auth/ — Authentication & sessions internal/files/ — File CRUD operations internal/git/ — Git operations (go-git) internal/collab/ — Yjs WebSocket relay internal/crypto/ — AES-256-GCM encryption internal/ai/ — LiteLLM integration frontend/ — Vue 3 SPA ```