Settings

Theme

Show HN: Dirsv – live reload server for dir browsing, GFM, and more filetypes

github.com

1 points by letientai299 a month ago · 0 comments · 1 min read

Reader

I write a lot of markdown in Neovim — learning notes with KaTeX math, design docs with Mermaid/D2 diagrams, cross ... I also browse repos offline and preview static sites. No single tool handled all of that with live reload. So I built dirsv.

It's a single Go binary with an embedded web UI, use fsnotify for watching filesystem, and send WebSocket events to reload the browser page.

I also build dirsv.nvim that auto start dirsv at repo root (or current working dir if it's not a git repo), then open right URL for current buffer in the browser.

Disclosure: majority of the code was written by claude, incrementally, while I'm doing code review, testing and designing.

No comments yet.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection