• 请不要在回答技术问题时复制粘贴 AI 生成的内容
mightofcode
V2EX  ›  程序员

3 分钟让你拥有一个跟王垠一样的博客

  •  1
     
  •   mightofcode · Feb 19, 2020 · 12010 views
    This topic created in 2271 days ago, the information mentioned may be changed or developed.

    yinwangblog 让你拥有一个跟王垠一样的博客:
    项目地址&使用说明:https://github.com/mightofcode/yinwangblog

    demo:http://blog.mocyx.com/ github:https://github.com/mightofcode/blog

    demo of 玉伯: http://yubo.mocyx.com/ github: https://github.com/lifesinger/blog

    特性:
    基于 GitHub issue 创作博文、评论
    使用 GitHub api V4 读取 issue,每分钟进行一次全量更新
    基于 netty 的静态文件服务器,不存在 seo 问题,单机 QPS1000

    Supplement 1  ·  Feb 19, 2020
    垠神博客风格挺不错的,够简单,没有杂七杂八的功能
    35 replies    2020-04-27 09:51:33 +08:00
    webshe11
        1
    webshe11  
       Feb 19, 2020   ❤️ 1
    连 favicon 都弄走了 [捂脸]
    mightofcode
        2
    mightofcode  
    OP
       Feb 19, 2020   ❤️ 3
    @webshe11 要做就做全套
    kingcc
        3
    kingcc  
       Feb 19, 2020 via Android   ❤️ 9
    既然追求刺激 那就贯彻到底咯
    J0G57faC6uPo75W0
        4
    J0G57faC6uPo75W0  
       Feb 19, 2020 via Android
    每分钟进行一次全量更新,就不怕被 api 限制吗?
    WebKit
        5
    WebKit  
       Feb 20, 2020 via Android
    那为什么不直接用 js 调用 issue,然后代码放在 github page 里,连服务器都省了
    mightofcode
        6
    mightofcode  
    OP
       Feb 20, 2020
    @Tomotoes 每分钟只调用一次,应该问题不大
    blogfeng
        7
    blogfeng  
       Feb 20, 2020 via Android
    反代不香吗
    Pyjamas
        8
    Pyjamas  
       Feb 20, 2020   ❤️ 1
    学点好的...
    J0G57faC6uPo75W0
        9
    J0G57faC6uPo75W0  
       Feb 20, 2020 via Android
    @mightofcode 你最好计算一下,一个小时最多 5000,而这个 5000,包括你账号的所有应用的请求总和。

    并且,graphql 第四代的 5000 限制,并不是指请求数,而是指计算节点数,很有可能,一次请求就花费 10 个节点数。

    并且,当你博客来流量时,又会调用 github api 吧? 我猜的。

    还是建议看看文档,文档里有详细的计算花费节点规则。
    fantastM
        10
    fantastM  
       Feb 20, 2020
    王垠不会介意吗...
    manami
        11
    manami  
       Feb 20, 2020 via Android
    简洁之美
    xFrank
        12
    xFrank  
       Feb 20, 2020
    没有评论功能吗?差评
    rdZZZ
        13
    rdZZZ  
       Feb 20, 2020
    @kingcc 你好骚啊
    Tink
        14
    Tink  
    PRO
       Feb 20, 2020 via iPhone
    6
    mightofcode
        15
    mightofcode  
    OP
       Feb 20, 2020
    @Tomotoes 这个我倒是没注意,如果一次请求会有多个计算节点,那么确实会存在问题

    来流量的时候只是读本地文件,不会访问 github api
    bitpeach
        16
    bitpeach  
       Feb 20, 2020
    审美风格,人人不一。只能说不断分享博客样式风格,增广视野。话说回来,有哪些网友玩 Hexo 架构风格轻量级博客呢。
    HonoSV
        17
    HonoSV  
       Feb 20, 2020
    哈哈哈哈 乐死我了,鬼才想法
    zzj
        18
    zzj  
       Feb 20, 2020
    测试了下 评论功能似乎没有实现?
    WUWENZE
        19
    WUWENZE  
       Feb 20, 2020
    看看我的,也是 issues 白嫖
    https://wuwenze.com

    gitee issues/coding/腾讯云网关
    shenqi
        20
    shenqi  
       Feb 20, 2020
    不错不错
    amundsen
        21
    amundsen  
       Feb 20, 2020
    真赤鸡
    tt67wq
        22
    tt67wq  
       Feb 20, 2020
    当然我在扯淡
    mightofcode
        23
    mightofcode  
    OP
       Feb 20, 2020
    @WUWENZE 给力
    hanxiV2EX
        24
    hanxiV2EX  
       Feb 20, 2020
    我也写过一个简洁的,一直在用。。。

    https://github.com/hanxi/issues-blog
    feelinglucky
        25
    feelinglucky  
       Feb 20, 2020
    好奇问下,干嘛用玉伯博客的数据(虽然他很久没更新了…哈哈哈

    看了下是用 Java 技术栈,其实这样子的博客个人觉得静态博客会比较适合,例如 Hugo https://gohugo.io/

    参看我个人的个例子: https://www.gracecode.com/north-korea/
    x86
        26
    x86  
       Feb 20, 2020 via iPhone
    淫王下次改用 txt 写了
    lc7029
        27
    lc7029  
       Feb 20, 2020
    感觉有点像 hexo
    mightofcode
        28
    mightofcode  
    OP
       Feb 20, 2020
    @feelinglucky 因为用 issues 写 blog 又比较有名的的只找到他的。。
    haoleba
        29
    haoleba  
       Feb 20, 2020 via Android
    30 秒注册个简书,还不用运维。
    mightofcode
        30
    mightofcode  
    OP
       Feb 20, 2020
    @heilibai 简书不错,但是我的文章被简书封过,还是 github 稳
    klh
        31
    klh  
       Feb 20, 2020
    BigFoxGod
        32
    BigFoxGod  
       Feb 21, 2020
    真是不错,本人也在用 yingwang 博客的样式
    FrankHB
        33
    FrankHB  
       Feb 22, 2020
    有评论的还好意思叫 yinwang 么。。。
    secretys
        34
    secretys  
       Feb 22, 2020
    @WUWENZE 请问老哥是的是什么皮肤,可否刷个 github 链接?觉得你的博客很好看。
    sandylaw
        35
    sandylaw  
       Apr 27, 2020
    有适配 hugo 的 yinwang 样式吗?
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3228 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 94ms · UTC 14:19 · PVG 22:19 · LAX 07:19 · JFK 10:19
    ♥ Do have faith in what you're doing.