oh-my-lilys

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

oh-my-lilys

oh-my-lilys

CLI tool for lilys.ai to summarize YouTube, PDF, websites, and audio directly from your terminal.
面向lilys.ai的CLI工具,可直接在终端中总结YouTube、PDF、网站和音频内容。

Installation

安装

bash
npm install -g oh-my-lilys
bash
npm install -g oh-my-lilys

or

pnpm add -g oh-my-lilys
pnpm add -g oh-my-lilys

or

bun add -g oh-my-lilys
undefined
bun add -g oh-my-lilys
undefined

Prerequisites for Auto-Auth

自动认证的前提条件

For automatic token retrieval, install playwright-cli:
bash
npm install -g playwright-cli
若要自动获取令牌,请安装playwright-cli:
bash
npm install -g playwright-cli

Usage

使用方法

bash
undefined
bash
undefined

Authenticate (auto-detect from browser)

认证(从浏览器自动检测)

lilys auth
lilys auth

Or manually with token

或使用令牌手动认证

lilys auth <token>
lilys auth <token>

Check status

检查状态

lilys whoami
lilys whoami

Summarize URL

总结URL内容

lilys summarize <url>
lilys summarize <url>

List sessions

列出会话

lilys sessions
lilys sessions

Get report

获取报告

lilys report <sessionId>
lilys report <sessionId>

Set language

设置语言

lilys lang ko
lilys lang ko

Run diagnostics

运行诊断

lilys doctor
lilys doctor

Check for updates

检查更新

lilys upgrade
undefined
lilys upgrade
undefined

Authentication

认证方式

Automatic (Recommended)

自动认证(推荐)

bash
lilys auth
This will:
  1. Check if you're already logged in at lilys.ai
  2. If logged in, automatically extract the token from browser
  3. If not logged in, open a browser for you to login with Google
  4. Save the token for future use
The browser profile is stored at ~/.lilys-chrome-profile.
bash
lilys auth
该命令将:
  1. 检查你是否已登录lilys.ai
  2. 若已登录,自动从浏览器中提取令牌
  3. 若未登录,打开浏览器供你使用Google账号登录
  4. 保存令牌以备后续使用
浏览器配置文件存储在 ~/.lilys-chrome-profile 路径下。

Manual

手动认证

bash
undefined
bash
undefined

Get token manually:

手动获取令牌步骤:

1. Open https://lilys.ai in your browser

1. 在浏览器中打开 https://lilys.ai

2. Log in with Google

2. 使用Google账号登录

3. Open DevTools (F12) → Application → Local Storage

3. 打开开发者工具(F12)→ 应用 → 本地存储

4. Copy the 'access_token' value

4. 复制 'access_token' 的值

5. Run: lilys auth <token>

5. 运行:lilys auth <token>

undefined
undefined

Commands

命令列表

  • auth - Authenticate with lilys.ai (auto or manual token)
  • summarize - Summarize a URL (YouTube, PDF, audio, website)
  • sessions - List your digest sessions
  • report - Get report for a session
  • lang - Get/set AI result language
  • doctor - Diagnose and fix issues
  • upgrade - Check for new versions
  • logout - Clear stored credentials
  • whoami - Check authentication status
  • auth - 通过lilys.ai认证(自动或手动令牌方式)
  • summarize - 总结URL内容(YouTube、PDF、音频、网站)
  • sessions - 列出你的摘要会话
  • report - 获取指定会话的报告
  • lang - 获取/设置AI结果的语言
  • doctor - 诊断并修复问题
  • upgrade - 检查新版本
  • logout - 清除已存储的凭证
  • whoami - 检查认证状态

Note Types

摘要类型

  • detailed - Full detailed summary
  • key_points - Key points
  • easy - Easy summary
  • script - Script
  • animation - Animation
  • infographic - Infographic
  • background - Background
  • deep_dive - Deep analysis
  • detailed - 完整详细摘要
  • key_points - 关键要点
  • easy - 简易摘要
  • script - 脚本式摘要
  • animation - 动画式摘要
  • infographic - 信息图式摘要
  • background - 背景信息摘要
  • deep_dive - 深度分析摘要

Disclaimer

免责声明

This tool reverse-engineers the lilys.ai API. Use at your own risk. Automated usage may violate lilys.ai's Terms of Service.
本工具对lilys.ai的API进行了逆向工程。请自行承担使用风险。自动化使用可能违反lilys.ai的服务条款。