Commit Graph

3 Commits

Author SHA1 Message Date
e3c6c25624 feat: implement serve mode with file watching
- Add fsnotify for file watching in serve mode
- Create watcher.go for content directory monitoring
- Update serve mode to generate initial output and watch for changes
- Add route to serve generated HTML files from output directory
- File changes trigger automatic regeneration

Co-Authored-By: Claude (glm-5) <noreply@anthropic.com>
2026-03-05 02:21:50 +01:00
a1d054dfe4 Implement CLI mode and Markdown parsing
- Add CLI mode distinction (gocv vs gocv serve)
- Add goldmark dependency for Markdown parsing
- Create content reading logic from ./content directory
- Implement Markdown to HTML conversion
- Add sample content/index.md for testing
- Update .gitignore for build artifacts

Co-Authored-By: Claude (glm-5) <noreply@anthropic.com>
2026-03-05 02:13:16 +01:00
5ae988cb6c go mod 2026-03-05 01:31:57 +01:00