{"id":24427706,"url":"https://github.com/makerkit/nextjs-wordpress-blog-starter","last_synced_at":"2025-04-12T09:52:08.991Z","repository":{"id":237405319,"uuid":"675130272","full_name":"makerkit/nextjs-wordpress-blog-starter","owner":"makerkit","description":"A Next.js App Router minimal blog with Wordpress as a backend and a ChatGPT script to generate posts","archived":false,"fork":false,"pushed_at":"2023-08-06T08:51:02.000Z","size":101,"stargazers_count":21,"open_issues_count":2,"forks_count":6,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-12T09:51:58.395Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/makerkit.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}},"created_at":"2023-08-05T22:09:39.000Z","updated_at":"2025-03-16T18:18:46.000Z","dependencies_parsed_at":"2024-05-01T11:23:23.096Z","dependency_job_id":"2d0ad2d7-1f0b-4e5e-a8b1-81b135ef9852","html_url":"https://github.com/makerkit/nextjs-wordpress-blog-starter","commit_stats":null,"previous_names":["makerkit/nextjs-wordpress-blog-starter"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/makerkit%2Fnextjs-wordpress-blog-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/makerkit%2Fnextjs-wordpress-blog-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/makerkit%2Fnextjs-wordpress-blog-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/makerkit%2Fnextjs-wordpress-blog-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/makerkit","download_url":"https://codeload.github.com/makerkit/nextjs-wordpress-blog-starter/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248550636,"owners_count":21122932,"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":[],"created_at":"2025-01-20T12:12:35.028Z","updated_at":"2025-04-12T09:52:08.962Z","avatar_url":"https://github.com/makerkit.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Next.js Wordpress Blog Starter\n\nThis is a minimal starter template for a Next.js blog powered by \nheadless Wordpress. \n\nThis project also includes a script to generate posts with ChatGPT \nand insert them into the Wordpress database using the Wordpress REST API.\n\n## Getting Started\n\nFirst, run the development server:\n\n```bash\nnpm run dev\n# or\nyarn dev\n# or\npnpm dev\n```\n\nOpen [http://localhost:3000](http://localhost:3000) with your browser to see the result.\n\n## Run Docker\n\nTo run the Wordpress server in a Docker container, run the following command:\n\n```bash\ndocker-compose up\n```\n\nYou should now see the Wordpress site at [http://localhost:8080](http://localhost:8080).\n\n## Generate Posts\n\nTo generate posts with ChatGPT and insert them into the Wordpress database, run the following command:\n\n```bash\nnpm run generate -- \"Your post title\"\n```\n\nAssuming you have a Wordpress server running at [http://localhost:8080]\n(http://localhost:8080), you should now see the post at \n[http://localhost:8080/your-post-title]\n(http://localhost:8080/your-post-title). ChatGPT will generate a post with \nthe provided title and insert it into the database.\n\nTo tweak the prompt, update the `lib/generate-post.ts` file with your \ndesired prompt.\n\n## Learn More\n\nTo learn more about this setup, read the blog post [Building an AI-powered Blog with Next.js and WordPress](https://makerkit.dev/blog/tutorials/nextjs-wordpress-blog).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmakerkit%2Fnextjs-wordpress-blog-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmakerkit%2Fnextjs-wordpress-blog-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmakerkit%2Fnextjs-wordpress-blog-starter/lists"}