How vshvedov/rhun works
rhun is a lightweight desktop code editor for reading and editing projects, running commands and coding agents, and inspecting Git changes. The principal workflow is to open a project, edit and search its files, use the built-in terminal or agent panel alongside the code, and review or manage changes with Git. The README documents these capabilities, but the supplied source excerpts focus on build tooling and the website rather than application internals; internal dispatch and many feature connections are therefore left unasserted.
Main entry points: main.s Desktop App · editor.s Code Editor · syntax.s Syntax Highlighting · git.s Git Operations
Components 20
Workspace
- Project Search
src/app/find.s - File Explorer
src/app/explorer.s - Image Viewing
src/app/imageview.s
Editing
- Code Editor
src/app/editor.s - Syntax Highlighting
src/app/syntax.s - Language Grammars
runtime/syntax - Vim Mode
src/app/vim.s - Themes
runtime/themes
Developer Tools
- Built-in Terminal
src/app/term.s - Terminal View
src/app/termview.s - Git Operations
src/app/git.s - Git Browser
src/app/gitview.s - Diff Review
src/app/diff.s - Agents Panel
src/app/agents.s - AI Commit Drafts
src/app/commit_ai.s
Desktop Runtime
- Desktop App
src/main.s - Windowing
src/app/desktop.s - Platform I/O
src/plat - UI Toolkit
src/ui/ui.s
Other components
- Developer
Connections 19
- Developer → Desktop App: opens project
README.md - Desktop App → Code Editor: uses
- Desktop App → File Explorer: uses
- Desktop App → Project Search: offers search
README.md - Desktop App → Built-in Terminal: offers terminal
README.md - Desktop App → Git Operations: offers Git
README.md - Desktop App → Agents Panel: offers panel
README.md - Code Editor → Syntax Highlighting: highlights code
README.md - Code Editor → Vim Mode: supports mode
README.md - Syntax Highlighting → Language Grammars: uses grammars
- Desktop App → Themes: offers themes
README.md - Desktop App → Terminal View: shows terminal
- Desktop App → Git Browser: browses history
README.md - Desktop App → Diff Review: shows changes
README.md - Git Operations → AI Commit Drafts: drafts commits
README.md - Developer → Image Viewing: opens images
- Desktop App → Windowing: runs in
- Windowing → Platform I/O: uses platform
- Desktop App → UI Toolkit: renders through