Security News
Bun 1.2 Released with 90% Node.js Compatibility and Built-in S3 Object Support
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
A universal content locker for blog by using Fan token from Matataki.io
A universal content locker for blog by using Fan token from Matataki.io
This is a on going working project
前往 Matataki 开发者中心 创建一个名称为你的博客的 App,在 Oauth2 页面可以获取 ClientId 和 ClientSecret,把他们复制下来。
前往保险库,创建你的密钥,你有两个选项:
如果你还是不清楚,在源代码中,这背后的逻辑是这样的:
data.matataki.name || data.source.replace(/^_post\/|^.*\//, '').replace(/\.md$/, '').trim()
在你的 Blog Post 模版部分末尾添加以下内容
<script src="https://unpkg.com/fanlocker/dist/fanlocker.js"></script>
<script>
let fl = new FanLocker({
clientId: '你在开发者中心获取的 Client ID',
clientSecret: '你在开发者中心获取的 ClientSecret'
})
</script>
在 Hexo 博客中安装 hexo-plugin-matataki,并且在 Front-matter 写下你的
matataki:
token: 0
password: password
name: name
amount: 0
mode: hold | pay
FAQs
A universal content locker for blog by using Fan token from Matataki.io
We found that fanlocker demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.