I know that this not the perfect solution, but it works in the most of my cases. Some characters are not sended well, but it's a beginning.
I coded it in 15min based in a github code and my needs.
I think that would be a good option to add the possibility to include plugins in proxmox made by...