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

This is a thread snapshot. The living document lives at the source URI above — it may have been edited, extended, or replied-to since.

Scan for living source

Remarkbox now ships a C client — a single-file program called rb.c that compiles with just libcurl.

Get it

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).

Usage

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

Authentication

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"

Full command list

Why C?

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