This post features the work from my friend @saadpasta
React Blog
React + Github Issues 👉 Your Personal Blog 🔥
React Blog is a pers...
For further actions, you may consider blocking this person and/or reporting abuse
Nice idea. Just a suggestion, don't put your personal access token on the repo, base64 can be decoded and it's not safe.
If not, what another way?
And since theres no scope, it is fine right? Just read only, is it?
You can put it in a .env folder and do this same project with Next.js or Express to send your env variable from a server -- if you send it on the client with 'vanilla' React it's still exposed to the browser.
That's cool idea!
To use issues as storage - very clever! :)
And free!
But it seems everyone can create issues - and thus add stuff to your personal blog? May I try?
I'm developing something similar, and what I thought for this was, that the posts shown are just ones with a specified label, so even if people create issues, they will not appear in the Blog.
Is it correct that only repo owner can assign labels? Then it's solution, yes!
UPD, it also seems that now GitHub allows limitations on who can "interact with repository" - probably this also includes issues.
Yup, definitely only owners and collaborators can add labels.
I was doing something similar man. You won me to it :P
Hey, just mentioning that your clone link seems to be pointing to the wrong place :D
https://github.com/username/react-blog-github.git
otherwise, nice project you have there :P
I really like the fonts and the overall design :)
Wow. Never thought of that. Make me wanna try it too.
Any downside to this as compared to the Jeykll way.
Any idea if we can beautify the URL?
Particularly:
And how about SEO? Would there be any issues?
Comment system? Try using Disqus
Wow that great idea!
This is great.
And how to deploy without push folder "build" on github pages?
I got it, many thanks
I suggest checking utteranc.es/ for the comments thread. It's already done for you ;)
Nice library. Do you know if there is a React CMS that works with Github Pages, something like Wordpress?