This is a small CLI tool that uses LLM to summarize and translate web pages.
We distribute the official executables for Linux, macOS, and Windows. You can download them from the releases page.
Or if you have Deno installed on your system, you can install this program by running the following command:
deno install -gENRSW jsr:@hongminhee/yoyak/cliAt very first, you need to set the model you want to use. You can do this by running the following command (see also supported models below):
yoyak set-model gemini-2.0-flash-expIt asks for the API key via the standard input, and stores it in configuration file.
Then you can use the yoyak summary command to summarize a web page:
yoyak summary https://github.com/dahlia/yoyakIt prints the summary of the web page to the standard output.
If you want to translate the summary to another language, you can use
the -l/--language option (which takes ISO 639-1 language code):
yoyak summary -l ko https://github.com/dahlia/yoyakIt translates the summary to Korean.
Tip
You can also give a local file path or - as an argument. If - is given,
the command reads the input from the standard input.
Yoyak provides shell completion scripts for bash, fish, and zsh.
To enable bash completion, add the following line to your ~/.bashrc or ~/.bash_profile:
source <(yoyak completions bash)To enable fish completion, add the following line to your ~/.config/fish/config.fish:
source (yoyak completions fish | psub)To enable zsh completion, add the following line to your ~/.zshrc:
source <(yoyak completions zsh)Or run the following command to use zsh fpath completions:1
yoyak completions zsh > /usr/local/share/zsh/site-functions/_yoyakchatgpt-4o-latestclaude-3-5-haiku-latestclaude-3-5-sonnet-latestclaude-3-7-sonnet-latestclaude-3-opus-latestdeepseek-chatdeepseek-reasonergemini-1.5-flash-8bgemini-1.5-flashgemini-1.5-progemini-2.0-flash-expgemini-2.0-flash-lite-preview-02-05gemini-2.0-flash-litegemini-2.0-flash-thinking-exp-01-21gemini-2.0-flashgemini-2.0-pro-exp-02-05gemini-2.5-flash-preview-04-17gemini-2.5-pro-preview-03-25gemma3gpt-4.1gpt-4.5-previewgpt-4o-minigpt-4oo1-minio1-previewo1o3-minio3o4-mini
Yoyak (要約) is a Sino-Korean word that means summary.
Footnotes
-
The site-functions path may vary depending on your system. ↩