NanoBlogger: Unix命令行打造的Blog引擎

NanoBlogger是一款使用Bash编写的Blog引擎。它的特点如下:

  • 模块化代码,高度可定制性和扩展性,汉化也很简单。
  • 支持多个博客。有全局(nb.conf)和博客(blog.conf)配置。
  • 生成静态页面,不需要服务器端脚本,也不需要数据库。
  • 其他博客的常见功能都有,如日历、分类、atom、rss feed。没有评论和trackback功能,但是通过修改模板,可以使用其他网站提供的服务,例如它的官方网站就使用了HaloScan的服务。
  • 可以使用自己喜欢的编辑器来写作,例如vim,你可以制作模板,利用快捷键跳转。
  • 文件格式可以是raw (html)、markdown等。理论上你可以使用任何标记语言来编写,例如txt2tags,只要它能转换成html。编写对应插件也是非常简单,看看自带的markdown.sh就知道了。注意entry和page的插件不是完全一样。
  • 因为使用了bash、cat、sed和grep,速度较慢。虽然号称增量更新,但是文章多了之后,速度会非常慢。我的用法是使用模板在特定目录(data或者articles)下进行写作,使用cron来每天定时强制更新和上传。
NanoBlogger (可能需要翻墙)

Read More:

  • » No related posts

17 Comments

  1. 1 oldrev Commented @ 2008-07-29 0:40Reply to this comment

    人能变态到这个程度也算行为艺术了

  2. 2 Zer4tul Commented @ 2008-07-29 1:47Reply to this comment
    • www-apps/nanoblogger Available versions: 3.2.3 ~3.3 {bash-completion} Homepage: http://nanoblogger.sourceforge.net/ Description: Small and simple weblog engine written in Bash for the command-line

    gentoo portage居然有,太好了

  3. 3 shellex Commented @ 2008-07-29 6:04Reply to this comment

    @oldrev 人有多大胆,地有多高产

  4. 4 Yauzz Commented @ 2008-07-29 6:18Reply to this comment

    不错 想法很好

  5. 5 Toy Commented @ 2008-07-29 7:49Reply to this comment

    很有意思的东西。

  6. 6 食古不化 Commented @ 2008-07-29 8:14Reply to this comment

    bash无所不能~~我再推荐一个:http://todotxt.com/library/todo.sh

  7. 7 xiws Commented @ 2008-07-29 8:19Reply to this comment

    有意思。。 不过来得迟了点。。

    前天才在自己机子上架了LMP。。 上了wordpress。。

  8. 8 Somebody Commented @ 2008-07-29 10:24Reply to this comment

    不需要翻墙啦~

  9. 9 恶臭的 Commented @ 2008-07-29 10:53Reply to this comment

    用用看,

  10. 10 恶臭的 Commented @ 2008-07-29 10:53Reply to this comment

    以前用的是blogsxom

  11. 11 somebody(莫多) Commented @ 2008-07-29 13:18Reply to this comment

    @Somebody

    是啊。现在可以不翻墙了。

    真是有意思。

  12. 12 hongewuyan Commented @ 2008-07-29 14:20Reply to this comment

    bash居然都能搞blog。。。。想象力已经溢出了。。。

  13. 13 lwl Commented @ 2008-07-29 17:04Reply to this comment

    @食古不化 todotxt正是我今晚要写的. 你有什么好的用法, 也可以写出来阿.

    另外ubunt源里面也有, 不过我还是建议下载到自己目录里面, 例如~/bin. 因为这类程序可以说是免安装. 也没有什么依赖的库, 万一下次重装系统, 只要把你的home目录挂上去,就直接可以用了.

    另外存在自己目录的好处是, 要做修改都不需root权限.

  14. 14 fcicq Commented @ 2008-07-29 23:24Reply to this comment

    印象中还有 awk 写的 cgi blog...

  15. 15 希罗 Commented @ 2008-07-30 15:41Reply to this comment

    因为是不需要服务器端脚本, 所以,写博客只有在自己的机器里写好,更新再上传了! 虽然比较BT,不过对于大多数人来说,这点并不好啊! 我不是反对他,只是博客的话是有点那个,todo还可以

  16. 16 Xorcerer Commented @ 2008-09-23 16:28Reply to this comment

    这种东西大家就不要太认真地考虑实用性了。 我是12分佩服作者的技术,并觉得这样的作品多几个绝对是好事。 兴趣是进步的动力之一。

  17. 17 mobedu Commented @ 2008-09-25 15:39Reply to this comment

    找了半天没找到那里修改使用ee来编辑