docs(readme): update project structure to reflect refactored architecture
- commit
- cd7e757eed69ad8e21e8f959ad04ed6556de8e5a
- author
- bamen · · 2025-09-12 13:04 UTC
- parent
- e4b7498
- signature
- unsigned
1 file · +6 -2
M README.md +6 -2
| @@ -277,12 +277,16 @@ WebKitGTK uses GStreamer for media playback. Dumber includes automatic hardware | |||
| 277 | 277 | - The app updates color‑scheme live when your GTK theme changes (no relaunch needed). | |
| 278 | 278 | ||
| 279 | 279 | ## Project Structure | |
| 280 | - | - `main.go`: CLI/GUI entrypoint, `dumb://` scheme, service wiring | |
| 280 | + | - `main.go`: Entry point with CLI/GUI routing | |
| 281 | + | - `internal/app/cli`: CLI application logic and Cobra commands | |
| 282 | + | - `internal/app/browser`: Browser application logic and WebKit integration | |
| 281 | 283 | - `internal/cli`: Cobra commands (`browse`, `dmenu`, `version`) | |
| 282 | 284 | - `internal/config`: Viper‑backed config, XDG helpers, defaults | |
| 283 | 285 | - `internal/db`: SQLite schema init and sqlc‑generated queries | |
| 284 | - | - `services`: app services (parser/history/config/browser) | |
| 286 | + | - `internal/logging`: Structured logging system with file rotation | |
| 287 | + | - `services`: Application services (parser/history/config/browser) | |
| 285 | 288 | - `pkg/webkit`: WebKit2GTK bindings (CGO and stub implementations) | |
| 289 | + | - `pkg/clipboard`: Cross-platform clipboard operations | |
| 286 | 290 | - `frontend`: TypeScript homepage UI bundled into the binary | |
| 287 | 291 | ||
| 288 | 292 | ## Security & Privacy | |
| @@ -277,12 +277,16 @@ WebKitGTK uses GStreamer for media playback. Dumber includes automatic hardware | |||||
| 277 | - The app updates color‑scheme live when your GTK theme changes (no relaunch needed). | 277 | - The app updates color‑scheme live when your GTK theme changes (no relaunch needed). | ||
| 278 | 278 | ||||
| 279 | ## Project Structure | 279 | ## Project Structure | ||
| 280 | - | - `main.go`: CLI/GUI entrypoint, `dumb://` scheme, service wiring | 280 | + | - `main.go`: Entry point with CLI/GUI routing |
| 281 | + | - `internal/app/cli`: CLI application logic and Cobra commands | |||
| 282 | + | - `internal/app/browser`: Browser application logic and WebKit integration | |||
| 281 | - `internal/cli`: Cobra commands (`browse`, `dmenu`, `version`) | 283 | - `internal/cli`: Cobra commands (`browse`, `dmenu`, `version`) | ||
| 282 | - `internal/config`: Viper‑backed config, XDG helpers, defaults | 284 | - `internal/config`: Viper‑backed config, XDG helpers, defaults | ||
| 283 | - `internal/db`: SQLite schema init and sqlc‑generated queries | 285 | - `internal/db`: SQLite schema init and sqlc‑generated queries | ||
| 284 | - | - `services`: app services (parser/history/config/browser) | 286 | + | - `internal/logging`: Structured logging system with file rotation |
| 287 | + | - `services`: Application services (parser/history/config/browser) | |||
| 285 | - `pkg/webkit`: WebKit2GTK bindings (CGO and stub implementations) | 288 | - `pkg/webkit`: WebKit2GTK bindings (CGO and stub implementations) | ||
| 289 | + | - `pkg/clipboard`: Cross-platform clipboard operations | |||
| 286 | - `frontend`: TypeScript homepage UI bundled into the binary | 290 | - `frontend`: TypeScript homepage UI bundled into the binary | ||
| 287 | 291 | ||||
| 288 | ## Security & Privacy | 292 | ## Security & Privacy | ||