anders 4df87cbf9a Phase 2-6: Git sync, sharing, 2FA, AI integration
- 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
2026-05-22 19:53:24 +02:00
2026-05-22 19:48:48 +02:00
2026-05-22 19:48:48 +02:00
2026-05-22 19:48:48 +02:00
2026-05-22 19:48:48 +02:00
2026-05-22 19:48:48 +02:00

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
S
Description
No description provided
Readme 556 KiB
Languages
Go 48.3%
Vue 41%
Python 5.7%
JavaScript 4.3%
Dockerfile 0.4%
Other 0.3%