Skip to content

一款去中心化的弹幕插件,支持 YouTube (A decentralized danmaku extension, supporting YouTube)

License

Notifications You must be signed in to change notification settings

CodyTseng/danmakustr

Repository files navigation

danmakustr - decentralized danmaku extension

中文文档

a chrome extension for danmaku based on the nostr protocol, supporting YouTube

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

Install from Chrome Web Store

Chrome Web Store

Install from source

  1. clone this repo and cd into it
git clone https://github.com/CodyTseng/danmakustr.git
cd danmakustr
  1. install dependencies and build
npm install
npm run build
  1. open chrome and go to chrome://extensions/
  2. nable developer mode
  3. click Load unpacked extension
  4. select the build folder
  5. open YouTube and send your first nostr danmaku!

Relay

Relay is a service for storing and propagating nostr events, each danmaku is a nostr event. If you want to save and propagate danmaku by yourself, you can run a relay by yourself. Here are my two relay implementations:

  • nostr-relay-tray: A desktop relay, implemented using electron, double-click to run. Suitable for non-technical users.
  • nostr-relay-nestjs: A nostr relay that is more suitable for running on a server, implemented using nodejs + PostgreSQL.

There are many other relay implementations in the nostr community.

TODO

  • editable relay list
  • support custom danmaku color and display mode
  • support login with private key
  • support viewing danmaku history
  • support reaction to danmaku
  • support downloading danmaku
  • support more platforms
  • ...

Donate

If you like this project, you can buy me a coffee :) ⚡️ [email protected] ⚡️

License

MIT

About

一款去中心化的弹幕插件,支持 YouTube (A decentralized danmaku extension, supporting YouTube)

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published