0c1047d390
- Go backend with SQLite, JWT auth, file CRUD - Vue 3 frontend with split/raw/WYSIWYG editor modes - Markdown preview (marked, GFM) - Formatting toolbar + keyboard shortcuts - File tree with search, create, delete - Light/dark theme toggle - Admin panel (user management) - Preferences (timezone, theme, default mode) - Shared documents section (placeholder) - Export: PDF, HTML, MD - Build daemon (Python, stdlib only) - Build job queue API - Docker deployment
42 lines
830 B
Markdown
42 lines
830 B
Markdown
# 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
|
|
```
|