Capture anytime, auto-organize, surface on demand.
FeatureDescriptionCommandRecordQuick capture with AI enhancement/记 or type directlySemantic SearchFind content by intent/搜 <keyword>ListView recent notes/列表EditModify existing notes/编辑 <id> <content>HistoryView version history/历史 <id>ExportExport to Markdown/导出StatsView statistics/统计
bash
git clone https://github.com/DamingDong/yiliu.git
cd yiliu
npm install
npm run build
bash
export OPENAI_API_KEY="your-api-key"
# Optional: Custom API endpoint
export OPENAI_BASE_URL="https://api.openai.com/v1"
Without API Key: Falls back to local embeddings via @huggingface/transformers. Core features still work.
text
# Record a note (AI auto-summarizes + tags)
/记 Today I learned about CRDT sync with Last-Write-Wins strategy
# Semantic search (understands intent)
搜 distributed sync methods
# List notes
/列表
# View stats
/统计
# Export backup
/导出
FeatureModelDescriptionEmbeddingstext-embedding-3-small / all-MiniLM-L6-v2Semantic searchSummariesgpt-4o-miniAuto summariesTagsgpt-4o-miniAuto tags
No API Key: Falls back to keyword search, core features remain functional.
data/yiliu.db, data/vectors.jsontext
yiliu/
├── src/
│ ├── index.ts # Entry
│ ├── commands/ # Command handlers
│ ├── storage/ # Storage (LibSQL + Vector)
│ ├── ai/ # AI capabilities
│ └── types/ # Type definitions
├── data/ # Data directory
└── SKILL.md
MIT License