A TUI CMS and MCP Server for my personal code snippets
Find a file
2025-06-16 11:36:17 +02:00
.zed call backend to create snippt 2025-06-08 13:12:13 +02:00
src/cli_cms add prefill values to edit command and view after editing 2025-06-16 11:36:17 +02:00
.gitignore init project 2025-06-07 17:32:35 +02:00
bb.edn init project 2025-06-07 17:32:35 +02:00
config.edn get running as global script working 2025-06-13 10:37:47 +02:00
LICENSE.md init project 2025-06-07 17:32:35 +02:00
README.md call backend to create snippt 2025-06-08 13:12:13 +02:00
snippets_cms.bb get running as global script working 2025-06-13 10:37:47 +02: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-cms.main create

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

$ bb
user=> (require '[cli-cms.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)