How nuricanozturk01/mahzen-term works
MahzenTerm is a native terminal and developer workspace combining terminal sessions, editing, project tools, and operational panels; its companion tf command previews and browses content. The principal workflow is launching the app into its shell, then using panes and commands to work with terminals, files, projects, and integrations. The README documents these capabilities, but most app wiring was not sampled, so uncertain component links are omitted or marked dashed without evidence. The tf command is shown dispatching file handling, while its broader viewer relationships are documented but not verified in source excerpts.
Main entry points: shell.rs Workspace shell · src/main.rs tf command · src/main.rs App entry · session.rs Terminal sessions
Components 22
Workspace app
- App entry
crates/app/src/main.rs - Workspace shell
crates/app/src/shell.rs - Command palette
crates/app/src/commands.rs - App state
crates/app/src/state.rs - Pane layout
crates/app/src/layout.rs
Terminal runtime
- Terminal sessions
crates/term/src/session.rs - Terminal graphics
crates/term/src/gfx.rs - Terminal view
crates/ui-kit/src/terminal_view.rs
Editing and projects
- Code editor
modules/editor/src/state.rs - Language servers
modules/lsp/src/lib.rs - Project workflows
crates/app/src/project.rs - File explorer
modules/explorer/src/lib.rs - Named workspaces
crates/core/src/workspace.rs
Panels and integrations
- Git tools
modules/git/src/ops.rs - Docker panel
modules/docker/src/lib.rs - Kubernetes panel
modules/kubernetes/src/kubectl.rs
Content tools
- tf command
crates/tf/src/main.rs - File renderers
modules/viewer/src/lib.rs - Web browsers
crates/tf/src/web/mod.rs - Text browser
crates/tf/src/browse/mod.rs - Media viewers
crates/tf/src/play.rs
Other components
- User
Connections 22
- User → App entry: launches
- App entry → Workspace shell: starts daemon
crates/app/src/main.rs - User → Command palette: invokes actions
- User → tf command: runs previews
- tf command → File renderers: renders files
- tf command → Web browsers: opens real browser
crates/tf/src/main.rs - tf command → Text browser: opens text browser
crates/tf/src/main.rs - tf command → Media viewers: plays media
crates/tf/src/main.rs - Workspace shell → Terminal sessions: hosts terminals
- Terminal sessions → Terminal view: supplies terminal state
- Terminal view → Terminal graphics: draws terminal
- Workspace shell → Code editor: hosts editor
- Code editor → Language servers: uses language services
- Workspace shell → Project workflows: opens projects
- Workspace shell → File explorer: shows files
- Workspace shell → Git tools: shows Git panel
- Workspace shell → Docker panel: shows Docker panel
- Workspace shell → Kubernetes panel: shows cluster panel
- Workspace shell → Named workspaces: manages workspaces
- Workspace shell → Pane layout: arranges panes
- Workspace shell → App state: tracks application state
- Workspace shell → Command palette: dispatches commands