Saving Reddit Comments in Tiddlywiki

Hi all,

This is a somewhat hasty sharing of a TW I have been using to import and save Reddit posts in Tiddlywiki, in the face of impending doom of anonymous login to old.reddit.com.

As a light Reddit reader, I have a TW to help me archive selected Reddit posts into Tiddlywiki. This approach uses the built-in json format available in old.reddit.com to import (via the clipboard) a Reddit discussion thread into Tiddlywiki. A TW javascript module extracts the nested comments in the JSON content into individual comment tiddlers. From there, the full power of Tiddlywiki is available to process and display the content of the discussion thread.

For my purpose, this TW, shared at https://reddit-comments-saver.tiddlyhost.com/, enables selection of Reddit comments using checkbox and a save button to consolidate them into a single tiddler that I can edit and archive for future reference.

Side Note: Back when I was working on this a few months back, I found that old.reddit.com actually responded with JSON contents to http-requests send from local file TW ! That leads me to try to build instead a Reddit (read-only) client in TW that can browse Reddit topics and navigate discussion threads. Unfortunately, Reddit tightened their access policy and stopped responding to http-requests from unauthenticated clients in Apr 2026.

The current approach relies on availability of Reddit JSON contents from old.reddit.com. It doesn’t explicitly rely on anonymous login to old.reddit.com (which is actually how I access it now), but it does seems a matter of time before Reddit withdraw JSON content as well :frowning: Although as it is, the codes need some cleanup, but I thought I would just share this solution now. If there are questions, I will be glad to answer.

1 Like