{"id":13478773,"url":"https://github.com/vihanggodbole/reddit-pocket-sync","last_synced_at":"2025-03-27T08:30:58.588Z","repository":{"id":76087628,"uuid":"81333689","full_name":"vihanggodbole/reddit-pocket-sync","owner":"vihanggodbole","description":null,"archived":false,"fork":false,"pushed_at":"2017-04-02T22:38:43.000Z","size":5,"stargazers_count":40,"open_issues_count":0,"forks_count":3,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-10-30T12:48:00.671Z","etag":null,"topics":["pocket","python","reddit","sync"],"latest_commit_sha":null,"homepage":null,"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/vihanggodbole.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}},"created_at":"2017-02-08T13:39:50.000Z","updated_at":"2024-01-27T03:45:30.000Z","dependencies_parsed_at":"2023-03-19T02:35:45.315Z","dependency_job_id":null,"html_url":"https://github.com/vihanggodbole/reddit-pocket-sync","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vihanggodbole%2Freddit-pocket-sync","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vihanggodbole%2Freddit-pocket-sync/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vihanggodbole%2Freddit-pocket-sync/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vihanggodbole%2Freddit-pocket-sync/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vihanggodbole","download_url":"https://codeload.github.com/vihanggodbole/reddit-pocket-sync/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245809699,"owners_count":20676037,"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":["pocket","python","reddit","sync"],"created_at":"2024-07-31T16:02:02.655Z","updated_at":"2025-03-27T08:30:58.234Z","avatar_url":"https://github.com/vihanggodbole.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# Sync Reddit saved posts to Pocket\n[![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/hyperium/hyper/master/LICENSE) [![Python version](https://img.shields.io/badge/python-3.5-blue.svg)](https://www.python.org/downloads/release/python-350/)\n\nThis script keeps your reddit account in sync with pocket by backing up all of your saved posts to Pocket. Reddit has a hard limit of [1000 posts](https://www.reddit.com/r/help/comments/24znn6/i_just_learned_that_reddit_limits_the_number_of/) which was the primary motivation behind making this script. \n\n## Requirements\n\nRun the following in the terminal\n```shell\n$ pip install -r requirements.txt\n```\n\n## Setup\nBefore using this, you must create your own reddit app to obtain a public and a secret key. This can be done [here](https://ssl.reddit.com/prefs/apps).\n\nOnce you obtain your keys, create a new file in any text editor with the following content -\n\u003e [mysettings]\n\n\u003e client_id =YOUR_PUBLIC_APP_ID\n\n\u003e client_secret = YOUR_SECRET_APP_ID\n\n\u003e password = YOUR_PASSWORD\n\n\u003e username = YOUR_USERNAME\n\nSave it as `praw.ini` .\nPlace it in your local working directory.\n\nYou will also need to create a Pocket app to obtain a consumer key for your Pocket account. This can be done [here](https://getpocket.com/developer/apps/new). Give it any name, description and give all the three permissions (Add, Modify, Retrieve). Check the `Desktop (Other)` box in the platforms and click create. Copy the consumer key that you find on the next screen. It can also be found in [my apps](https://getpocket.com/developer/apps/).\n\n## Running the script\nThe first time run the script from the terminal and give your consumer key.\n```shell\n$ python reddit_pocket_sync.py --consumer YOUR_CONSUMER_KEY_HERE\n```\nIt will ask you if you wish to save your key for future use. If you choose not to save it, you will have to provide it **every single time** .\nFor future use just run the script -\n```shell\n$ python reddit_pocket_sync.py\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvihanggodbole%2Freddit-pocket-sync","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvihanggodbole%2Freddit-pocket-sync","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvihanggodbole%2Freddit-pocket-sync/lists"}