A Nostr relay that mixes and anonymizes events using the Khatru framework.
- Event mixing and anonymization
- Configurable allowed event kinds
- Optional pubkey whitelisting
- Event rebroadcasting to other relays
- Go
- Clone the repository:
git clone https://github.com/gzuuus/note-mixer-relay.git && cd note-mixer-relay
- Copy the example environment file and edit it with your settings:
cp .env.example .env && nano .env
- Build the project:
go build -o note-mixer-relay
Edit the .env
file to configure the relay:
RELAY_NAME
: The name of your relayRELAY_PUBKEY
: Your relay's public keyRELAY_PRIVATE_KEY
: Your relay's private keyRELAY_ICON
: URL to your relay's iconRELAY_DESCRIPTION
: A brief description of your relayALLOWED_KINDS
: Comma-separated list of allowed event kindsDB_PATH
: Path to the SQLite database filePORT
: The port on which the relay will runWHITELISTED_PUBKEYS
: Comma-separated list of whitelisted pubkeys (leave empty to allow all)REBROADCAST_RELAYS
: Comma-separated list of relay URLs to rebroadcast events to
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License.