Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/CodyTseng/danmakustr
a chrome extension for danmaku based on the nostr protocol
https://github.com/CodyTseng/danmakustr
chrome-extension danmaku decentralized nostr
Last synced: 24 days ago
JSON representation
a chrome extension for danmaku based on the nostr protocol
- Host: GitHub
- URL: https://github.com/CodyTseng/danmakustr
- Owner: CodyTseng
- License: mit
- Created: 2024-04-18T15:23:54.000Z (8 months ago)
- Default Branch: master
- Last Pushed: 2024-05-08T13:34:11.000Z (7 months ago)
- Last Synced: 2024-05-08T14:39:34.095Z (7 months ago)
- Topics: chrome-extension, danmaku, decentralized, nostr
- Language: TypeScript
- Homepage:
- Size: 2.45 MB
- Stars: 25
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
- awesome-nostr - danmakustr - a chrome extension allowing users to send special comments (弹幕, danmaku) on YouTube and display them above the video. (Clients / Relay lists)
README
# danmakustr - decentralized danmaku extension
[中文文档](./README_ZH.md)
> a chrome extension for danmaku based on [the nostr protocol](https://nostr.com/), supporting YouTube
Since there are not many users at the moment, there are also few danmakus. So I made a simple [web page](https://danmaku.nostr-relay.app/) 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](./screenshot.jpg)
## Install
### Install from Chrome Web Store
[Chrome Web Store](https://chromewebstore.google.com/detail/danmakustr/mohbdimkkpjjibdfipfajpgpmegnglhb)
### Install from source
1. clone this repo and cd into it
```bash
git clone https://github.com/CodyTseng/danmakustr.git
cd danmakustr
```2. install dependencies and build
```bash
npm install
npm run build
```3. open chrome and go to `chrome://extensions/`
4. nable developer mode
5. click `Load unpacked extension`
6. select the `build` folder
7. 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](https://github.com/CodyTseng/nostr-relay-tray): A desktop relay, implemented using electron, double-click to run. Suitable for non-technical users.
- [nostr-relay-nestjs](https://github.com/CodyTseng/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](https://github.com/aljazceru/awesome-nostr#relays) in the nostr community.
## TODO
- [x] editable relay list
- [x] support custom danmaku color and display mode
- [x] support login with private key
- [x] 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