{"id":21482697,"url":"https://github.com/tim-hub/pocket2wordpress","last_synced_at":"2025-08-01T03:04:43.391Z","repository":{"id":40577811,"uuid":"282832438","full_name":"tim-hub/Pocket2Wordpress","owner":"tim-hub","description":"Integration between Pocket and CMS. Update pocket articles collection to Wordpress.","archived":false,"fork":false,"pushed_at":"2022-05-01T09:14:13.000Z","size":87,"stargazers_count":5,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-16T03:41:28.029Z","etag":null,"topics":["aws","bot","cron","github-actions","lambda","pocket","wordpress"],"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/tim-hub.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"code-of-conduct.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-07-27T08:02:07.000Z","updated_at":"2023-02-08T17:06:24.000Z","dependencies_parsed_at":"2022-08-09T23:40:32.775Z","dependency_job_id":null,"html_url":"https://github.com/tim-hub/Pocket2Wordpress","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tim-hub/Pocket2Wordpress","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tim-hub%2FPocket2Wordpress","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tim-hub%2FPocket2Wordpress/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tim-hub%2FPocket2Wordpress/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tim-hub%2FPocket2Wordpress/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tim-hub","download_url":"https://codeload.github.com/tim-hub/Pocket2Wordpress/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tim-hub%2FPocket2Wordpress/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268162340,"owners_count":24205700,"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","status":"online","status_checked_at":"2025-08-01T02:00:08.611Z","response_time":67,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["aws","bot","cron","github-actions","lambda","pocket","wordpress"],"created_at":"2024-11-23T12:35:29.965Z","updated_at":"2025-08-01T03:04:43.337Z","avatar_url":"https://github.com/tim-hub.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Deploy](https://github.com/tim-hub/Pocket2Wordpress/workflows/Deploy/badge.svg)![CI](https://github.com/tim-hub/Pocket2Wordpress/workflows/CI/badge.svg)\n\nA small personal tool to post articles from pocket to wordpress automatically.\n\n\n\n# Getting Started\n**Intergration will be [start weekly](.github/workflows/deploy.yml)**\n\n## Setup Environment Variables\n- copy [.end.default](.env.default) paste as .env\n- set up your env variables there\n    - [get pocket api key](https://getpocket.com/developer/docs/authentication)\n    - [get wp application password](https://wordpress.org/plugins/application-passwords/) not required if generate markdowns\n\n## Run Locally\n- pipenv install -d\n- pipenv run cli.py MD\n    - MD for generating markdown files  (dist folder)\n    - WP will save posts to wordpress\n\n\u003e Lambda Handler `app/app.handler` when you trigger on AWS lambda\n\n\n\n\n\n## Deploy\n\nTwo ways:\n- Lambda + CloudWatch\n- Github action cron job\n\n\n\n# About\n\nThis project is inspired by [Mabbs](https://github.com/Mabbs/MayxDaily) \n1. He/She used a PHP script to fetch content from API\n    - save content as markdown\n    - public to github page\n2. Travis CI to trigger the script automatically\n\n\n## Pocket2Wordpress\n\n![](https://raw.githubusercontent.com/tim-hub/picgo-pictures-sample2/master/public/images20200728211825.png)\n\n1. Instead of PHP script, Python is used here for \n    - fetch [content from Pocket](https://getpocket.com/developer/)\n    - format content and render them to HTML in string\n    - post them to wordpress blog ( [Authentication Plugin is required](https://developer.wordpress.org/rest-api/using-the-rest-api/authentication/) on wordpress side )\n2. travis =\u003e Github action, which is doing the same job\n    - and Lambda+Cloud Watch Cron can be used here too\n3. post post content to wordpress\n\n\n\n## Development\n- [AWS SAM AWS Lambda Function get started/contributing](./CONTRIBUTING.md)\n- [License](./LICENSE)\n\n### todo weekly\n- [ ] split read and unread\n- [x] enable flake8 and clean up\n- [ ] add bing daily image\n- [ ] support hacker news api too\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftim-hub%2Fpocket2wordpress","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftim-hub%2Fpocket2wordpress","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftim-hub%2Fpocket2wordpress/lists"}