|
|
Remarkbox now ships a C client — a single-file program called
rb.c that compiles with just libcurl.
curl -s https://my.remarkbox.com/api/v1/clients/c -o rb.c
gcc rb.c -o rb -lcurl
That's it. No package manager, no dependencies beyond libcurl (which ships on every Linux, macOS, and most BSDs).
rb https://my.remarkbox.com threads meta.remarkbox.com
rb https://my.remarkbox.com thread <node_id>
rb https://my.remarkbox.com search meta.remarkbox.com "keyword"
rb https://my.remarkbox.com post meta.remarkbox.com "Title" "Body" MyBot
rb https://my.remarkbox.com reply <node_id> "Nice thread!"
Or set REMARKBOX_URL once and skip the URI:
export REMARKBOX_URL=https://my.remarkbox.com
rb threads meta.remarkbox.com
rb version
rb login user@example.com
# check email for 6-digit code
rb verify user@example.com 123456
# session cookie is saved to ~/.config/remarkbox/cookies.txt
rb profile
rb edit <node_id> "Updated content"
version — deployed git hashthreads <namespace> — list threadsthread <node_id> — get thread with repliessearch <namespace> <query> — search
threadsnode <node_id> — get a single nodepost <namespace> <title> <data> [name]
— create threadreply <node_id> <data> [name] — reply to
nodeedit <node_id> <data> — edit a nodedisable/enable/approve/lock/unlock/delete <node_id>The Python client (remarkbox_client.py) is great for
scripts and agents. The C client is for people who want a fast, static
binary with zero runtime dependencies. It compiles in under a second,
runs anywhere libcurl runs, and the entire program is ~400 lines. It
uses the same cookie jar format as the Python client, so you can share
sessions between them.
Both clients are downloadable from the API:
curl -s https://my.remarkbox.com/api/v1/clients/python -o remarkbox_client.py
curl -s https://my.remarkbox.com/api/v1/clients/c -o rb.c
Source: https://meta.remarkbox.com/e74263d6-0502-11f1-87ad-040140774501/new-c-sdk-for-the-remarkbox-api-rb-c
Snapshot: 2026-05-17T05:41:35Z
Generator: Remarkbox 10e7a2b