爱意满满的作品展示区。
Thecosy

github 上找了个基于语雀 api 和 go 语言开发的技术博客

  •  
  •   Thecosy ·
    Thecosy · Jan 6, 2023 · 4126 views
    This topic created in 1411 days ago, the information mentioned may be changed or developed.

    这个项目是在我语雀写了很多内容之后想放在网上找的,省心之处在于自动更新,无感增加新内容。只需做好本地就行。

    感觉很不错 fork 了下来改了改版,对窗口增添了移动功能和命令行。

    现在分享给大家

    演示: https://tech.snym.cn

    github: https://github.com/Thecosy/yueque-blog

    截屏 2023-01-06 20.09.13.jpg

    12 replies  •  2023-01-07 00:29:07 +08:00
    Thecosy
    Thecosy
    OP
    Jan 6, 2023
    1
    因为自己是 mac 所以拖动窗口感觉 safari 浏览器不如 chrome 和火狐流畅,不知道怎么回事
    SenLief
    SenLief
    Jan 6, 2023
    2
    反正都用 go 了,直接用 hugo 渲染多好,主题还多,就用 yuque 管理文档就可以了。可惜了语雀后面修改了会员的规则,就没用语雀了,改用 notion 了,其实语雀的编辑器的体验还是不错的。我之前就是用语雀写然后用 hugo 渲染的。
    Thecosy
    Thecosy
    OP
    Jan 6, 2023
    3
    @SenLief 是个好主意,但是完全静态化的话图片怎么办呢
    SenLief
    SenLief
    Jan 6, 2023 via iPhone
    4
    @Thecosy 语雀做图床啊,要不用语雀干啥啊。

    https://github.com/SenLief/yuque-webhook
    我之前写的,代码很烂,只是实现,利用 webhook 的。
    Thecosy
    Thecosy
    OP
    Jan 6, 2023
    5
    @SenLief 6,挺不错的
    SenLief
    SenLief
    Jan 6, 2023 via iPhone
    6
    @Thecosy 本来打算重写的,语雀瞎改规则就算了,没有写了。其实想写一个多人订阅,多人站点的版本的。哈哈
    Thecosy
    Thecosy
    OP
    Jan 6, 2023
    7
    @SenLief 想法挺不错的,正好语雀的规则就是普通用户没有互联网权限,100/月其实也还算够用
    SenLief
    SenLief
    Jan 6, 2023
    8
    @Thecosy 恩,不过当时语雀打算不支持 webhook 了,所以只能用轮询 api 的方式,我觉得不太友好,也就放弃了。
    pkwenda
    pkwenda
    Jan 6, 2023
    9
    可以的,我有个基于 notion 的: https://github.com/pkwenda/notion-site
    Thecosy
    Thecosy
    OP
    Jan 7, 2023
    10
    @SenLief 不是还听说语雀今年会开源吗 http://img.snym.cn/i/2023/01/07/63b8467898d73.png
    Thecosy
    Thecosy
    OP
    Jan 7, 2023
    11
    @pkwenda 哈哈,大家此类的想法都还挺多的
    SenLief
    SenLief
    Jan 7, 2023 via iPhone
    12
    @pkwenda 我现在用的就是基于 notion 的 NotionNext ,这个主要是基本上 notion 的 block 都能渲染。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1132 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 18:08 · PVG 02:08 · LAX 10:08 · JFK 13:08
    ♥ Do have faith in what you're doing.