<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <author>
    <name>Alan-Sheep</name>
  </author>
  <generator uri="https://hexo.io/">Hexo</generator>
  <id>http://example.com/</id>
  <link href="http://example.com/" rel="alternate"/>
  <link href="http://example.com/atom.xml" rel="self"/>
  <rights>All rights reserved 2026, Alan-Sheep</rights>
  <subtitle>生活明朗，万物皆美</subtitle>
  <title>Alan-Sheep的神秘小仓</title>
  <updated>2026-04-13T08:15:19.656Z</updated>
  <entry>
    <author>
      <name>Alan-Sheep</name>
    </author>
    <content>
      <![CDATA[<p>前言<br>*如果你的hexo博客网页上想要一个精美的live2d看板娘，可以看我接下来的教程了（没有难度，可能需要你有魔法，当然你前置需要有hexo才行）</p><p>我使用的是hexo-oh-my-live2d，之所以选用这个的原因是该项目目前正在被积极维护，可支持 所有版本 的live2d模型，之前流行的hexo-helper-live2d由于不在维护了，所以支持的模型较少,这里就不</p><p>hexo-oh-my-live2d<br>仓库地址:hexo-oh-my-live2d 一个用于 hexo 的 live2d 看板娘插件，支持所有版本的模型。)<br>————————————————<br>版权声明：本文为CSDN博主「零度冰l」的原创文章，遵循CC 4.0 BY-SA版权协议，转载请附上原文出处链接及本声明。<br>原文链接：<a href="https://blog.csdn.net/zjqlwc/article/details/145442191">https://blog.csdn.net/zjqlwc/article/details/145442191</a></p><h3 id="安装"><a href="#安装" class="headerlink" title="安装"></a>安装</h3><p><strong>1.在hexo根目录下执行下面的操作</strong></p><p>yarn add hexo-oh-my-live2d —save</p><p><strong>2.在hexo的config.yml文件下添加下面的内容，我这里使用的是cdn，如果你想要像我一样使用自己的模型，你需要在github上建一个仓库，然后使用cdn代理一下，下面会写到如何cdn代理，先看一下我的配置文件</strong></p><h1 id="live2d看板娘"><a href="#live2d看板娘" class="headerlink" title="live2d看板娘"></a>live2d看板娘</h1><p>OhMyLive2d:<br>  enable: true<br>  CDN: <a href="https://registry.npmmirror.com/oh-my-live2d/latest/files">https://registry.npmmirror.com/oh-my-live2d/latest/files</a></p><h1 id="CDN-https-registry-npmmirror-com-oh-my-live2d-0-13-files-dist-index-min-js"><a href="#CDN-https-registry-npmmirror-com-oh-my-live2d-0-13-files-dist-index-min-js" class="headerlink" title="CDN: https://registry.npmmirror.com/oh-my-live2d/0.13/files/dist/index.min.js"></a>CDN: <a href="https://registry.npmmirror.com/oh-my-live2d/0.13/files/dist/index.min.js">https://registry.npmmirror.com/oh-my-live2d/0.13/files/dist/index.min.js</a></h1><p>  option:</p><pre><code># importType: &#39;cubism2&#39; #  导入类型, 默认使用全量导入: complete , 可选值: complete, cubism2, cubism5libraryUrls: # 自定义 Cubism SDK 外部资源地址  complete: https://registry.npmmirror.com/oh-my-live2d/latest/files/lib/complete.js  cubism2: https://registry.npmmirror.com/oh-my-live2d/latest/files/lib/cubism2.js  cubism5: https://registry.npmmirror.com/oh-my-live2d/latest/files/lib/cubism5.js# menus:# items: |#   (defaultItems)=&gt;{#    return [#      ...defaultItems,#      {#        id: &#39;github&#39;,#        icon: &#39;github-fill&#39;,#        title: &#39;我的github&#39;,#        onClick: ()=&gt;window.open(&#39;https://github.com/hacxy&#39;)#      }#    ]#   }# items:#   - id: &#39;github&#39;#     icon: &#39;github-fill&#39;#     title: &#39;我的github&#39;#     onClick: ()=&gt;window.open(&#39;https://github.com/hacxy&#39;)mobileDisplay: false # 是否在移动端显示models:  - path: &quot;https://cdn.statically.io/gh/lingdubing-xo/lingdubing-xo-pic/main/%E5%8A%A0%E8%97%A4%E6%83%A0live2d/model/katou_01/katou_01.model.json&quot;    mobilePosition: [-10, 23] # 移动端时模型在舞台中的位置。 默认值: [0,0] [横坐标, 纵坐标]    mobileScale: 0.1 # 移动端时模型的缩放比例 默认值: 0.1    mobileStageStyle: # 移动端时舞台的样式      width: 180      height: 166    motionPreloadStrategy: IDLE # 动作预加载策略 默认值: IDLE 可选值: ALL | IDLE | NONE    position: [20, -150] # 模型在舞台中的位置。 默认值: [0,0] [横坐标, 纵坐标]    scale: 0.15 # 模型的缩放比例 默认值: 0.1    # showHitAreaFrames: true # 是否显示点击区域 默认值: false    stageStyle:      width: 250      height: 250  - path: &quot;https://cdn.statically.io/gh/lingdubing-xo/lingdubing-xo-pic/main/%E7%BA%B1%E9%9B%BElive2d/model/sagiri/sagiri.model.json&quot;    scale: 0.12    position: [30, 0]    stageStyle:      width: 250    mobileScale: 0.08    mobilePosition: [0, 0]    mobileStageStyle: # 移动端时舞台的样式      width: 180parentElement: document.body #为组件提供一个父元素，如果未指定则默认挂载到 body 中primaryColor: &quot;var(--btn-bg)&quot; # 主题色 支持变量sayHello: false # 是否在初始化阶段打印项目信息tips:  style:    width: 230    height: 120    left: calc(50% - 20px)    top: -100px  mobileStyle:    width: 180    height: 80    left: calc(50% - 30px)    top: -100px  idleTips:    interval: 15000    # message:    #   - 你好呀~    #   - 欢迎来到我的小站~    # 自定义提示语 需要 引入 axios 库 ,也可以使用其他方法    message: |      function(){        return axios.get(&#39;https://v1.hitokoto.cn?c=i&#39;)          .then(function (response) {            return response.data.hitokoto ;          })          .catch(function (error) {            console.error(error);          });      }    # wordTheDay: true    # 自定义  https://v1.hitokoto.cn  数据    # wordTheDay: |    #   function(wordTheDayData){    #     return `${wordTheDayData.hitokoto}    by.${wordTheDayData.from}`;    #   }</code></pre><h1 id="then"><a href="#then" class="headerlink" title="then: |"></a>then: |</h1><h1 id="oml2d-gt"><a href="#oml2d-gt" class="headerlink" title="(oml2d)=&gt;{"></a>(oml2d)=&gt;{</h1><h1 id="setTimeout-gt"><a href="#setTimeout-gt" class="headerlink" title="setTimeout(() =&gt; {"></a>setTimeout(() =&gt; {</h1><h1 id="oml2d-tipsMessage-‘hello-world’-3000-10"><a href="#oml2d-tipsMessage-‘hello-world’-3000-10" class="headerlink" title="oml2d.tipsMessage(‘hello world’, 3000, 10);"></a>oml2d.tipsMessage(‘hello world’, 3000, 10);</h1><h1 id="8000"><a href="#8000" class="headerlink" title="}, 8000);"></a>}, 8000);</h1><h1 id=""><a href="#" class="headerlink" title="}"></a>}</h1><p>其中想要换模型的话需要更换models里path路径</p><p><strong>3.使用github配合statically创建图床</strong><br>1.创建一个github仓库(注意这个仓库要是公开的)</p><p>2.将仓库克隆到本地</p><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">git <span class="built_in">clone</span> 仓库地址</span><br></pre></td></tr></table></figure><p>下载你想要的模型<br><strong><a href="https://github.com/Eikanya/Live2d-model/tree/master">live2d模型下载地址</a></strong><br>解压包的话直接解压到本地的仓库里，如果是文件夹的话，到<a href="https://minhaskamal.github.io/DownGit/#/home">downgit</a>复制github上文件夹的url路径然后下载就好<br>4.然后就是</p><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br></pre></td><td class="code"><pre><span class="line">git add .</span><br><span class="line">git commit -m <span class="string">&quot;live2d模型&quot;</span></span><br><span class="line">git push</span><br></pre></td></tr></table></figure><p>复制这个json文件的url链接<br>例如上图是<a href="https://github.com/lingdubing-xo/lingdubing-xo-pic/blob/main/%E7%BA%B1%E9%9B%BElive2d/model/sagiri/sagiri.model.json">https://github.com/lingdubing-xo/lingdubing-xo-pic/blob/main/%E7%BA%B1%E9%9B%BElive2d/model/sagiri/sagiri.model.json</a><br>然后在statically粘贴上面的链接，复制下面的链接到path路径下<br>————————————————<br>版权声明：本文为CSDN博主「零度冰l」的原创文章，遵循CC 4.0 BY-SA版权协议，转载请附上原文出处链接及本声明。<br>原文链接：<a href="https://blog.csdn.net/zjqlwc/article/details/145442191">https://blog.csdn.net/zjqlwc/article/details/145442191</a></p>]]>
    </content>
    <id>http://example.com/posts/c7a9f8a5.html</id>
    <link href="http://example.com/posts/c7a9f8a5.html"/>
    <published>2026-04-11T13:26:09.000Z</published>
    <summary>
      <![CDATA[<p>前言<br>*如果你的hexo博客网页上想要一个精美的live2d看板娘，可以看我接下来的教程了（没有难度，可能需要你有魔法，当然你前置需要有hexo才行）</p>
<p>我使用的是hexo-oh-my-live2d，之所以选用这个的原因是该项目目前正在被积极维护，可支持]]>
    </summary>
    <title>live2d看板娘</title>
    <updated>2026-04-13T08:15:19.656Z</updated>
  </entry>
  <entry>
    <author>
      <name>Alan-Sheep</name>
    </author>
    <content>
      <![CDATA[<p>Welcome to <a href="https://hexo.io/">Hexo</a>! This is your very first post. Check <a href="https://hexo.io/docs/">documentation</a> for more info. If you get any problems when using Hexo, you can find the answer in <a href="https://hexo.io/docs/troubleshooting.html">troubleshooting</a> or you can ask me on <a href="https://github.com/hexojs/hexo/issues">GitHub</a>.</p><h2 id="Quick-Start"><a href="#Quick-Start" class="headerlink" title="Quick Start"></a>Quick Start</h2><h3 id="Create-a-new-post"><a href="#Create-a-new-post" class="headerlink" title="Create a new post"></a>Create a new post</h3><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">$ hexo new <span class="string">&quot;My New Post&quot;</span></span><br></pre></td></tr></table></figure><p>More info: <a href="https://hexo.io/docs/writing.html">Writing</a></p><h3 id="Run-server"><a href="#Run-server" class="headerlink" title="Run server"></a>Run server</h3><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">$ hexo server</span><br></pre></td></tr></table></figure><p>More info: <a href="https://hexo.io/docs/server.html">Server</a></p><h3 id="Generate-static-files"><a href="#Generate-static-files" class="headerlink" title="Generate static files"></a>Generate static files</h3><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">$ hexo generate</span><br></pre></td></tr></table></figure><p>More info: <a href="https://hexo.io/docs/generating.html">Generating</a></p><h3 id="Deploy-to-remote-sites"><a href="#Deploy-to-remote-sites" class="headerlink" title="Deploy to remote sites"></a>Deploy to remote sites</h3><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">$ hexo deploy</span><br></pre></td></tr></table></figure><p>More info: <a href="https://hexo.io/docs/one-command-deployment.html">Deployment</a></p>]]>
    </content>
    <id>http://example.com/posts/4a17b156.html</id>
    <link href="http://example.com/posts/4a17b156.html"/>
    <published>2026-04-10T12:29:08.647Z</published>
    <summary>
      <![CDATA[<p>Welcome to <a href="https://hexo.io/">Hexo</a>! This is your very first post. Check <a href="https://hexo.io/docs/">documentation</a> for]]>
    </summary>
    <title>Hello World</title>
    <updated>2026-04-13T08:16:27.016Z</updated>
  </entry>
</feed>
