TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: What are good blogging platforms for programmers?

59 点作者 hhimanshu将近 11 年前
I have been thinking to write blogs for what I learn during weekends.<p>I am looking for blogging platforms where I can share what I learn, share code snippets.<p>Please share your advices on what tools to use<p>Thank you

34 条评论

minimaxir将近 11 年前
Using Jekyll (w&#x2F; a good theme) + GitHub Pages is more than sufficient. More importantly, it&#x27;s free, fast, and can handle large amounts of traffic, such as the front page of Hacker News.<p>A year ago, I used Wordpress on shared hosting, then my service was terminated once I hit the front page of HN (~300 concurrent users). I&#x27;ve been using Jekyll + GitHub Pages since, and I&#x27;ve had no issues whatsoever, aside from the occasional GitHub outages.
评论 #8070159 未加载
评论 #8070358 未加载
评论 #8072451 未加载
评论 #8072155 未加载
评论 #8070409 未加载
评论 #8070485 未加载
评论 #8070313 未加载
评论 #8070498 未加载
swah将近 11 年前
TIL we are all now mature and educated in the perils of the Not Invented Here syndrome so nobody will be telling you to <i>go write your own</i>.<p>(and this makes me sad)
评论 #8072511 未加载
评论 #8070526 未加载
评论 #8070399 未加载
评论 #8070980 未加载
评论 #8070643 未加载
billmalarky将近 11 年前
Is everyone shying away from wordpress for security reasons? I like the simplicity of wordpress, but in the back of my mind I am concerned that one day I&#x27;ll visit my site and it will have viagra ads all over it. It would be less of a concern if I blogged daily, but I go to it rarely enough that it could be hosting malware (and making me look like an idiot) for quite a while before I realized it.
评论 #8071202 未加载
评论 #8070611 未加载
评论 #8072552 未加载
评论 #8070636 未加载
评论 #8070681 未加载
yummyfajitas将近 11 年前
I use Pelican (roughly the Python version of Jekyll, a successor to Hyde). I just write markdown in emacs, publish and it&#x27;s good to go. Everything is stored in git.<p>See the pelican folder here for code examples - feel free to steal the theme, just write your own content.<p><a href="https://github.com/stucchio/Homepage" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;stucchio&#x2F;Homepage</a>
评论 #8070579 未加载
JelteF将近 11 年前
You should try Ghost. I&#x27;ve had a good experiences with it. It still has some quirks though like mobile editing (viewing works fine). But it&#x27;s officially still in beta so that is to be expected.<p>It uses markdown, has lots of themes (some paid, some free, some OSS), you can host it yourself.<p><a href="https://ghost.org/" rel="nofollow">https:&#x2F;&#x2F;ghost.org&#x2F;</a>
评论 #8070287 未加载
jordanlev将近 11 年前
If you wind up going with a static site generator (like Jekyll, for example), one thing to watch out for which I experienced on my own technical blog is that if you want comments functionality then your only realistic choice is Disqus... and Disqus is absolutely horrible for comments on technical blogs because it does not allow code snippets! It used to (a few years ago), and then they changed it... now I have to create a pastie or gist for every little piece of code I want to put in a comment response... very annoying.<p>Not a dealbreaker, just something to be aware of. (And if anyone knows of other embeddable comment systems that can be used on static sites, I&#x27;d love to hear about them!)
评论 #8070610 未加载
评论 #8070573 未加载
评论 #8070435 未加载
logn将近 11 年前
HTML is built for making documents and a blog seems like a perfect case when you should just open up a text editor and write some HTML. That&#x27;s how I started my own blog recently. Then I switched to ghost.io. It&#x27;s a nice platform, but I might go back to hand writing it.<p>To do code snippets, try the &lt;code&gt; or &lt;pre&gt; tags.<p>I suppose if you want a full commenting system, then a platform makes sense. However, on low-traffic blogs I think the comments (or rather, lack thereof) make it seem like someone&#x27;s talking to an empty room.
评论 #8084146 未加载
oddevan将近 11 年前
I definitely recommend deploying static pages (either GitHub pages as people have mentioned or a static website through Amazon S3&#x2F;CloudFront). Personally, I use Ghost and Hipstadeploy:<p><a href="http://ghost.org/" rel="nofollow">http:&#x2F;&#x2F;ghost.org&#x2F;</a> <a href="https://github.com/proudlygeek/hipstadeploy" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;proudlygeek&#x2F;hipstadeploy</a><p>And demo: <a href="http://www.oddevan.com/" rel="nofollow">http:&#x2F;&#x2F;www.oddevan.com&#x2F;</a>
评论 #8070317 未加载
brianbarker将近 11 年前
You can share snippets on any platform using either github snippets or an html&#x2F;js code formatter like <a href="https://code.google.com/p/google-code-prettify/downloads/list" rel="nofollow">https:&#x2F;&#x2F;code.google.com&#x2F;p&#x2F;google-code-prettify&#x2F;downloads&#x2F;lis...</a>.<p>Rather than host your own, I prefer just going with tumblr or something slick. I do like tumblr for its social connectedness, easy sharing and liking. Whatever floats your boat, though.
lrichardson将近 11 年前
Depending on whether by &quot;platform&quot; you mean the actual software package or not, I will throw <a href="http://tech.pro" rel="nofollow">http:&#x2F;&#x2F;tech.pro</a> into the mix. (Full disclosure: I am the founder)<p>Tech.pro is a blogging platform &#x2F; professional network catered only to the tech world (primarily software development).<p>Our editor is markdown-based and handles code snippets etc. quite well in addition to having support for embedded frame sites such as jsfiddle&#x2F;codepen&#x2F;sqlfiddle&#x2F;etc.<p>Although you&#x27;re writing on the TP platform, you still retain full ownership of your data. You can even download a neatly organized archive of all your blogs (and revisions) in both Markdown and html format at any time.<p>My Blog: <a href="http://tech.pro/leland/blog" rel="nofollow">http:&#x2F;&#x2F;tech.pro&#x2F;leland&#x2F;blog</a> My Profile: <a href="http://tech.pro/leland" rel="nofollow">http:&#x2F;&#x2F;tech.pro&#x2F;leland</a>
austinl将近 11 年前
Here&#x27;s a list of resources, mentioned in this thread and elsewhere. Some of these are better at sharing code snippets than others, but you might find the features of the platform more enjoyable.<p>- Jekyll + GitHub Pages (<a href="https://help.github.com/articles/using-jekyll-with-pages" rel="nofollow">https:&#x2F;&#x2F;help.github.com&#x2F;articles&#x2F;using-jekyll-with-pages</a>)<p>- Octopress&#x2F;Jekyll + GitHub Pages (<a href="http://octopress.org/" rel="nofollow">http:&#x2F;&#x2F;octopress.org&#x2F;</a>)<p>- Svbtle (<a href="https://svbtle.com/" rel="nofollow">https:&#x2F;&#x2F;svbtle.com&#x2F;</a>)<p>- Medium (<a href="https://medium.com/" rel="nofollow">https:&#x2F;&#x2F;medium.com&#x2F;</a>)<p>- Ghost (<a href="https://ghost.org/" rel="nofollow">https:&#x2F;&#x2F;ghost.org&#x2F;</a>)
评论 #8070568 未加载
评论 #8071436 未加载
kazinator将近 11 年前
I&#x27;m interested in this too, in particular answers which assume that:<p>* I already have a server running under my desk, running Apache, and a git repo web-served via CGIT, where I can store any serious code snippets that require versioning. So I&#x27;m not interested in anything that uses third party hosting.<p>* I&#x27;m the only blogger: no multi-user capabilities needed.<p>* The publishing side doesn&#x27;t even have to be web-based; the minimal requirements are that I can log in to a shell account and post a blog by creating a text file and running some command. This then updates the page nicely, including the RSS feed and whatnot.<p>* No user comment feature required; it&#x27;s okay if users mail-in comments, and there is a way to publish selections from the mailbag.
sharmi将近 11 年前
I second what programminggeek says. What is important is you write.<p>That said, I use the static site generator mynt. Host the generated website on digitalocean droplet behind an nginx server.<p>If you want to go the static site route and want to try all the options that you like, (and lets be honest, that is a big part of the fun setting up a blog) here are some aggregated lists<p><a href="http://staticsitegenerators.net/" rel="nofollow">http:&#x2F;&#x2F;staticsitegenerators.net&#x2F;</a><p><a href="https://www.staticgen.com/" rel="nofollow">https:&#x2F;&#x2F;www.staticgen.com&#x2F;</a><p><a href="https://wiki.python.org/moin/StaticSiteGenerator" rel="nofollow">https:&#x2F;&#x2F;wiki.python.org&#x2F;moin&#x2F;StaticSiteGenerator</a>
medwezys将近 11 年前
<a href="http://svbtle.com" rel="nofollow">http:&#x2F;&#x2F;svbtle.com</a> is nice. You can use GitHub flavoured markdown. The code highlighting is not ideal, but other than that it&#x27;s a very nice platform.
评论 #8072164 未加载
mostlybadfly将近 11 年前
If you&#x27;re saying programmer I&#x27;m assuming there is already this level of experience, but I went ahead and made my own blog set up. This was mostly really to learn Rails. Even though I am mostly doing strictly Ruby stuff at the moment, I hear of or see features I want to add to the blog so little by little I pick up more rails techniques.<p>For just having something already set to focus on your writing, I really like what I&#x27;ve seen from Jekyll, I don&#x27;t have a need yet but I&#x27;m definitely keeping it in mind for future projects.
growlybeard将近 11 年前
Hi there! I&#x27;m in the early stages of building a blogging platform just for programmers. My main criteria was ease-of-use and that it support code-highlighting out of the box. You can check out what I have so far at www.progblog.io. I must warn you, that it is NOT a mature app at all, and I wouldn&#x27;t even call it alpha. I will be releasing (and announcing) something here on HN in about 2 or 3 weeks, with a much nicer design (similar to Medium in its simplicity) and a more natural workflow than what exists today.
Deusdies将近 11 年前
I was using Nikola for some time, but Github Pages + Jekyll is a good alternative. Though I am currently using WordPress (not that anyone is visiting it), I think I may look into Ghost.
datamoshr将近 11 年前
I am partial to Ghost (<a href="https://ghost.org/" rel="nofollow">https:&#x2F;&#x2F;ghost.org&#x2F;</a>). It&#x27;s a super easy platform to use. You can host it yourself or get paid hosting. Also it&#x27;s open-source so you can contribute to it&#x27;s development which is something that you can also learn on. Default theme supports code-snippets out-of-the-box too.
arikrak将近 11 年前
You can install Wordpress for free and easily on OpenShift. Setup some simple caching (or even just cloudflare) and it will be able to handle basically any amount of traffic. Install a plugin to display code nicely, or embed the code from elsewhere.<p>(for more tips, see my kickstarter project: <a href="http://kck.st/1sYmezD" rel="nofollow">http:&#x2F;&#x2F;kck.st&#x2F;1sYmezD</a> )
laacz将近 11 年前
I know it&#x27;s already too late, but recently CodePen announced their blogging platform [1] which is nicely integrated with their base service - sharing of code snippets.<p>[1] <a href="http://blog.codepen.io/2014/06/19/can-write-blog-posts-codepen-now/" rel="nofollow">http:&#x2F;&#x2F;blog.codepen.io&#x2F;2014&#x2F;06&#x2F;19&#x2F;can-write-blog-posts-codep...</a>
s992将近 11 年前
I use Octopress on GH pages. Switched from a full blown CMS and haven&#x27;t looked back - it works great for me.
saj1th将近 11 年前
Hugo lacks a couple of features that are present in Octopress or Jekyll but is much more performant.<p>Hosting Hugo blog on GitHub Pages ~ <a href="http://hugo.spf13.com/tutorials/github_pages_blog" rel="nofollow">http:&#x2F;&#x2F;hugo.spf13.com&#x2F;tutorials&#x2F;github_pages_blog</a>
motyar将近 11 年前
Github pages + Perl + shell script. Check mine <a href="https://github.com/motyar/motyar.github.com/blob/master/14/update" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;motyar&#x2F;motyar.github.com&#x2F;blob&#x2F;master&#x2F;14&#x2F;u...</a>
jason_slack将近 11 年前
I&#x27;m using MDWiki (<a href="http://dynalon.github.io/mdwiki/#!index.md" rel="nofollow">http:&#x2F;&#x2F;dynalon.github.io&#x2F;mdwiki&#x2F;#!index.md</a>) since I am spending a lot of time in Markdown anyway. Easy to scp articles up to my VPS.
wirrbel将近 11 年前
I really like python-based <a href="http://tinkerer.me/" rel="nofollow">http:&#x2F;&#x2F;tinkerer.me&#x2F;</a><p>It uses Sphinx markup which is great for embedding source code snippets and extending the blog with own extensions or pre-built ones.
quotient将近 11 年前
Honestly, I would just write my own HTML&#x2F;CSS and buy hosting on a server somewhere. This is cheap, and gives you a great deal of control, while also honing your web development skills. (And doing it yourself feels good!)
评论 #8072150 未加载
评论 #8073460 未加载
eddie_31003将近 11 年前
+1 for Github Pages and Jekyll. I used a Bootstrap theme that I tweaked a bit.
sergiotapia将近 11 年前
I use Ghost on ASmallOrange. I have the tiny yearly package.<p>I wrote my posts using Markdown and done with it. Pretty simple.<p><a href="http://sergiotapia.me/" rel="nofollow">http:&#x2F;&#x2F;sergiotapia.me&#x2F;</a>
berzniz将近 11 年前
Tumblr. You could have your blog up within 10 minutes
programminggeek将近 11 年前
It doesn&#x27;t matter what tool you use. Write things, share with people.<p>Platform isn&#x27;t important. You can do what you are trying to do on ANY platform.
评论 #8073188 未加载
tortoises将近 11 年前
I like to grab 100s of pieces of unattended plywood &amp; two-by-fours from a junkyard or not-too-dilapidated forest horror cabin or something and drag them back to my house. Then I assemble them using hammer &amp; nails, or I climb up a tree and nail them across some branches. You will need a hotspot for wifi &amp; a tarp to protect u &amp; ur laptop in case of rain while u are sitting up there.<p>Some hip ppl might try to use a makerbot or w&#x2F;e but to get any kind of height on the platform u will need a LOT of plastic.
jMyles将近 11 年前
Mezzanine (Django blogging platform) with Pygments for code samples. Not a bad choice.
blooberr将近 11 年前
Ghost was super easy to setup on digital ocean (pretty much one-click install)
duiker101将近 11 年前
I am not sure it&#x27;s really what you need but coderwall.com is nice
评论 #8070557 未加载