V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
爱意满满的作品展示区。
sinux

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

  •  
  •   sinux · Aug 29, 2015 · 2946 views
    This topic created in 3900 days ago, the information mentioned may be changed or developed.
    项目地址: 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 replies    2015-08-30 01:03:40 +08:00
    blade254353074
        1
    blade254353074  
       Aug 29, 2015
    @sinux 好帅 Love
    BeginMan
        2
    BeginMan  
       Aug 29, 2015
    很不错,点赞 👍
    baocaixiong
        3
    baocaixiong  
       Aug 29, 2015
    👍
    loading
        4
    loading  
       Aug 29, 2015 via Android
    不错,博客这种写单文件就是方便!
    adrianzhang
        5
    adrianzhang  
       Aug 29, 2015
    点赞
    zonghua
        6
    zonghua  
       Aug 29, 2015
    好样的,学习学习。
    j3n5en
        7
    j3n5en  
       Aug 30, 2015 via Android
    django 的来凑个热闹
    https://j3n5en.com/
    zhicheng
        8
    zhicheng  
       Aug 30, 2015
    textarea.com 欢迎你。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2452 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 146ms · UTC 07:11 · PVG 15:11 · LAX 00:11 · JFK 03:11
    ♥ Do have faith in what you're doing.