Normally a link points to a web resource. But you can fit a lot of information in a link, especially if you compress it. This repo provides a simple way to share whole documents, storing their contents in the URL.
Example