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
371 B
JSON
10 lines
371 B
JSON
{
|
|
"domain": "reddit.com",
|
|
"commands": {
|
|
"sub": { "open": "https://old.reddit.com/r/{sub}", "args": ["sub"] },
|
|
"post": { "open": "https://old.reddit.com/comments/{id}", "args": ["id"] },
|
|
"user": { "open": "https://old.reddit.com/user/{name}", "args": ["name"] },
|
|
"search": { "open": "https://old.reddit.com/search?q={query}", "args": ["query"] }
|
|
}
|
|
}
|