Scaffold ocd: config, HTTP fetch, cache, paced pipeline, render
Rust CLI with clap subcommands (pretty/raw json/raw plain/fetch/cache/config). Per-workspace dual HTTP (Zen balance + Go limits) run with tokio::join, 500 ms workspace pacing, TTL-180s file cache, retry/backoff for transient failures. scrape.rs holds the only OpenCode-coupled HTML selectors (placeholders until the real Zen/Go pages are captured). Unicode blitter-block bars in pretty mode; stable JSON/plain raw output for widgets and agent plugins.
This commit is contained in:
1 parent
769982e5c9
commit
3b1d2a4389
18 files changed
+4092
No files matched your search
@@ -0,0 +1,15 @@
|
||||
# Example ocd config. Copy to ~/.config/ocd/config.toml and edit.
|
||||
# Cookies are the full Cookie header value. ${VAR} expands from the environment.
|
||||
default_concurrency = 1
|
||||
default_ttl_secs = 180
|
||||
|
||||
[[account]]
|
||||
name = "work"
|
||||
cookie = "${OCD_COOKIE_WORK}"
|
||||
default_workspace = "ws_REPLACE_ME"
|
||||
extra_workspaces = []
|
||||
|
||||
[[account]]
|
||||
name = "personal"
|
||||
cookie = "ocd_session=...."
|
||||
default_workspace = "ws_REPLACE_ME"
|
||||
Reference in new issue
Block a user