This repo includes an example JS websocket sharejs server, and a client page that uses codemirror with sharejs.
How the donated funds are distributed
Kivach works on the Obyte network, and therefore you can track all donations.