A TUI CMS and MCP Server for my personal code snippets
Find a file
2026-03-11 10:30:39 +01:00
.zed call backend to create snippt 2025-06-08 13:12:13 +02:00
src/snippets_cms adjust to work with datomic backend that does not use ids 2026-03-11 10:30:39 +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 set the backend-host back to homelab 2026-03-09 19:38:01 +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 update readme with link to backend and updated examples 2026-03-09 19:44:11 +01:00
snippets_cms.bb restructure modules 2026-03-09 09:27:27 +01:00
snippets_mcp.bb restructure modules 2026-03-09 09:27:27 +01:00

Snippets TUI CMS / MCP Server

A simple command-line interface for managing my code snippets. Includes a MCP server for interacting with my snippets from Claude Code.

Written in Clojure via Babashka.

Interactive elements are powered by Gum.

Clojure Backend Repo

Run dev

To run commands:

$ bb -m snippets-cms.tui create

or

$ ./snippets_cms.bb

Or to play around and call individual functions using the REPL:

$ rlwrap bb repl
user=> (require '[snippets-cms.tui-actions.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)