ijd8.COM

A simple blog for an old Ma Nong.

一款 Octopress 主题的独立 blog 程序

Permalink1

第一次看到 Octocpress 的主题就喜欢上,但是不喜欢 git push 的方式,再说 github 空间在国内反应很慢,偶尔还抽风,于是做这一款博客。

版本说明

最初版本可运行在 BAE 或其它 python 平台上,后来迁移到 GAE 上。没想到多(7)年后又折腾不止,重新用 Golang 写,可运行在独立 VPS 环境上,顺便加强了后台功能。

截屏2021-01-26 下午11.25.38

原来的旧版本:

本程序用 python 编写,web 框架是 tornado,数据库是 mysql,使用 markitup 编辑器,支持 markdown 编写,支持预览,代码高亮用 pygments 实现。

新版本:

  • Golang + bolt
  • 后端做代码高亮处理

顺便做代码高亮测试:

Python: python code test
1
print "Octopress for python & BAE"

Go: Hello
1
2
3
4
5
6
7
8
9
package main

import (
	"fmt"
)

func main() {
	fmt.Println("Hello, playground")
}

用户隐私说明

本站除了第三方统计脚本或广告投放,可能会有相关 Cookies 信息记录,网站本身不会对用户的行为进行记录跟踪。

Comments

There are 1 Comments to "一款 Octopress 主题的独立 blog 程序"

1 简单猪 says:
回复

2021 新版已用 Golang 编写,功能更强大,7 年后重写的一个程序该有哪些期待? https://ijd8.com/t/41

Write a Comment

Submit Comment Login
Based on Golang + fastHTTP + sdb | go1.16.7 Processed in 0ms