How dargoz/grimoire works
Grimoire is a cross-platform wiki for documentation stored in Git repositories. Its documented user workflow is to configure a project path and Git access token, then browse versioned documents and search their content; flavored Markdown is a presentation capability. The tree shows distinct auth, wiki data/domain, and presentation areas, but no Dart source excerpts were provided, so internal calls and data transfers cannot be verified. The graph therefore uses README-supported product relationships and omits unverified internal wiring. Platform runner and generated-plugin files are host scaffolding, not product components.
Main entry points: document_page.dart Document viewing · get_version_use_case.dart Commit versions · gitlab Git repository source · main.dart Grimoire app
Components 20
App access
- Grimoire app
lib/main.dart - App routing
lib/routes - Login experience
lib/features/auth/presentation/pages/login_page.dart - Token access
lib/features/auth/domain/usecases
Wiki experience
- Wiki explorer
lib/features/wiki/presentation/pages/grimoire_home_page.dart - Repository browser
lib/features/wiki/presentation/controllers/file_tree_controller.dart - Document viewing
lib/features/wiki/presentation/pages/document_page.dart - Markdown rendering
lib/features/wiki/presentation/utils - Commit versions
lib/features/wiki/domain/usecases/get_version_use_case.dart - Content search
lib/features/wiki/presentation/controllers/search_controller.dart
Content services
- Wiki operations
lib/features/wiki/domain/usecases - Wiki repository
lib/features/wiki/data/repositories/wiki_repository_impl.dart - Git repository source
lib/features/wiki/data/sources/remote/gitlab - Local wiki data
lib/features/wiki/data/sources/local/local_data_source_impl.dart - Search operations
lib/features/wiki/domain/usecases/search_document_use_case.dart - Search repository
lib/features/wiki/data/repositories/search_repository_impl.dart - Typesense service
lib/features/wiki/data/sources/remote/typesense
Local support
- Credential storage
lib/features/auth/data/sources/local
Other components
- Reader / editor
- Git host
Connections 8
- Reader / editor → Grimoire app: uses
README.md - Reader / editor → Login experience: configures access
README.md - Reader / editor → Wiki explorer: browses content
README.md - Reader / editor → Content search: searches content
README.md - Reader / editor → Document viewing: reads documents
README.md - Git repository source → Git host: reads repository
README.md - Commit versions → Git host: uses commit history
README.md - Document viewing → Markdown rendering: renders flavored Markdown
README.md