Github based blog

HOW TO USE

How to use GitHub Gist Blog?

1

Clone the repo

First, clone the repo to your local machine. You can do this by running the following command in your terminal: git clone https://github.com/nurcinozer/gist-blog.git

2

Install dependencies

Next, install the dependencies by running the following command in your terminal: npm install

3

Add your GitHub token

Then, add your GitHub token to the .env file. You can get your GitHub token from here: https://github.com/settings/tokens You need to add required scopes to your token.

4

Change GitHub username

Change github username in the utils/service.ts file.

5

Run the app

Run the app by running the following command in your terminal: npm run dev

6

Open the app

Open the app by running the following command in your terminal: http://localhost:3000

7

Add your blog posts

You can add your blog posts by creating a markdown extension file in gist. You can add metadata to your gist by adding YAML front matter to your gist. You can see the example gist here: https://bit.ly/3Rlk0e1

8

Yay! Your blog posts are ready to go! 🥳

Github based blog

© 2022 GistBlog —@nurcinozer