this post was submitted on 01 Sep 2024
1 points (100.0% liked)

It's A Digital Disease!

23 readers
1 users here now

This is a sub that aims at bringing data hoarders together to share their passion with like minded people.

founded 2 years ago
MODERATORS
 
The original post: /r/datahoarder by /u/complexrexton on 2024-08-31 13:13:48.

Hey Everyone,

A while back, I realized that many of the posts I had saved on Reddit for future reference were disappearing. After some search, I found a tool on GitHub called reddit-saved-saver that did a good job at saving posts and comments. However, it lacked a few key features that I needed:

  • Capturing Additional Context: When saving posts, I wanted to include the associated comments, and when saving comments, it was crucial to capture the related post or parent comment for full context. Unfortunately, the existing tools I found didn’t cover these aspects. Preserving the full context of saved posts and comments is essential for my planned use in a local Retrieval-Augmented Generation (RAG) system.
  • Automated Backups: I didn’t want the hassle of manually backing up my saved content. I’m lazy :D

So, I decided to build my own solution.

Introducing Reddit Stash:

Reddit Stash is a Python script I developed to address these gaps. It automatically saves your Reddit saved posts and comments, along with your comments and posts, including the necessary context, every day around 00:00 CET using GitHub Actions on Dropbox. This means you don’t have to worry about manual backups. The files are saved in Markdown format, making them easy to read and reference later.

You can check out the code and setup instructions here: https://github.com/rhnfzl/reddit-stash

I hope this helps those of you who’ve been looking for a similar solution!

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here