V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
爱意满满的作品展示区。
sinux
V2EX  ›  分享创造

[tears] 一个基于 bottle 和 mongoDB 的 blog engine.

  •  
  •   sinux · 2015-08-29 19:27:11 +08:00 · 2275 次点击
    这是一个创建于 3184 天前的主题,其中的信息可能已经有所发展或是发生改变。
    项目地址: https://github.com/shnode/tears

    DEMO 地址: http://sinux.cc

    tears 使用 bottle 作为后端框架,在后端保持和继承了 bottle 单文件的简洁,实际上整体也是极简风格。

    使用 markdown 书写博客,并且配合 post_engine ,将全部 markdown file 存入 mongoDB ,并在每次加载页面时进行查询、渲染和代码高亮。

    前端:

    使用 bootstrap ,在移动端也有不错的表现。

    风格:

    前端的布局借鉴了 next ,用 hexo 的人一定会看出 hexo-next-theme 的影子。

    TODO :

    补上单元测试和缓存机制,并且考虑更换字体以加快访问速度。
    8 条回复    2015-08-30 01:03:40 +08:00
    blade254353074
        1
    blade254353074  
       2015-08-29 19:29:50 +08:00
    @sinux 好帅 Love
    BeginMan
        2
    BeginMan  
       2015-08-29 20:01:56 +08:00
    很不错,点赞 👍
    baocaixiong
        3
    baocaixiong  
       2015-08-29 20:22:30 +08:00
    👍
    loading
        4
    loading  
       2015-08-29 20:38:21 +08:00 via Android
    不错,博客这种写单文件就是方便!
    adrianzhang
        5
    adrianzhang  
       2015-08-29 21:11:10 +08:00
    点赞
    zonghua
        6
    zonghua  
       2015-08-29 21:57:08 +08:00
    好样的,学习学习。
    j3n5en
        7
    j3n5en  
       2015-08-30 00:11:07 +08:00 via Android
    django 的来凑个热闹
    https://j3n5en.com/
    zhicheng
        8
    zhicheng  
       2015-08-30 01:03:40 +08:00
    textarea.com 欢迎你。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   907 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 21:06 · PVG 05:06 · LAX 14:06 · JFK 17:06
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.