Interception of published events for processing
I maintainer di solito rispondono entro 1 giorno
@cameri ci sta già lavorando.
Dal 29/12/2022.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
Is your feature request related to a problem? Please describe.
I think that interception of all incoming events would be useful for:
- people creating their own filters for spam
- dynamic whitelists
- pay-per-event relays
Describe the solution you'd like
There should be a way for any app to connect to the relay (gRPC, WS, doesn't matter, and could probably have authentication) and hook into all events being sent with the following information included:
- IP address (should account for X-Forwarded-For)
- The event itself
- the origin header
and the connected client could answer with one of the following:
- accept
- silently drop (OK as if nothing happened but do not persist and relay)
- drop (with a custom notice)
in the future, AUTH could be required. there should be a configuration option to block all event publishing if there is no connected client that is intercepting the events. (such as for a dynamic whitelist, I wouldn't want to allow non-whitelisted people from posting because the script I wrote went down)
Describe alternatives you've considered
None
Additional context
In the future, this could be extended to more things.
- Lingua principale
- TypeScript
- Stelle
- 829
- Fork
- 234
- Merge medio
- 2g 10h
- PR unite (30g)
- 24
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di cameri/nostream
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
feat(admin): bounded NIP-66 probe history and Network Health timelineForse già presa @Ferryx349 l’ha presa 4 giorni fa. ApertaAdmin Console enhancement
cameri/nostream#800 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
Store relay settings overrides in PostgreSQL (SETTINGS_BACKEND=db)Forse già presa @Ferryx349 l’ha presa 37 giorni fa. Apertaenhancement
cameri/nostream#757 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
feat(nip85): Web-of-Trust spam mitigation engineForse di nuovo libera @Ferryx349 l’ha presa 67 giorni fa e non c’è nessuna pull request aperta. Apertaenhancement
cameri/nostream#720 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
feat(nip96): native HTTP media storage pipelineForse di nuovo libera @Ferryx349 l’ha presa 67 giorni fa e non c’è nessuna pull request aperta. Apertaenhancement
cameri/nostream#719 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di cameri/nostream
Issue simili
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 75/100
I maintainer di solito rispondono entro 1 giorno
-
[Bug]: [A11y] Missing accessible name on icon-only standalone links (WCAG 2.1 SC 2.4.4, 4.1.2)Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
jaegertracing/jaeger-ui#4596 ·
I maintainer di solito rispondono entro 1 giorno
-
area:tui enhancement platform:macos
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
anthropics/claude-code#101490 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
netlify/netlify-mcp#75 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno