Skip to main content

statsbadge-bluesky

Bluesky accounts and feeds, for statsbadge.

Watch as many handles and feeds as you like. Each one is offered by name under a single Bluesky heading in the page picker, so a page can take the latest post from one account, a follower count from another and the newest thing in a feed, all on the same screen.

Public APIs only. There is no login, no app password and nothing to keep secret - and so nothing here that anybody could not already see on the web.

Install

statsbadge ext add bluesky

Then, in the config UI under Extensions, list the handles and feeds you want.

Settings

Setting What it does
Handles Accounts to watch, separated by commas. The @, and a profile URL pasted whole, are both understood
Feeds Feeds to watch, separated by commas. A feed's page on bsky.app, or the at:// URI it is published under
Ask every Seconds between refreshes. 120 by default
Pictures off, small or large - see below

Each entry becomes a separate source in the picker:

Bluesky
    gadgetoid.com
    pimoroni.com
    Raspberry Pi Pico
    Mechanical Keyboards

An account is listed by the handle you typed. A feed is listed by its display name once the AppView has been asked for one - until then, by the last part of its URI.

What each one reports

An account:

Reading What it is
Latest post Its newest, reposts excluded
Latest reply The newest reply somebody else left on one of its recent posts
Followers
Following
Posts
Likes on the latest
Reposts of the latest
Replies to the latest
Quotes of the latest

A feed:

Reading What it is
Latest post The newest post in it
Likes on the feed How many people have liked the feed itself

Latest post and Latest reply are messages. They go on a Notifications page as a block of text with the sender and how long ago. The rest are numbers and go anywhere a number goes.

Followers, following and posts are kept hourly, so a graph of any of them covers the last two days rather than the last ninety seconds. The AppView reports no history, so that ring is built as the host runs: it is empty on a first launch and fills an hour at a time.

Pictures

One picture per post, where the post has one: its images, or the picture on a link card, cropped to what is actually in it and drawn in the theme's palette.

small is 64x48 in four shades and adds about 950 bytes to a message; large is 128x96 in eight and adds about 4KB. Four subsequent posts with images might cause animation hiccups so choose carefully.

Notes

Everything comes from the public AppView at public.api.bsky.app, which serves profiles, author feeds, threads and feed generators to anyone.

How many requests. An account costs two, plus one for each thread opened looking for a reply - up to five. A feed costs two. So four accounts and two feeds is at most twenty-four requests every couple of minutes, which is why the interval has a floor. Watch fewer things or ask less often if that matters to you.

Replies stand in for mentions. Notifications need a login and post search needs one too, so the threads under an account's posts are the only public place a mention can come from. Up to three are opened, newest first, and a reply from the account itself is skipped - a thread somebody is carrying on alone is not an answer.

One bad entry does not cost the rest. A handle spelled wrong is reported on the config page while every other account and feed keeps reporting.

A repost carries no words of its own, so the post itself is drawn with "reposted by" beside it. Reposts are excluded from an account's Latest post, since the numbers beside it would be a stranger's.

A post can carry no words at all - a bare link, or a bare picture. The link card's headline, or the image's alt text, is what it shows in that case. Bodies are cut to 160 characters on the server, comfortably more than the two or three lines a page draws.

Bluesky "readings" change every couple of minutes and the badge polls every second, so they are declared slow: the host sends them when they change and the badge holds on to them.

Metadata

Release files for statsbadge-bluesky 2.0.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 statsbadge-bluesky 2.0.0
File Size Uploaded Provenance Actions
statsbadge_bluesky-2.0.0.tar.gz 11.7 kB Without provenance Details for statsbadge_bluesky-2.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for statsbadge-bluesky 2.0.0
File Interpreter ABI Platform Actions
statsbadge_bluesky-2.0.0-py3-none-any.whl Python 3 none any Details for statsbadge_bluesky-2.0.0-py3-none-any.whl

Total release size: 24.1 kB

Release files / statsbadge_bluesky-2.0.0.tar.gz

Download URL statsbadge_bluesky-2.0.0.tar.gz
Size 11.7 kB
Tags Source
SHA-256 checksum
How to use checksums
114cde0350ed4b44f7d6da32a02ddc3d9cfb3c74347d0420d0263153e636a572
BLAKE2b-256 checksum
How to use checksums
2e68a21e3e1bfa5bafd5682c61d3cf975f98419eda0ae9abb544689f8876af0a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.18 {"installer":{"name":"uv","version":"0.12.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / statsbadge_bluesky-2.0.0-py3-none-any.whl

Download URL statsbadge_bluesky-2.0.0-py3-none-any.whl
Size 12.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8846758b9e52040ae36bf85cae308b6d73d6be91e7cac13d95536492174b567a
BLAKE2b-256 checksum
How to use checksums
2d796ff8cfdcd65956a4cc807f90e7444018defc32f67f2579277fd010dbafaf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.18 {"installer":{"name":"uv","version":"0.12.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for statsbadge-bluesky 2.0.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

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