A TUI CMS and MCP Server for my personal code snippets
Find a file
2026-03-08 12:48:35 +01:00
.zed call backend to create snippt 2025-06-08 13:12:13 +02:00
src/cli get list_snippets and get_snippet mcp tools working 2026-03-08 12:48:35 +01:00
.gitignore init project 2025-06-07 17:32:35 +02:00
bb.edn set tag version on gum-utils 2025-07-04 16:21:12 +02:00
config.edn get list_snippets and get_snippet mcp tools working 2026-03-08 12:48:35 +01:00
LICENSE.md init project 2025-06-07 17:32:35 +02:00
MCP_SERVER_GUIDE.md init MCP server 2026-02-28 19:59:45 +01:00
README.md init MCP server 2026-02-28 19:59:45 +01:00
snippets_cms.bb init MCP server 2026-02-28 19:59:45 +01:00
snippets_mcp.bb init MCP server 2026-02-28 19:59:45 +01:00

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)