A proof-of-concept platform that automatically syncs GitHub README content to a live website using Next.js, MongoDB, API keys, and GitHub Actions.
This README is not static — every update here is pushed automatically to the deployed website.
- 🔐 Secure API-based content publishing
- 🔁 GitHub Actions → Website auto-sync
- 🧠 Server-side rendering with Next.js App Router
- 🗄️ MongoDB-backed content storage
- 📝 Markdown-to-HTML rendering
- This repository is connected to a deployed website
- A project is created on the website → an API key is generated
- The API key is stored as a GitHub Actions secret
- When this README changes:
- GitHub Action runs
- Content is sent to the website API
- Database content updates
- Website reflects changes instantly
No manual deployment required.
- Frontend: Next.js (App Router)
- Backend: Next.js API routes
- Database: MongoDB Atlas
- Auth: API Key per project
- CI/CD: GitHub Actions
- Hosting: Vercel
If you can see this section updated on the website, then:
✅ GitHub Action ran successfully
✅ API authentication worked
✅ MongoDB update succeeded
✅ Markdown rendered correctly
export async function syncContent() {
console.log("README synced successfully 🚀");
}- Auto-sync enabled
- API secured
- Database updated
- UI refreshed
“Content should update itself. Humans shouldn’t have to.”
- 🌐 Live Website: https://next-js-auto-sync-platform.vercel.app
- 📦 GitHub Repo: (this repository)
This timestamp should change every time this README is modified and synced.
Updated at: 28-12-2025 22:38 Page link: https://next-js-auto-sync-platform.vercel.app/content/nextjs-auto-sync-platform