Simple http api instead of rpc interface.
Save added peers, iptunnels etc. in db and add them again afterwards so they still work after restart.
Save traffic usage from peerStats. Show daily / weekly / monthly usage.
Manage multiple nodes through one instance / api.
Instead of exchanging credentials via email, users could sent some kind of peering requests between two CAT instances to arrange peering between some of there nodes.
Allow users to peer for a few days and have there credentials automaticly deleted afterwards. You could also delete peers with too much traffic.
With iptunnels and some kind of payment gateway in combination with the above-mentioned one could create a full featured ISP. Maybe combine with something like meshbox or even enigmabox
- Connect to admin api
- Save changes made through CAT api to database
- Pass commands to cjdns api
- Save data from peerStats to db every few seconds
- If the connection to the cjdns api is lost, try to reconnect
- As soon as cjdns is up again, send commands from db again