Re:Show HN: How I put together a lightweight blog in a few h...
by bbrennan on Wednesday September 30, 2015 @10:15AM
(#10304094)
Hahaha thanks guys, great way to wake up in the morning.
I'd thought my markdown parser was stripping <script> tags...turns out I was wrong. Probably should have tested.
Fortunately, it took about 30 seconds to find and delete the malicious comments using GitHub...point for GitBack. A quick fix is in place with a better one on the way.
Next post: How I got hacked by hacker news
Update: markdown is now sanitized. Malicious comments restored for posterity
Re:Show HN: How I put together a lightweight blog in a few h...
by fiatjaf on Tuesday September 29, 2015 @07:40PM
(#10300663)
It's cool that you made an experiment here, but I wanted to say that whenever I see people hosting blogs with expensive software (NodeJS with Express, or a PHP CMS, or other complete stack) I think it will be complicated to host those things forever, so probably the content will vanish some time in the near future. This could apply to experimental setups also, but perhaps experimental people are totally different from people that use the same tools for all kinds of jobs and will perhaps be able to migrate their data from the experimental tools if they prove to not be as good as first imagined.
Re:Show HN: How I put together a lightweight blog in a few h...
by bbrennan on Tuesday September 29, 2015 @10:34PM
(#10301372)
Curious what you mean by "expensive"...are you talking about monetary or maintenance cost?
I keep a cheap bottom-tier ec2 instance alive to run my website, stand up demos, etc. Keeping a node instance alive is pretty easy, and one of the reasons I used GitBack was so I wouldn't have to stand up a MongoDB instance...the content just lives with the code on GitHub.
Given that all my content lives in Markdown files, I'm not too afraid of migrating to GitHub pages, Medium.com, etc
Re:Show HN: How I put together a lightweight blog in a few h...
by fiatjaf on Tuesday September 29, 2015 @07:43PM
(#10300684)
Totally forgot about my own experiment: I created this GitHub-based (somewhat similar to GitBack) blogging platform: https://github.com/fiatjaf/coisas and started my blog and my girlfriend's on it.
The development of the tool proved to be complicated and I wouldn't be able to maintain it, but I have managed to migrate my blog to Jekyll and my girlfriend's to https://websitesfortrello.com/, keeping content and URLs.
Re:Show HN: How I put together a lightweight blog in a few h...
by wheresvic1 on Wednesday September 30, 2015 @08:35AM
(#10303415)
Pretty cool idea to use git-back! However I can recommend React for your MV* framework and I guess you can use disqus for your comments and save yourself from comment spam on your github repo!
Re:Show HN: How I put together a lightweight blog in a few h...
by timdavila on Wednesday September 30, 2015 @04:23PM
(#10306865)
I'd add an RSS feed at a minimum, and probably email/twitter notifications as well.
I'm not going to check your blog daily, but I would add you to my feed reader.
Might wanna spend more than a few hours.
I'd thought my markdown parser was stripping <script> tags...turns out I was wrong. Probably should have tested.
Fortunately, it took about 30 seconds to find and delete the malicious comments using GitHub...point for GitBack. A quick fix is in place with a better one on the way.
Next post: How I got hacked by hacker news
Update: markdown is now sanitized. Malicious comments restored for posterity
Sorry about that.
I keep a cheap bottom-tier ec2 instance alive to run my website, stand up demos, etc. Keeping a node instance alive is pretty easy, and one of the reasons I used GitBack was so I wouldn't have to stand up a MongoDB instance...the content just lives with the code on GitHub.
Given that all my content lives in Markdown files, I'm not too afraid of migrating to GitHub pages, Medium.com, etc
It is much cheaper to host a static site, that's why GitHub offers it for free.
The development of the tool proved to be complicated and I wouldn't be able to maintain it, but I have managed to migrate my blog to Jekyll and my girlfriend's to https://websitesfortrello.com/, keeping content and URLs.
Thanks to me, the internet is a better place.
You can stop clapping now.
http://bbrennan.info/blog/rss