Skip to content

m4xshen/github-issue-blog

Repository files navigation

GitHub Issue Blog

Use GitHub issue as your blog.

screenshot

🌐 Example Site

Playwright Tests Vercel

✨ Features

  • 🐱 Use GitHub issues as your blog storage
  • 💬 Comment Section
  • 📝 Create / Edit / Delete posts
  • 🌓 Light / Dark theme
  • 📱 RWD
  • 🧑‍💻 Syntax Highlighting
  • ♾️ Infinite scroll at home page
  • 🔍 SEO Friendly

lighthouse

🚀 Get started

  1. Fork this repository
  2. Create a GitHub OAuth app with the callback URL: your-site-domain/auth/callback
  3. Create a personal access token.
  4. You can customize the blog with environment variables. Here's an example:
GITHUB_CLIENT_ID="your oauth app client id"
GITHUB_CLIENT_SECRET="your oauth app client secret"
GITHUB_TOKEN="your personal access token"
AUTHOR_NAME="Daniel"
BLOG_TITLE="Daniel's Blog"
BLOG_DESCRIPTION="Hi, I'm Daniel, a software engineer from Taiwan. Welcome to my blog!"
NEXT_PUBLIC_OWNER="m4xshen" (your GitHub username)
NEXT_PUBLIC_REPO="github-issue-blog" (the GitHub repository name that you want to store posts in)

If you plan to deploy your site...

  1. Deploy the site and login to start blogging!

About

Use GitHub issues as your blog.

Topics

Resources

License

Stars

Watchers

Forks

Languages