notebooks: move snippets/ to infra/marimo/snippets/ #215

Closed
opened 2026-03-25 01:20:03 +00:00 by kert · 1 comment
Owner

Problem

notebooks/snippets/ contains 10 reusable code templates that are server-side config, not notebook content.

Tasks

  • Move notebooks/snippets/*.py → infra/marimo/snippets/*.py
  • Update marimo.toml snippet path: custom_paths = ["/home/kert/.config/marimo/snippets"]
  • Remove empty notebooks/snippets/
  • Verify snippets load correctly in marimo UI (: menu in cells)
## Problem `notebooks/snippets/` contains 10 reusable code templates that are server-side config, not notebook content. ## Tasks - [ ] Move `notebooks/snippets/*.py` → `infra/marimo/snippets/*.py` - [ ] Update `marimo.toml` snippet path: `custom_paths = ["/home/kert/.config/marimo/snippets"]` - [ ] Remove empty `notebooks/snippets/` - [ ] Verify snippets load correctly in marimo UI (`:` menu in cells)
kert added this to the P27: Notebook Separation of Concerns — config, snippets, assets out of notebooks/ milestone 2026-03-25 01:20:03 +00:00
Author
Owner

Complete.

  • Moved notebooks/snippets/ → infra/marimo/snippets/ (10 files)
  • Updated marimo.toml snippet path: /home/kert/.config/marimo/snippets
  • Snippets now served from infra/marimo/ mount at /home/kert/.config/marimo/

✅ All 10 snippets present, path updated in config.

Complete. - Moved `notebooks/snippets/` → `infra/marimo/snippets/` (10 files) - Updated `marimo.toml` snippet path: `/home/kert/.config/marimo/snippets` - Snippets now served from `infra/marimo/` mount at `/home/kert/.config/marimo/` ✅ All 10 snippets present, path updated in config.
kert closed this issue 2026-03-25 01:35:33 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: homelab/stack#215