Comment on page
Filter Relay Readme
Last Updated: November 7, 2023
The filter.nostr.wine relay now requires a monthly subscription of 10,000 sats per month (with substantial discounts for larger purchases). New users who sign up to nostr.wine have 1 month of access included in their purchase. Existing nostr.wine users can add time to their filter.nostr.wine account by visiting https://nostr.wine/add-time.
If you already know what this relay does and you're ready to connect here are the steps:
- 1.Go to https://nostr.wine and sign up for the paid relay by entering your pubkey and paying the invoice. You MUST be a paid nostr.wine member to access filter.nostr.wine.
- 2.Once admitted, add wss://nostr.wine to your relays. This relay is seperate and does not share events with the filter relay.
- 3.Next, add wss://filter.nostr.wine/REPLACE_WITH_YOUR_NPUB?broadcast=true to your relays (broadcast parameter is optional and defaults to false)
- 4.You can optionally add the global=all parameter. See New Global Views for further details.
- 5.You're done! Play around with adding/removing various public relays to find your ideal global feed.
UPDATE: If your client supports NIP-42 (AUTH) you can now connect directly to wss://filter.nostr.wine without your npub. The same parameters (broadcast and global) can still be used however broadcast will default to TRUE instead of FALSE. See NIP-42 and NIP-50 for more information.
IMPORTANT: you must replace REPLACE_WITH_YOUR_NPUB with your nostr npub (not hex) for the relay to accept you.
The purpose of this relay is to help bridge the gap between paid and public relays. Nostr users have started to experiment with adding more paid relays and removing some (or all) of their public relays. The problem with this approach is you start to lose content from users you are interested in as well as replies and profile metadata from anyone who does not share at least one of your remaining paid/public relays. In addition, some users you share relays with will not have all their posts or profile data load correctly because it may not all be present on the new paid relays.
Reduced reach is another problem. If you are no longer connected to some of the biggest public relays, users who no longer share relays in common with you will not be able to read your posts.
filter.nostr.wine sits in front of our private aggregator relay that continuously pulls new content from many of the largest public relays. When you connect to our relay, we gather all of your follows as well as any account they follow and filter your global event requests to include only content from your web of contacts. When your client requests a note, a profile, available direct messages, or a channel, we pull all of the available related content from our aggregator (unfiltered). This allows you to load profiles and notes of users who do not share relays with you, receive DMs from those same users, as well as read all replies on a given note.
If you choose to include the ?broadcast=true parameter at the end the relay URL after your npub, you will also be broadcasting to several large public relays when you send any events while connected to filter.nostr.wine. The list of public relays updates frequently based on connectivity. We plan to eventually publish live status updates on a website so you can see what is currently online and writing. For now, I will include and update the relays we read from and broadcast to below.
As of April 4, 2023 we now support a new parameter global=all (if missing it defaults to follows+follows) at the end of your relay URL. This will remove the follows+follows filter from your global view and show you all of the events we have aggregated using only a very basic spam filter. This view is considered experimental and without any guarantees at this time. Example: wss://filter.nostr.wine/YOUR_NPUB_HERE?broadcast=true&global=all
We now support both NIP-42 (client authentication) and NIP-50 (search) on filter.nostr.wine. If your client supports NIP-42 you can connect directly to wss://filter.nostr.wine without using the /npub addition. Please note the broadcast parameter will be set to TRUE by default when connecting directly without your npub.
Keyword search is also available if your client supports NIP-50. No user configuration or changes are required.
These are the relays that we are currently aggregating events from in real time.
Last updated: November 7, 2023
We do not plan on adding paid relays. We like to think of those as their own little place that you can choose to be apart of or not individually.
These are the relays we are currently broadcasting events to in real time (if you include ?broadcast=true at the end of the filter.nostr.wine relay after your npub).
Last updated: November 7, 2023