I'm terrible at writing shaders, and I need help converting a CG Shader to an HLSL Shader.

Hey y’all! I’m not usually one to ask for help, but I really don’t know where to even start on this. I recently recreated a shader from this video:

The only problem is that since I’m using LWRP, I can’t use OnRenderImage() so that the shader effects the camera view. My solution was to simply use the shader as a post processing effect, but I was not aware that you’re supposed to use HLSL. I’ve been trying for about 2 hours to rewrite this shader as an HLSL one, but since I don’t have a great understanding of shaders I’ve gotten nowhere.

I hate to be that guy that asks people to write code for him, but I’m having a lot of trouble. If someone could help me out a bit here, I’d much appreciate it.
Thanks in advance.

It would help if you posted what you currently have so we can explain where you might have gone wrong and give you tips.