truecharts / public

Community Helm Chart Repository
https://truecharts.org
GNU Affero General Public License v3.0
1.13k stars 617 forks source link

Add RewriteBody to the Traefik middlewares #15328

Open RodoMa92 opened 10 months ago

RodoMa92 commented 10 months ago

Is your feature request related to a problem?

For certains immutable application like some specific Jellyfin plugins (Jellyscrub) I would like to modify the page in flight during the response phase itself in order to be able to add functionality to the app.

Describe the solution you'd like

This plugin for Traefik Rewrite Body does exactly what I need to apply to that plugin using a replacement regex.

Describe alternatives you've considered

Unfortunately I can't in any alternative way modify the HTML in place, so I can't find any alternative routes to do this exact thing.

Additional context

No response

I've read and agree with the following

PrivatePuffin commented 10 months ago

Not updated for a year, I would say: No.

RodoMa92 commented 10 months ago

Another option is here, with additional features, but it still has not much activity.

https://github.com/packruler/rewrite-body

packruler commented 9 months ago

https://github.com/packruler/rewrite-body was created by me and used for the theme-park middleware support. It would be possible to create another plugin for this to be supported. I am not sure if there would be enough usage for it though.

PrivatePuffin commented 7 months ago

If you want to expedite this enhancement, please consider putting a bounty on it here:

https://opencollective.com/truecharts-bounties/contribute/place-bounty-72003

truecharts-admin commented 1 month ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in two weeks if no further activity occurs. Thank you for your contributions.