This mod automatically makes you peek over cover when you ADS in front of an obstacle while crouching next to it. It will move your camera up as much as needed so you can utilize cover more effectively.
You can also find this mod on GitHub, so if you want to help with anything, feel free to fork the project, make changes and create a pull request when you're done.