This repository contains a private blog with auto-approval for user-submitted posts.
- Home Page (
index.html): Displays a feed of posts from_posts/. - Submit Page (
submit.html): Users can submit posts with title, content, and images. Posts are auto-published after reCAPTCHA verification.
- Deploy to Vercel and set environment variables:
GITHUB_OWNER: BenLewis42GITHUB_REPO: BenLewis42.github.ioGITHUB_BRANCH: mainGITHUB_TOKEN: Your GitHub PAT withrepopermissionsRECAPTCHA_SECRET_KEY: Your reCAPTCHA secret key
- Update
config.jsonwith your details. - Users visit
submit.htmlto post.
- Private site: Only authorized users can access.
- reCAPTCHA prevents spam.
- PAT is stored securely in Vercel env vars.