Decentralized, offline-first, cmd-line chat app in < 100 lines of code

Update: some of the methods below are out of date. For a good overview of the latest and greatest methods, be sure to read the Tour of Textile.


This is a companion discussion topic for the original entry at https://blog.textile.io/decentralized--offline-first--cmd-line-chat-app-in---100-lines-of-code/