Files
nib-v1/testdata/demo.json
T
lerko 5bb6e89523 feat: add demo subcommand with seeded test data
nib demo starts server with temp DB populated from testdata/demo.json.
Covers all glyphs, card types, tags, pins, completions, deletes, and
template fill placeholders.
2026-05-16 13:13:05 -04:00

134 lines
4.4 KiB
JSON

[
{
"body": "Buy milk, eggs, and bread",
"glyph": "todo",
"tags": ["errands", "grocery"]
},
{
"body": "Fix leaking kitchen faucet",
"glyph": "todo",
"tags": ["home", "plumbing"]
},
{
"body": "Review pull request for auth refactor",
"glyph": "todo",
"tags": ["work", "code-review"],
"pinned": true
},
{
"body": "Dentist appointment",
"glyph": "event",
"time_anchor": "2026-05-20T10:00:00Z",
"tags": ["health"]
},
{
"body": "Team standup",
"glyph": "event",
"time_anchor": "2026-05-19T09:00:00Z",
"tags": ["work", "meetings"]
},
{
"body": "Kubernetes clusters use etcd as the backing store for all cluster data including state, config, and metadata.",
"glyph": "note",
"tags": ["devops", "k8s"]
},
{
"body": "The Go scheduler uses M:N threading — M goroutines multiplexed onto N OS threads.",
"glyph": "note",
"tags": ["golang", "til"]
},
{
"body": "Solar panel installation — get 3 quotes before June",
"glyph": "note",
"tags": ["home", "solar"],
"pinned": true
},
{
"body": "Submit quarterly tax estimate",
"glyph": "todo",
"time_anchor": "2026-06-15T00:00:00Z",
"tags": ["finance"]
},
{
"body": "Backup NAS to offsite",
"glyph": "todo",
"completed": true,
"tags": ["homelab", "backups"]
},
{
"body": "version: '3'\nservices:\n traefik:\n image: traefik:v2.10\n ports:\n - \"${host_port:-443}:443\"\n volumes:\n - /var/run/docker.sock:/var/run/docker.sock\n environment:\n - CF_DNS_API_TOKEN=${cf_token}\n labels:\n - traefik.http.routers.dashboard.rule=Host(`${dashboard_domain}`)",
"glyph": "note",
"title": "Traefik Reverse Proxy",
"description": "Production-ready compose with auto-TLS renewal",
"card_type": "snippet",
"card_data": "{\"language\":\"yaml\",\"source\":\"personal\"}",
"tags": ["homelab", "docker", "traefik"]
},
{
"body": "## Weekly Review\n- [ ] Clear inbox\n- [ ] Review calendar\n- [ ] Update project boards\n- [ ] Plan next week",
"glyph": "note",
"title": "Weekly Review Checklist",
"card_type": "checklist",
"card_data": "{\"items\":4,\"completed\":0}",
"tags": ["productivity", "routine"]
},
{
"body": "PRAGMA journal_mode = WAL;\nPRAGMA busy_timeout = ${timeout_ms:-5000};\nPRAGMA synchronous = ${sync_mode:-NORMAL};",
"glyph": "note",
"title": "SQLite Concurrency",
"description": "Key settings for multi-reader single-writer",
"card_type": "snippet",
"card_data": "{\"language\":\"sql\",\"source\":\"docs\"}",
"tags": ["sqlite", "til"]
},
{
"body": "Decided to use CalVer (YYYY.0M.MICRO) instead of SemVer for nib releases. Rationale: nib is an app not a library, no API stability contract needed.",
"glyph": "note",
"title": "Versioning Strategy",
"card_type": "decision",
"card_data": "{\"status\":\"accepted\",\"date\":\"2026-04-01\"}",
"tags": ["nib", "decisions"]
},
{
"body": "https://github.com/charmbracelet/bubbletea",
"glyph": "note",
"title": "Bubbletea TUI Framework",
"description": "Go TUI framework based on Elm architecture",
"card_type": "link",
"card_data": "{\"url\":\"https://github.com/charmbracelet/bubbletea\",\"domain\":\"github.com\"}",
"tags": ["golang", "tui", "libraries"]
},
{
"body": "Remember to rotate API keys every 90 days",
"glyph": "todo",
"time_anchor": "2026-07-01T00:00:00Z",
"tags": ["security", "homelab"]
},
{
"body": "Interesting idea: build a CLI that converts natural language to nib captures using local LLM",
"glyph": "note",
"tags": ["ideas", "nib", "ai"]
},
{
"body": "Garage door opener warranty expires in August",
"glyph": "event",
"time_anchor": "2026-08-15T00:00:00Z",
"tags": ["home"]
},
{
"body": "Consolidate all docker services to single compose file",
"glyph": "todo",
"tags": ["homelab", "docker"],
"deleted": true
},
{
"body": "## ${project_name}\n- [ ] Create repo at ${git_host}/${org}/${project_name}\n- [ ] Add CI pipeline\n- [ ] Write README\n- [ ] Add LICENSE (${license_type})\n- [ ] First release tag",
"glyph": "note",
"title": "Project Bootstrap",
"description": "Standard checklist for starting new projects",
"card_type": "template",
"card_data": "{\"items\":5}",
"tags": ["productivity", "dev"]
}
]