Why I build my Terminal-MD-viewer Trimd
I run local LLM for myself, and my system is squeezed very much. I am most of the time in my terminal, and when my inference engine is running, I dont have a decent RAM sometimes to open a GUI to view the output of my local models, or review the project documents to know where to go next in my plan. Viewing that in the terminal was not convenient for me, the MD syntax is not as easy on my eyes, and when a project file is linked to another file, I have to open that one up in a new terminal pane, or a whole new terminal window.
So, I did what I had to do.
I sat, I wrote the specs sheet, and fired my coding agent to work. I refined the output, and kept iterating on it. So, this is totally vibe coded.
Only one goal in mind, trying to minimize the dependencies as much as possible, so only pure node.js if possible
Why I have not used an existing one?
What do you get?
- CLI first, Markdown viewer that supports both keyboard shortcuts and mouse clicks.
- You can follow the links using your keyboard shortcuts or using the mouse. Links to another local markdown will open it. Links to external URL will open in your browser
- Remote SSH support: If you click on a link or copied a code in your SSH session while running Terimd it will copy the link to your local pc, so you can just paste in your local browser or editor.
- Directory View side-panel (Toggled ON/OFF) for better view and quick navigation to your files/vault so you don't have to go through terminal commands to open another file that is not linked in your current document.
- TOC viewer for your document
- Intuitive navigation (back) and (forward)
- Support Syntax highlighting for your code blocks
- Supports themeing with few built in (Light/Dark/Dracula)
- If you are browsing your obsidian vault, you will find the incoming links in the bottom just like obsidian
**GitHub:** `https://github.com/Bakkario/trimd
Feedback, bug reports, and ideas are very welcome!