What would be the best way to create a infinite river?

I am looking to create a river for an Endless Runner-type game, but I want the actual river itself to be dynamically generated - like the terrain from “Run, Dear, Run”, with a few twists and turns - are there any available tutorials or tools?

here is a place to start (in C#) : Runner, a Unity C# Tutorial