{"id":24742425,"url":"https://github.com/mbachry/outreddit","last_synced_at":"2026-05-16T18:08:40.016Z","repository":{"id":269452109,"uuid":"907459244","full_name":"mbachry/outreddit","owner":"mbachry","description":"Export reddit comment threads to pocket","archived":false,"fork":false,"pushed_at":"2024-12-23T16:31:41.000Z","size":4,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-12T03:13:28.496Z","etag":null,"topics":["kobo","pocket","reddit"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mbachry.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2024-12-23T16:20:17.000Z","updated_at":"2025-02-16T16:05:50.000Z","dependencies_parsed_at":"2024-12-23T17:30:21.831Z","dependency_job_id":"b90930e5-d344-4757-af75-b9adfc55386d","html_url":"https://github.com/mbachry/outreddit","commit_stats":null,"previous_names":["mbachry/outreddit"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mbachry/outreddit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mbachry%2Foutreddit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mbachry%2Foutreddit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mbachry%2Foutreddit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mbachry%2Foutreddit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mbachry","download_url":"https://codeload.github.com/mbachry/outreddit/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mbachry%2Foutreddit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33113509,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-16T04:41:52.686Z","status":"ssl_error","status_checked_at":"2026-05-16T04:41:52.009Z","response_time":115,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["kobo","pocket","reddit"],"created_at":"2025-01-28T00:36:29.525Z","updated_at":"2026-05-16T18:08:39.988Z","avatar_url":"https://github.com/mbachry.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"outreddit\n=========\n\nAre you an avid fan of /r/AskHistorians subreddit? Do you use pocket\nservice? Do you read pocket articles on a Kobo reader? Do you have a\nserver/vps? This tiny HTTP server will convert reddit threads to a\nformat pocket can parse and save to your Kobo.\n\nInstall\n=======\n\nInstall `uv` and git-clone/copy the project dir to your server. Pick\nand local port and run with:\n\n```\nuv run uvicorn --port 7777 outreddit:app\n```\n\nAdd a systemd unit to make the service permanent:\n\n```\n[Unit]\nDescription=outreddit\n\n[Service]\norkingDirectory=/path/to/outreddit\nExecStart=/bin/uv run uvicorn --port 7777 outreddit:app\nDynamicUser=yes\nPrivateDevices=yes\nSystemCallFilter=@system-service\nRestrictAddressFamilies=AF_INET\nMemoryDenyWriteExecute=yes\n\n[Install]\nWantedBy=multi-user.target\n```\n\nAdd an nginx redirect:\n\n```\nlocation /outreddit {\n    proxy_pass http://127.0.0.1:7777;\n    proxy_set_header Host $host;\n}\n```\n\nUsage\n=====\n\nGrab a single-comment link to a comment and pass it as `url` parameter, eg.:\n\n```\nhttps://example.com/outreddit?url=https://www.reddit.com/r/AskHistorians/comments/14x8cs/what_did_it_cost_to_go_see_an_actual_mozart_opera/c7hdzih/\n```\n\nSave the page to pocket.\n\nNotes\n=====\n\nSince pocket doesn't support authentication your service is exposed to\nthe entire internet. In order to prevent your server from becoming an\n\"open relay\" reddit proxy, there's a fixed 3req/minute rate\nlimit. It's also best to keep `location` in nginx conf secret:\nconsider prefixing with a random uuid, etc.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmbachry%2Foutreddit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmbachry%2Foutreddit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmbachry%2Foutreddit/lists"}