Interception of published events for processing
Los mantenedores suelen responder en 1 día
@cameri ya está trabajando en esto.
Desde el 29/12/2022.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
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.
- Lenguaje dominante
- TypeScript
- Estrellas
- 829
- Forks
- 234
- Merge medio
- 2 d 10 h
- PR fusionados (30 d)
- 24
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de cameri/nostream
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
feat(admin): bounded NIP-66 probe history and Network Health timelinePosiblemente ocupada @Ferryx349 la tomó hace 3 días. AbiertoAdmin Console enhancement
cameri/nostream#800 · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
Store relay settings overrides in PostgreSQL (SETTINGS_BACKEND=db)Posiblemente ocupada @Ferryx349 la tomó hace 36 días. Abiertoenhancement
cameri/nostream#757 · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
feat(nip85): Web-of-Trust spam mitigation engineQuizá libre de nuevo @Ferryx349 la tomó hace 67 días y no hay ningún pull request abierto. Abiertoenhancement
cameri/nostream#720 · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
feat(nip96): native HTTP media storage pipelineQuizá libre de nuevo @Ferryx349 la tomó hace 67 días y no hay ningún pull request abierto. Abiertoenhancement
cameri/nostream#719 · 1 asignado ·
Los mantenedores suelen responder en 1 día
Todos los issues de cameri/nostream
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Agenta-AI/agenta#7542 · 1 comentario · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
code quality security
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
enhancement good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 90/100
-
feat(icons): add [solidping]Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 82/100
homarr-labs/dashboard-icons#2939 ·
Los mantenedores suelen responder en 1 día