English | 简体中文
A simple blog system based on GitHub Gist.
- Really simple
This system will fetch the watching users' gists and display them as blog posts. Please notice the gist must be public, with only one file and the filename must start with blog#
and end with .md
, file type must be text/markdown
. Text between these two parts will be treated as the blog's title.
Don't create two posts with same name at the same second!
Refer to nextjs quick start guide: https://nextjs.org/docs/app/getting-started
- Clone this repository
- Run
npm ci && npm run dev
- Set Environment Variables:
- WATCHING_USERS: A list of GitHub usernames that you want to watch.
- Custom the footer by editing
components/Footer.tsx
- Edit the metadata in the files. You can seach for 'Jawbts' and replace them
- Enjoy!