A super small blog repo. xxxx You can use github's issuse to present your blog posts in real time without having to repackage them online. Each of your blogs is visible in real time, and suppurt gitalk and mermaid, other users can comment and like at any time.
Demo:
my server taontech.top
github pages taontech.github.io
clone all code to your webserver root
git clone https://github.com/taontech/githublog.git your-webserver-path
fork this repo.
modify config.json file
"127.0.0.1":{
"owner" : "your Github count name",
"repo" : "your repo which hold the issuses",
"clientId" : "github client id",
"clientSecret" : "github clentSecret"
"theme":"default"
}
Note:: When you add the Oauth App to obtain the required secretkey, you need to add the correct domain name, which is the domain name that will eventually provide the webservice.
Example:
"tech.top" :{
"owner" : "taontech",
"repo" : "githublog",
"clientId" : "16a063cf308dce2e4ac0",
"clientSecret" : "ca53b8ba928064a6ff64ef1fde762196625ef90a"
"theme":"forest"
}
⚠️Attation: Your application’s callback URL. Read OAuth documentation for more information.
Enjoy!