Flashback is a command-line knowledge store. It captures text, URLs, and commands, extracts structured metadata, and makes everything searchable.
It is designed for developers who want a fast, local, scriptable memory system.

- CLI-first workflow (Cobra)
- Metadata extraction for URLs (OpenGraph, Twitter, JSON-LD)
- AI enrichment using Google Gemini (strict JSON schema)
- Local-first storage backed by Turso/libSQL
- TUI viewer built with Bubbletea
- Fast search with filters and tags
- Separate metadata table for incremental enrichment
flashback helpTUI:
flashbackAdd entries:
flashback add kubectl rollout restart deployment web
flashback add https://blog.bytebytego.com/p/understanding-load-balancersSearch:
flashback search load balancer
flashback search kubernetesView entries:
flashback list
flashback show <id>Flashback processes inputs through a simple pipeline:
- Detect type (text, URL, code)
- Scrape metadata (OpenGraph, JSON-LD, fallbacks)
- Run Gemini enrichment (tags, summary, normalization)
- Store in SQLite/Turso with structured metadata
All AI output is enforced via JSON schema to ensure deterministic results.
Each record is stored in the flashbacks table.
Metadata is stored separately in the metadata table as key/value pairs.
This allows multiple enrichment passes and avoids schema churn.
Example metadata fields:
tldr
description
tags (JSON array)
image (url)
Location: ~/.config/flashback/config.yaml
brew install yagnikpt/tap/flashbackgit clone https://github.com/yagnikpt/flashback
cd flashback
make installgo install github.com/yagnikpt/flashback@latest- More site-specific extractors (GitHub, YouTube, Reddit, Medium)
- Configurable metadata schema
- Plugin system for custom enrichers