mirror of
https://github.com/only-cli/oc.git
synced 2026-09-15 10:40:56 +02:00
Generic distillation engine (no per-site adapters): fetch via impers impersonating Chrome with a firefox-fingerprint retry, distill to an interaction tree, render under a hard token budget with numbered action handles. Raw mode emits markdown via turndown or cleaned HTML. Per-site CLI definitions for HN, Reddit, Bing, DuckDuckGo. Offline test suite, agent skill, OIDC publish workflow.
10 lines
350 B
JSON
10 lines
350 B
JSON
{
|
|
"domain": "news.ycombinator.com",
|
|
"commands": {
|
|
"top": { "open": "https://news.ycombinator.com" },
|
|
"new": { "open": "https://news.ycombinator.com/newest" },
|
|
"item": { "open": "https://news.ycombinator.com/item?id={id}", "args": ["id"] },
|
|
"user": { "open": "https://news.ycombinator.com/user?id={name}", "args": ["name"] }
|
|
}
|
|
}
|