{"id":17998103,"url":"https://github.com/cookiengineer/reddit-archivar","last_synced_at":"2025-03-26T04:31:38.868Z","repository":{"id":174284271,"uuid":"652019387","full_name":"cookiengineer/reddit-archivar","owner":"cookiengineer","description":":book: Archiving Cyber Security related Subreddits","archived":false,"fork":false,"pushed_at":"2023-06-13T15:42:22.000Z","size":21,"stargazers_count":9,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-21T06:41:33.716Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cookiengineer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-06-10T20:31:33.000Z","updated_at":"2024-11-29T21:13:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"b0b8bd9f-e38c-481f-8d48-da85bdd76cb0","html_url":"https://github.com/cookiengineer/reddit-archivar","commit_stats":null,"previous_names":["cookiengineer/reddit-archivar"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cookiengineer%2Freddit-archivar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cookiengineer%2Freddit-archivar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cookiengineer%2Freddit-archivar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cookiengineer%2Freddit-archivar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cookiengineer","download_url":"https://codeload.github.com/cookiengineer/reddit-archivar/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245589265,"owners_count":20640254,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-29T21:24:02.452Z","updated_at":"2025-03-26T04:31:38.862Z","avatar_url":"https://github.com/cookiengineer.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Reddit Archivar\n\nThis is my attempt at rescueing as much from my favorite subreddits as possible.\n\nThe Web Archive has also a running archiving attempt over at /r/DataHoarder, but\nthe Archive Warrior just scrapes HTML which is pretty much useless for my OSINT\nrelated work.\n\nThis tool here is built on the basis of the old `v1` API on reddit, which downloads\nand stores all the `JSON` files directly, so that they can be processed later.\n\n\n## Limitations\n\n- Each listing (hot/top/new) is limited to 10 pages of 100 results each (1000 results),\n  which means that the discovery of older threads is only possible via keyword search.\n\n- Keyword search is also limited to 1000 results, which means the more specific the\n  keywords, the better the discovery.\n\n\n## Usage\n\nThe keywords are set inside the [keywords.json](./keywords.json) file, and the\nsubreddit is searched for the given set of keywords.\n\nThe script I was/am using to archive the cybersecurity related subreddits is the\n[scrape.sh](./scrape.sh) script. It builds the binary and then calls the binary\nwith each time with the subreddit as an argument.\n\nPlease make sure to use the correct upper/lowercase writing of the subreddit's\nname, otherwise the redirects might break the scraping mechanism.\n\n```bash\ngo build -o ./build/reddit-archivar ./cmds/reddit-archivar/main.go;\ncp keywords.json ./build/keywords.json;\n\ncd ./build \u0026\u0026 reddit-archivar /r/MalwareResearch;\n```\n\n## TODO\n\nThese subreddits went private too early, so I couldn't archive them :(\n\n- /r/security\n\n\n# License\n\nAGPL-3.0\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcookiengineer%2Freddit-archivar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcookiengineer%2Freddit-archivar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcookiengineer%2Freddit-archivar/lists"}