I really like the idea of “One Big Text File” (<a href=“https://lobste.rs/s/ettc1n/my_productivity_app_is_single_txt_file” rel=“ugc”>old Lobste.rs discussion</a>) as a simple productivity tool. So I made a very simple UI on top of a single <code>notes.md</code> file with a few features:
- Notes are rendered on a HTML page, served via a local web-server
- Markdown support
- add <code>+</code> in front of a link, and a copy of the webpage will be downloaded and stored (using the excellent <a href=“https://crates.io/crates/monolith” rel=“ugc”>monolith</a> crate)
- search is integrated into the note input, just start typing with <code>/</code> (inspired by <a href=“https://brettterpstra.com/projects/nvalt/” rel=“ugc”>nvALT</a> and vim)
- attach images and other files (stored in ‘attachments’ directory)
Here’s a 1-minute <a href=“https://www.youtube.com/watch?v=VAqJJxaJNVM” rel=“ugc”>demo video</a> (no sound). You can run multiple instances in different directories; the current directory would be the source of notes (<code>notes.md</code> file and <code>attachments</code> dir will be created inside). Note that it’s a very rough initial implementation made on a Sunday night. (And someone named Kai forked the repo and made a <a href=“https://github.com/khannover/textpod-docker” rel=“ugc”>Docker wrapper</a>). Comments