4df87cbf9a319e67196e4088851c9ef7b00b4690
- Git: init, commit, log, diff, restore, remotes, push/pull - Auto-commit on every file save - Sharing: share/unshare files with other users (ro/rw) - Shared documents view in sidebar - 2FA: TOTP setup/verify/disable, enforced at login - AI: verify spec endpoint (LiteLLM), generate (summarize/prompt/expand) - Light/dark theme with CSS variables - File delete (recursive for folders) - Admin panel + preferences panel - File creation timestamp display
MarkdownHub
Self-hosted collaborative markdown workspace.
See SPEC.md for full specification.
Development
Backend (Go)
cd project
go run ./cmd/server
Frontend (Vue)
cd project/frontend
npm install
npm run dev
Docker
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
Description
Languages
Go
48.3%
Vue
41%
Python
5.7%
JavaScript
4.3%
Dockerfile
0.4%
Other
0.3%