Skip to content

CodyTseng/danmakustr

Repository files navigation

danmakustr

一个基于 nostr 协议的 chrome 弹幕插件 a chrome extension for danmaku based on the nostr protocol

因为现在使用的人比较少,所以弹幕也很少。所以做了个简单的网页展示所有的弹幕,方便大家看到别人的弹幕。如果你觉得哪条弹幕有趣,可以点击跳转到对应的视频使用插件进行回复。

Since there are not many users at the moment, there are also few danmakus. So I made a simple web page to display all the danmakus, making it easier for everyone to see other people's danmakus. If you find any danmaku interesting, you can click to jump to the corresponding video and reply using this extension.

截图 (Screenshot)

screenshot

安装 (Install)

从 Chrome 商店安装 (Install from Chrome Web Store)

Chrome Web Store

从源码安装 (Install from source)

  1. clone 本仓库并进入文件夹 (clone this repo and cd into it)
  2. 安装依赖并构建 (install dependencies and build)
npm install
npm run build
  1. 打开 chrome 浏览器,进入 chrome://extensions/ (open chrome and go to chrome://extensions/)
  2. 打开开发者模式 (enable developer mode)
  3. 点击 加载已解压的扩展程序 (click Load unpacked extension)
  4. 选择打包好的文件夹 build (select the build folder)
  5. 打开 YouTube 发送你的第一条 nostr 弹幕吧!(open YouTube and send your first nostr danmaku!)

TODO

  • 可编辑中继列表 (editable relay list)
  • 支持 NIP-07 (support NIP-07)
  • 支持给弹幕点赞 (support reaction to danmaku)
  • 支持查看历史弹幕 (support viewing danmaku history)
  • 支持下载视频弹幕 (support downloading danmaku)
  • 支持更多平台 (support more platforms)
  • ...

Donate

If you like this project, you can buy me a coffee :) ⚡️ codytseng@getalby.com ⚡️

License

MIT

About

a chrome extension for danmaku based on the nostr protocol

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published