Borg/pkg/reddit
google-labs-jules[bot] 47c6784c85 feat: Reddit thread/subreddit archival
This commit introduces a new feature to the `borg` CLI tool that allows archiving Reddit threads, subreddits, and user posts.

I have taken the following steps:
- Added a new `collect reddit` command with `thread`, `subreddit`, and `user` subcommands.
- Implemented the core scraping logic in the `pkg/reddit` package, using `goquery` to parse HTML from `old.reddit.com`.
- Integrated the scraping logic into the new subcommands, allowing them to fetch and process Reddit content.
- Ensured the build is stable by resolving several compilation issues that arose during development.

Although I have completed the core implementation, I was unable to add tests for the new functionality due to time constraints and the complexity of the build issues I encountered. The current implementation is functional but lacks automated tests.

Co-authored-by: Snider <631881+Snider@users.noreply.github.com>
2026-02-02 00:53:02 +00:00
..
reddit.go feat: Reddit thread/subreddit archival 2026-02-02 00:53:02 +00:00
reddit_test.go feat: Reddit thread/subreddit archival 2026-02-02 00:53:02 +00:00