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

开源了一个 GO 写的 CS 模式的博客

  •  
  •   mebiusashan ·
    mebiusashan · 2021-01-05 14:50:19 +08:00 · 2225 次点击
    这是一个创建于 1199 天前的主题,其中的信息可能已经有所发展或是发生改变。

    写博客一直是在本地写完后打开博客后台,然后粘贴,发布。想来操作有点麻烦。干脆去掉了后台,弄了个客户端,用命令的方式将写的文章推送到博客中。

    博客的管理也采用命令的方式,这样就省事多了。

    开源项目地址: https://beaker.ashan.org

    12 条回复    2021-01-06 16:31:05 +08:00
    lscexpress
        1
    lscexpress  
       2021-01-05 14:57:13 +08:00   ❤️ 1
    很极客,但预测用户群体很少
    ppxpps
        2
    ppxpps  
       2021-01-05 16:24:32 +08:00   ❤️ 1
    感觉有点像 hexo
    liuxey
        3
    liuxey  
       2021-01-05 16:39:09 +08:00
    有整合 TUI 之类的框架吗,直接在终端 beaker add "Markdown text" 要我死,或者说先用编辑器( VIM )编辑好 post.md 然后 beaker add post.md

    上面的疑问希望在 README 里写的详细一点,还有我觉得楼主的 README 更偏向于 Quick Start 而不是 README,不知道有没有理解我意思
    mebiusashan
        4
    mebiusashan  
    OP
       2021-01-05 16:41:30 +08:00
    @ppxpps hero 是静态网站,beaker 不是,客户端 CLI 只是把文章推送到服务器
    mebiusashan
        5
    mebiusashan  
    OP
       2021-01-05 16:42:28 +08:00
    @liuxey 早先的版本使用了 TUI,后来移除了。使用就是先用 VIM 编辑一个 MD 文件,然后 beaker add post.md 这种方式
    liuxey
        6
    liuxey  
       2021-01-05 16:46:40 +08:00
    @mebiusashan #5 好吧,那修改的问题怎么处理呢?

    beaker modify 101 然后产生一个 temp.md ,VIM 编辑了继续推上去?

    之前我也想过类似的东西,但苦于无法优雅的 CRUD 就罢了
    mebiusashan
        7
    mebiusashan  
    OP
       2021-01-05 16:49:15 +08:00
    @lscexpress 是的,一开始只是自己在用
    mebiusashan
        8
    mebiusashan  
    OP
       2021-01-05 16:50:17 +08:00
    @liuxey 对的,先将内容 down 到本地,然后使用 vim 编辑,完成后,将新内容推上去
    liuxey
        9
    liuxey  
       2021-01-05 16:54:27 +08:00
    精神可嘉,但此类东西真的是属于“没用”,还不如直接用 git 呢

    抱歉说了这样的话
    mebiusashan
        10
    mebiusashan  
    OP
       2021-01-05 16:56:43 +08:00
    @liuxey 就是闲的时候,总想着鼓捣点啥,也不知道鼓捣啥好,哈哈哈哈
    spacebound
        11
    spacebound  
       2021-01-06 09:29:44 +08:00
    支持一下!我就说怎么看着有点眼熟,之前看到过楼主的博客开源
    mebiusashan
        12
    mebiusashan  
    OP
       2021-01-06 16:31:05 +08:00
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   4219 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 10:14 · PVG 18:14 · LAX 03:14 · JFK 06:14
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.