How koimsurai/arke works
Arke is a Windows file explorer. A user navigates a tab or pane, the app requests directory contents asynchronously, and the explorer presents and acts on the results; search and previews extend that workflow. Workspace management, file operations, and the optional NTFS indexing service are major parallel capabilities. The graph reflects README-described behavior and the shown source/index references; several subsystems are represented at directory level because their implementation excerpts were not provided.
Main entry points: explorer.rs Folder explorer · service.rs Async directory service · index_service.rs Live index service · client.rs Index service client
Components 20
Explorer experience
- Tabs and workspaces
crates/app/src/workspace.rs - Folder explorer
crates/app/src/explorer.rs - Preview and Quick Look
crates/app/src/explorer/preview.rs - Global search UI
crates/app/src/global_search.rs - File operations
crates/app/src/explorer/ops.rs - Settings and preferences
crates/app/src/settings.rs
File and search services
- Async directory service
crates/core/src/service.rs - Filesystem abstraction
crates/core/src/fs.rs - File entries
crates/core/src/entry.rs - Search query and index
crates/core/src/index_query.rs - Live index service
crates/core/src/index_service.rs - Remote locations
crates/remote/src/routing.rs - Document formats
crates/formats/src/office.rs
Background indexing
- Index service client
crates/indexd/src/client.rs - Index service server
crates/indexd/src/server.rs - Index protocol
crates/indexd/src/proto.rs
Windows integration
- Windows shell operations
crates/platform/src/windows/fileops.rs
Presentation foundations
- Theme tokens
crates/ui/src/theme.rs - UI assets
crates/ui/src/assets.rs
Other components
- Explorer user
Connections 22
- Explorer user → Tabs and workspaces: opens tabs
README.md - Tabs and workspaces → Folder explorer: hosts panes
README.md - Folder explorer → Async directory service: requests listings
crates/app/src/explorer.rs - Async directory service → Filesystem abstraction: reads directories
crates/core/src/service.rs - Filesystem abstraction → File entries: produces entries
crates/core/src/fs.rs - Async directory service → Folder explorer: sends results
crates/app/src/explorer.rs - Folder explorer → Preview and Quick Look: previews selection
crates/app/src/explorer/preview.rs - Explorer user → Global search UI: searches files
README.md - Global search UI → Search query and index: queries index
- Search query and index → Live index service: parses queries
crates/core/src/index_service.rs - Live index service → Filesystem abstraction: indexes changes
crates/core/src/index_service.rs - Index service client → Index service server: connects locally
crates/indexd/src/client.rs - Index service server → Index protocol: exchanges messages
crates/indexd/src/server.rs - Index service client → Index protocol: uses protocol
crates/indexd/src/client.rs - Live index service → Index service client: uses journal client
- Folder explorer → File operations: dispatches file actions
crates/app/src/explorer.rs - File operations → Windows shell operations: uses shell engine
README.md - Folder explorer → Remote locations: browses remote paths
- Preview and Quick Look → Document formats: renders documents
crates/app/src/explorer/preview.rs - Explorer user → Settings and preferences: configures explorer
README.md - Folder explorer → Theme tokens: uses design tokens
- Theme tokens → UI assets: loads assets
crates/ui/src/assets.rs