charts icon indicating copy to clipboard operation
charts copied to clipboard

Add RewriteBody to the Traefik middlewares

Open RodoMa92 opened this issue 1 year ago • 5 comments

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

  • [X] I've checked all open and closed issues and my request is not there.
  • [X] I've checked all open and closed pull requests and my request is not there.

RodoMa92 avatar Nov 24 '23 16:11 RodoMa92

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

PrivatePuffin avatar Nov 24 '23 19:11 PrivatePuffin

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

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

RodoMa92 avatar Nov 25 '23 11:11 RodoMa92

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.

packruler avatar Dec 26 '23 23:12 packruler

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

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

PrivatePuffin avatar Mar 03 '24 13:03 PrivatePuffin