<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Node.js on Kouga&#39;s Blog</title>
		<link>https://koa.im/tags/node.js/</link>
		<description>Recent content in Node.js on Kouga&#39;s Blog</description>
		<generator>Hugo</generator>
		<language>zh-cn</language>
		
		
		
		
			<lastBuildDate>Tue, 22 Jun 2021 02:31:40 +0900</lastBuildDate>
		
			<atom:link href="https://koa.im/tags/node.js/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>将 Ghost 存储的博文导入到 Hugo 中</title>
				<link>https://koa.im/blog/2021-06/import-ghost-to-hugo/</link>
				<pubDate>Tue, 22 Jun 2021 02:31:40 +0900</pubDate>
				<guid>https://koa.im/blog/2021-06/import-ghost-to-hugo/</guid>
				<description>&lt;h2 id=&#34;前置需求&#34;&gt;前置需求&lt;/h2&gt;&#xA;&lt;p&gt;本脚本使用 Node.js 写成，所以需要一个起码支持 ES6 module 的 Node 即可正常运行喵~&lt;/p&gt;&#xA;&lt;h2 id=&#34;使用方式&#34;&gt;使用方式&lt;/h2&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;新建一个目录；&lt;/li&gt;&#xA;&lt;li&gt;将下列 &lt;a href=&#34;#%E6%96%87%E4%BB%B6%E5%88%97%E8%A1%A8&#34;&gt;文件列表&lt;/a&gt; 里的文件变成磁盘上的文件；&lt;/li&gt;&#xA;&lt;li&gt;进入该目录， 执行 &lt;code&gt;npm i&lt;/code&gt; 安装依赖库；&lt;/li&gt;&#xA;&lt;li&gt;执行 &lt;code&gt;node .\index.mjs your-path-to\ghost.db [export_path]&lt;/code&gt; 即可喵~&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;h2 id=&#34;已有功能&#34;&gt;已有功能&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;自动生成 YAML 格式的 Front Matter；&lt;/li&gt;&#xA;&lt;li&gt;导出 Ghost 的 Tags 并写入 Front Matter；&lt;/li&gt;&#xA;&lt;li&gt;自动格式化日期（时区是写死的东八区要注意喵！）&lt;/li&gt;&#xA;&lt;li&gt;自动过滤标题转义符进行转义&lt;/li&gt;&#xA;&lt;li&gt;按照 &lt;code&gt;YYYY-MM\slug.md&lt;/code&gt; 的格式存储，不会一次性在目录下弄出大量文件也避免文件名冲突喵~&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;文件列表&#34;&gt;文件列表&lt;/h2&gt;&#xA;&lt;p&gt;index.mjs&lt;/p&gt;</description>
			</item>
			<item>
				<title>使用 Nuxt.js 静态构建 Blog</title>
				<link>https://koa.im/blog/2021-06/move-blog-to-nuxt/</link>
				<pubDate>Fri, 04 Jun 2021 08:09:15 +0900</pubDate>
				<guid>https://koa.im/blog/2021-06/move-blog-to-nuxt/</guid>
				<description>&lt;h2 id=&#34;前置需求&#34;&gt;前置需求&lt;/h2&gt;&#xA;&lt;p&gt;最近又想要重新开放个人博客，因为很多东西写微博上写不下喵……&lt;/p&gt;&#xA;&lt;p&gt;比如，有个很好的 UE 相关实现；又比如，自己折腾了一些小项目和小玩意什么的喵~&lt;/p&gt;&#xA;&lt;p&gt;&lt;del&gt;再或者看到了什么不得了的色图喵&lt;/del&gt;&lt;/p&gt;</description>
			</item>
			<item>
				<title>分享一些前年到去年的教程PPT喵~</title>
				<link>https://koa.im/blog/2017-02/2015-ppts/</link>
				<pubDate>Sun, 12 Feb 2017 14:22:13 +0800</pubDate>
				<guid>https://koa.im/blog/2017-02/2015-ppts/</guid>
				<description>&lt;p&gt;之前在上海腾翀网络有限公司（产品：聚会玩等系列）做的一些游戏开发的分享PPT，当时的客户端技术栈是 Cocos +  Lua，服务端分为 ROR 和 Node.js 两部分，所以内容都围绕这两部分展开喵~&lt;/p&gt;</description>
			</item>
			<item>
				<title>用node-inspect&#43;PM2搭建自动CoffeeScript调试平台</title>
				<link>https://koa.im/blog/2015-08/use-node-inspect-pm2-debug-coffeescript/</link>
				<pubDate>Thu, 27 Aug 2015 11:06:20 +0800</pubDate>
				<guid>https://koa.im/blog/2015-08/use-node-inspect-pm2-debug-coffeescript/</guid>
				<description>&lt;p&gt;然而自从ES6/7出现后，我已经打算放弃CoffeeScript准备转回JS了喵……所以……这就是个大坑了喵～哇哈哈哈～（抱头滚走&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
