A TUI CMS and MCP Server for my personal code snippets
| .zed | ||
| src/snippets_cms | ||
| .gitignore | ||
| bb.edn | ||
| config.edn | ||
| LICENSE.md | ||
| MCP_SERVER_GUIDE.md | ||
| README.md | ||
| snippets_cms.bb | ||
| snippets_mcp.bb | ||
Snippets CLI CMS
A simple command-line interface for managing my code snippets.
Written in Clojure via Babashka.
Interactive elements are powered by Gum.
Run dev
To run commands:
$ bb -m cli.main create
Or to play around and call individual functions using the REPL:
$ rlwrap bb repl
user=> (require '[cli.create :as command])
user=> (def mock-snippet {:title "mock snippet from repl" :slug "mock" :tags '("mock") :markdown "# This is a mock"})
#'user/mock-snippet
user=> (command/create-snippet mock-snippet)