Infinilytra is a simple mod that prevents Elytra from degrading in flight. It removes the need to repair/enchant Elytra and the player can enjoy flying indefinitely.
Feel free to use Infinilytra in modpacks.
I will probably update Infinilytra to other Minecraft versions when my time allows, but if you need it sooner feel free to port it yourself.
https://github.com/TheStapler26/Infinilytra
Developer's note:
My original intent with Infinilytra was to create a new Elytra variant that does not degrade. However, most of the flight logic checks for the exact Elytra instance of the Item rather than Elytra type or child classes. This is why I resorted to using ASM.