Last active
April 19, 2025 11:11
-
-
Save ikuradon/7d68b08270dde93d22ff08c4386c49df to your computer and use it in GitHub Desktop.
やぶみのルーティング情報
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| streams { | |
| # Template | |
| # name { | |
| # dir = "down|up|both" | |
| # pluginDown = "/app/test.script" | |
| # pluginUp = "/app/test.script" | |
| # filter = { "kinds": [0] } | |
| # urls = [ | |
| # "wss://example.com" | |
| # ] | |
| # } | |
| # Collect events from upstream | |
| upstream { | |
| dir = "down" | |
| pluginDown = "/writepolicy/app.mjs" | |
| urls = [ | |
| "wss://relay-jp.nostr.wirednet.jp" | |
| # "wss://nostrja-kari.heguro.com" | |
| "wss://nrelay-jp.c-stellar.net" | |
| "wss://nostr.holybea.com" | |
| "wss://nostream.ocha.one" | |
| "wss://nostr.fediverse.jp" | |
| ] | |
| } | |
| # Collect zap events(9735) from global relays | |
| zap { | |
| dir = "down" | |
| filter = { "kinds": [9735] } | |
| urls = [ | |
| "wss://nos.lol" | |
| "wss://nostr.zebedee.cloud" | |
| "wss://relay.damus.io" | |
| "wss://relay.nostr.band" | |
| "wss://relayable.org" | |
| ] | |
| } | |
| # Send events to downstream | |
| downstream { | |
| dir = "up" | |
| urls = [ | |
| "wss://nostr-relay.nokotaro.com" | |
| "wss://relay.nostr.wirednet.jp" | |
| "wss://relay.nostr.band" | |
| "wss://relayable.org" | |
| ] | |
| } | |
| # Mirror events with mirrors | |
| mirror { | |
| dir = "both" | |
| pluginDown = "/writepolicy/app.mjs" | |
| urls = [ | |
| "wss://r.kojira.io" | |
| ] | |
| } | |
| ## Broadcast profiles and contact lists | |
| directory { | |
| dir = "up" | |
| filter = { "kinds": [0, 10002] } | |
| urls = [ | |
| "wss://purplepag.es" | |
| ] | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment