{"id":24389928,"url":"https://github.com/joshsizer/blogposts-generator","last_synced_at":"2026-04-15T14:38:57.776Z","repository":{"id":177732616,"uuid":"657382499","full_name":"joshsizer/blogposts-generator","owner":"joshsizer","description":"Uses ChatGPT to generate blogposts on trending topics","archived":false,"fork":false,"pushed_at":"2025-05-06T14:24:38.000Z","size":26,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-28T01:50:47.845Z","etag":null,"topics":["blogging","chatgpt","trending-topics"],"latest_commit_sha":null,"homepage":"https://josh.sizer.dev","language":"TypeScript","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/joshsizer.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-06-23T00:15:10.000Z","updated_at":"2025-05-06T14:24:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"e70922c8-387b-4759-897c-e9a3673f2741","html_url":"https://github.com/joshsizer/blogposts-generator","commit_stats":null,"previous_names":["joshsizer/blogposts-generator"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/joshsizer/blogposts-generator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshsizer%2Fblogposts-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshsizer%2Fblogposts-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshsizer%2Fblogposts-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshsizer%2Fblogposts-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joshsizer","download_url":"https://codeload.github.com/joshsizer/blogposts-generator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshsizer%2Fblogposts-generator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31846417,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T13:28:40.153Z","status":"ssl_error","status_checked_at":"2026-04-15T13:28:29.396Z","response_time":63,"last_error":"SSL_read: 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":["blogging","chatgpt","trending-topics"],"created_at":"2025-01-19T15:54:50.138Z","updated_at":"2026-04-15T14:38:57.767Z","avatar_url":"https://github.com/joshsizer.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Blogposts Generator\n\nThis is a script that generates a markdown formatted post written in the style of\na blog. It writes about a trending topic scraped from [Google Trends](https://trends.google.com/trends/trendingsearches/daily?geo=US\u0026hl=en-US).\n\n## How\n\nThe script works by scraping the Google Trends website using [Playwright](https://playwright.dev).\nAfter it finds the today's trending topic, the script calls out to the [OpenAI API](https://platform.openai.com/docs/introduction),\nprompting ChatGPT to generate a markdown formatted blogpost. Finally, it uploads\nthe generated blogpost to an instance of [Ghost](https://ghost.org)\nvia the Ghost Admin API.\n\n## Deployment\n\nThis script is intented to be run as a Kubernetes Cron Job. You can find that job\n[here](https://github.com/joshsizer/flux-root/blob/d08e01348773f15bbc10fcbaa4b51314920c5d10/linode/ystonedev/us-east/green/tenants/blogposts-generator.yaml).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoshsizer%2Fblogposts-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoshsizer%2Fblogposts-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoshsizer%2Fblogposts-generator/lists"}