Awesome
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
Install
Install from Chrome Web Store
Install from source
- clone this repo and cd into it
git clone https://github.com/CodyTseng/danmakustr.git
cd danmakustr
- install dependencies and build
npm install
npm run build
- open chrome and go to
chrome://extensions/
- nable developer mode
- click
Load unpacked extension
- select the
build
folder - 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 :) ⚡️ codytseng@getalby.com ⚡️
License
MIT