Skip to main content

seenby

Check whether a comment you posted is visible to others, not just accepted.

In plain words. A write API that answers 201 Created only tells you the server took your comment. It does not tell you that anyone else can read it. The comment may be waiting for a verification challenge, flagged as spam, held for moderation, or shown only to you. seenby reads the thread the way a stranger would, compares that with what you see as the author, and writes down what it found and when.

Works with The Colony and Moltbook. Python 3.10+, no dependencies.

Install

pip install seenby

Use

# One check, anonymous reader only.
seenby check colony --post POST_ID --comment COMMENT_ID

# Also read as the author (the key is read from the environment, never from the command line).
export MOLTBOOK_API_KEY=...
seenby check moltbook --post POST_ID --comment COMMENT_ID

# Also compare the text read back with the exact text you sent (a different text is reported as edited).
seenby check colony --post POST_ID --comment COMMENT_ID --body-file sent.txt

# Right after posting: check every 60 s until it is visible, final, or 10 min pass.
seenby watch moltbook --post POST_ID --comment COMMENT_ID --every 60s --timeout 10m

# Verdict for every comment in the ledger.
seenby status
2026-11-05T15:49:31Z  colony  a2e10265-...  VISIBLE  [anonymous: found (admin_edited_at=None, held=False, held_explanation=None); by id: found (admin_edited_at=None, held=False, held_explanation=None); body matches]
2026-11-05T03:48:02Z  moltbook  c9ff9d7a-...  PENDING  [anonymous: found (is_deleted=False, is_spam=False, verification_status=pending)]

platform  comment                              verdict      last state   checks  last check
colony    e994d34b-ccd3-4584-93b6-604f81165cf0 VISIBLE      visible           1  2026-11-05T03:48:00Z
moltbook  c9ff9d7a-4c13-41f6-a968-379658aa5119 PENDING      pending           1  2026-11-05T03:48:02Z

States

Each check records one state:

State Meaning
visible an anonymous reader gets the comment with no hiding flag
pending waiting for verification (Moltbook: the challenge was not solved yet)
failed the verification challenge failed; it will not be published
spam flagged as spam
held held for moderation (The Colony)
deleted marked deleted
edited visible, but not the text you sent: the platform marks an edit (admin_edited_at on The Colony), or the body read back differs from --body-file
author-only you see it as the author, an anonymous reader does not, and no flag says why
unlisted The Colony returns it by id, but it is not in the thread listing other readers get
absent nobody who was asked sees it
error the read failed (network, rate limit, page limit); never counted as "absent"

status turns the ledger into one verdict per comment. The latest state wins, with one exception: a single miss can be a cache or a slow replica, so absent, author-only and unlisted only become hidden after two misses at least 60 s apart with no anonymous hit in between (--misses, --min-gap). Until then the verdict is unconfirmed.

Exit codes: 0 all visible, 1 any failed, spam, held, deleted, edited, author-only or hidden, 3 anything still undecided (pending, absent, unlisted, unconfirmed, unknown).

How it reads

  • It looks for the comment in the thread listing, page by page, because that is what other readers get. A comment can exist by id and still be left out of the thread.
  • On The Colony the anonymous check also reads the comment by id (/comments/{id}). That read carries held and admin_edited_at and has no page limit, so it adds two things: a listing miss plus held: true by id is moderation, not a slow listing; and when the listing cannot be read to the end (page limit, network), the by-id read decides instead of reporting an error. A by-id hit alone never counts as visible: without the listing it is unlisted.
  • With --body-file, the text read back is compared with yours by SHA-256, ignoring leading and trailing whitespace. The ledger stores only hashes, never the text.
  • The anonymous read sends no credentials. The author read is optional and uses COLONY_API_KEY or MOLTBOOK_API_KEY (or --author-key-env NAME); --anonymous-only never sends a key.
  • Requests never follow redirects, so an Authorization header cannot leak to another host. For Moltbook it always uses https://www.moltbook.com.
  • The ledger (seenby.jsonl, or --ledger PATH) is append-only JSON Lines. Every row keeps the flags each reader saw, so a flag that clears later is a new observation, not an edit.

Limits

  • It reads the platforms' public JSON APIs, not the rendered web page. What the website does with a pending comment returned by the API is up to the site.
  • On Moltbook the anonymous thread listing includes comments that are pending or failed, each with its status; in a sample of 634 comments it included none marked as spam. A spam-flagged comment is therefore likely to show up as spam only in the author view, and as a miss for an anonymous reader.
  • The Colony's held flag is read as returned. What an anonymous by-id read returns for a held comment (200 with held: true, or 404) has not been observed yet; both cases are handled, but a 404 cannot be told apart from a deleted comment. The author view for The Colony exchanges the API key for a token at /auth/token; accounts with 2FA are not supported yet.
  • It reads up to 50 pages (The Colony) or 20 pages of 100 root comments (Moltbook). Past that the check is an error, not a miss, unless the by-id read on The Colony settles it.
  • A platform that rewrites text on display (Markdown, escaping, trimming inside the body) will make --body-file report edited.

License

MIT

Metadata

Release files for seenby 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for seenby 0.2.0
File Size Uploaded Provenance Actions
seenby-0.2.0.tar.gz 16.8 kB Without provenance Details for seenby-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for seenby 0.2.0
File Interpreter ABI Platform Actions
seenby-0.2.0-py3-none-any.whl Python 3 none any Details for seenby-0.2.0-py3-none-any.whl

Total release size: 30.0 kB

Release files / seenby-0.2.0.tar.gz

Download URL seenby-0.2.0.tar.gz
Size 16.8 kB
Tags Source
SHA-256 checksum
How to use checksums
8b57cebf9e2f698c954ddda8804066d728fdb6524bf7cd4fe1bdec3947fa1155
BLAKE2b-256 checksum
How to use checksums
a73661169c9f27a7f220f28ba06156527bd6c9cc38aa914b82aed4033cb7a369
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.4

Release files / seenby-0.2.0-py3-none-any.whl

Download URL seenby-0.2.0-py3-none-any.whl
Size 13.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
977e20763c0d238465518ef29afb9713f91a8fd8bab9c8c908e623a8b856b542
BLAKE2b-256 checksum
How to use checksums
a9395c6b80da28eeeb64743d798f05d5a047cfc2bb25acb7704bca38a8b068ba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.4

Security for seenby 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page