{"id":32662483,"url":"https://github.com/geezam/blueskywordpressposter","last_synced_at":"2026-05-03T11:35:43.251Z","repository":{"id":321725017,"uuid":"1085542427","full_name":"Geezam/BlueskyWordpressPoster","owner":"Geezam","description":"A Python bot that automatically fetches a random post from a specific category on your WordPress blog and shares it on Bluesky.","archived":false,"fork":false,"pushed_at":"2025-10-31T05:28:46.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-31T07:24:04.050Z","etag":null,"topics":["api","atproto","bluesky","bluesky-api","bot","python","wordpress","wordpress-api"],"latest_commit_sha":null,"homepage":"","language":"Python","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/Geezam.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-10-29T07:22:54.000Z","updated_at":"2025-10-31T05:36:05.000Z","dependencies_parsed_at":"2025-10-31T07:24:08.364Z","dependency_job_id":"5b58af6b-5c49-4b8b-9c2d-b96dd27ddc97","html_url":"https://github.com/Geezam/BlueskyWordpressPoster","commit_stats":null,"previous_names":["geezam/blueskywordpressposter"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/Geezam/BlueskyWordpressPoster","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Geezam%2FBlueskyWordpressPoster","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Geezam%2FBlueskyWordpressPoster/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Geezam%2FBlueskyWordpressPoster/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Geezam%2FBlueskyWordpressPoster/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Geezam","download_url":"https://codeload.github.com/Geezam/BlueskyWordpressPoster/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Geezam%2FBlueskyWordpressPoster/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":282049664,"owners_count":26605488,"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-10-31T02:00:07.401Z","response_time":57,"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":["api","atproto","bluesky","bluesky-api","bot","python","wordpress","wordpress-api"],"created_at":"2025-10-31T20:00:31.970Z","updated_at":"2025-10-31T20:01:44.585Z","avatar_url":"https://github.com/Geezam.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bluesky Wordpress Poster\n\nA Python bot that automatically fetches a random post from a specific category on your WordPress blog and shares it on Bluesky.\n\nThe script is designed to run on a specified schedule and post on your behalf, complete with a rich embed link card and a featured image.\n\n\n\n## Features\n\n* **Randomized Posting:** Selects a random post from the 100 most recent posts in a specified WordPress category.\n* **Anti-Repetition:** Maintains a local history file of the last x posts to ensure the same article isn't shared too frequently.\n* **Natural Timing:** Includes a random customizable startup delay to make posting times less robotic and more human-like.\n* **Content-Aware:** Fetches the main post content (not the \"excerpt\"), cleanly strips all HTML tags, and truncates it to a specified length.\n* **Guaranteed Link Card:** Generates a rich embed (link card) with a guaranteed thumbnail. It does this by downloading the post's featured image, uploading it to Bluesky as a blob, and manually attaching it to the embed.\n\n## How it Works\n\n1.  **Run:** The script is executed by a scheduler.\n2.  **Delay:** It first waits for a random/specified amount of time.\n3.  **Fetch:** It calls the WordPress REST API to get the 100 most recent posts from your chosen category, along with their embedded featured image URLs.\n4.  **Read History:** It checks a recent posts file to see the links of the last X posts.\n5.  **Select:** It shuffles the 100 posts and finds the first one that is *not* in the history.\n6.  **Embed:** It downloads the featured image for the selected post.\n7.  **Login:** It logs into Bluesky and creates the post and publishes it\n8. **Write History:** Finally, it adds the new post's link to recent posts record\n\n## License\n\nThis project is licensed under the MIT License.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeezam%2Fblueskywordpressposter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgeezam%2Fblueskywordpressposter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeezam%2Fblueskywordpressposter/lists"}