| name | oh-my-lilys |
| description | CLI tool for lilys.ai - Summarize YouTube, PDF, websites, and audio. Manage sessions, generate reports, search, export, and organize collections directly from the terminal. Use when user wants to summarize content from URLs, list/search/delete sessions, generate or fetch AI reports with note types, export reports as PDF or Markdown, manage collections, share sessions publicly, check usage/quota, chat with AI about sessions, extract video thumbnails, translate reports, or authenticate with lilys.ai. Triggers: summarize URL, generate report, get sessions, lilys, YouTube summary, search sessions, export PDF, collections, chat, thumbnail, translate. |
oh-my-lilys
CLI tool for lilys.ai.
Installation
npm install -g oh-my-lilys
bun add -g oh-my-lilys
Authentication
lilys auth
lilys auth <token>
Commands
| Command | Description |
|---|
auth | Authenticate (auto browser extraction or manual token) |
summarize <url> | Summarize a URL (YouTube, PDF, website, audio) |
sessions | List all sessions |
search <keyword> | Search sessions by keyword |
delete <id> | Delete a session (--yes to skip confirm) |
report <id> | Fetch or generate a report |
chat <id> [query] | Ask AI questions about a session |
thumbnail <id> | Extract video frame thumbnails |
translate <id> | Translate session report |
usage | Show plan usage and quota |
share <id> | Create public share link |
unshare <id> | Remove public sharing |
export-pdf <id> | Export report as PDF (--output file.pdf) |
collections / col | Manage collections |
lang [code] | Get/set AI result language |
whoami | Check authentication status (email, plan, etc.) |
doctor | Diagnose issues |
upgrade | Check for updates |
All commands support --json for structured JSON output.
Report Generation
lilys report <id>
lilys report <id> --note-type detailed --watch
lilys report <id> --note-type key_points
lilys report <id> --generate textbook
lilys report <id> --export markdown
lilys report <id> --json
Note types: detailed, key_points, easy, script, animation, infographic, background, deep_dive
AI Chat
lilys chat <id> "what are the key takeaways?"
lilys chat <id>
lilys chat <id> "question" --thread 123
lilys chat <id> "question" --model paid
lilys chat <id> "question" --thinking
Thumbnail Extraction
lilys thumbnail <id>
lilys thumbnail <id> --times 10,30,60
lilys thumbnail <id> --output ./frames
Translation
lilys translate <id> --to en
lilys translate <id> --to ja --note-id X
Collections
lilys col
lilys col create "My Collection"
lilys col rename <col-id> "New Name"
lilys col move <col-id> <session-id...>
lilys col delete <col-id>
Examples
lilys auth
lilys summarize https://youtube.com/watch?v=abc123
lilys sessions --json
lilys search "machine learning" --limit 5
lilys report 8260019 --note-type detailed --watch
lilys report 8260019 --export markdown
lilys chat 8260019 "summarize the main points"
lilys thumbnail 8260019 --times 10,60,120 --output ./frames
lilys translate 8260019 --to en
lilys usage --json
lilys share 8260019
lilys export-pdf 8260019 --output report.pdf
lilys lang ko
Error Handling
- Auth errors: Auto-detected (401/403), prompts re-authentication
- Watch mode: Polls every 3s until ready or timeout (default 120s)
- Note generation timeout: 504 errors don't fail โ generation continues in background
Disclaimer
This tool reverse-engineers the lilys.ai API. Use at your own risk.