Repository navigation
🚀 reddont 0.2.0
reddont can now post, vote and reply on Reddit. None of it works until you turn off the new Read-only preference.
✨ What's new
- Posts, votes and replies. A new Read-only preference is checked by default for new and existing accounts. Unchecking it lets you create text and link posts, vote on posts and comments, and reply to comments. Every write goes out as the Reddit account whose session cookie or bearer token you saved. Shared credentials and app-only tokens are only ever used for reading. Checking it again stops writes at once, even from pages already open. #139, closes #138
- Votes you can see. A vote turns its arrow and the score beside it orangered, on phones and on desktop. Each tab remembers its 500 most recent votes, so a vote cast on a post's own page still shows when you go back to the feed. #139, #140
- Replies in place. reply opens a box under the comment, and your reply appears at the top of its replies without leaving the page. Cancel keeps the draft. If Reddit refuses the reply, for example with a rate limit, the reason shows in the box and your text stays. Without JavaScript, reply still opens the compose page. #140
🔄 Changed
- Links to Reddit open in reddont. In comments and post text, links to posts and comments open the discussion or comment thread, and links to communities open the community. A share link (
/r/<community>/s/<id>) opens its post once Reddit says which post it is, or the share link on Reddit if it doesn't. Links to user pages, and links in RSS feeds and the JSON API, still go to Reddit. #136
📦 Under the hood
- Dependencies. Two runtime patch updates from lock file maintenance: jose 6.2.19, which OIDC sign-in uses through openid-client, and ip-address 10.7.7, which the rate limits use. Also Zensical 0.1.4 for the documentation build, and Semgrep 1.187.0, ZAP 2.17.1 and a newer Renovate action in CI. #131, #132 to #135, #137, #141
- A fresh image. It's built on the current
oven/bunbase with Debian's security updates applied at build time, and both platforms passed the Grype scan before publishing. - Coverage. JavaScript line coverage is 95.40%, with all 514 tests passing and none skipped. It's down from 98.39% only because the Bun tests don't run
replies.js, the browser script behind inline replies. The rest of the code is still at 98.39%. #142
⚠️ Before you upgrade
- Update the image to
ghcr.io/voc0der/reddont:0.2.0, or follow:latest. - reddont keeps only reading until someone turns off Read-only. On its first start, 0.2.0 adds the setting to every existing account, checked. Set
REDDONT_READ_ONLY=trueto lock it on for every account. - No other configuration changes. Accounts, sessions and settings carry over. Browsers fetch reddont's static files again once, since the service worker's cache is renamed for the new version.
Full Changelog: v0.1.20...v0.2.0
Release contributors: @voc0der