I recently started renting a VPS server to host some of the ethical alternatives to the typical host of surveillance services.
One service that I have enjoyed in the past is Dropbox Paper. However this “free” (as in beer, not in freedom) service preys on your personal data, just like its big brother Dropbox. To me this is not acceptable, so I decided to give CodiMD a try. CodiMD is an evolution of HackMD, a free software alternative inspired in its free software cousin Etherpad. CodiMD is licensed under Affero General Public License¹. CodiMD has a demo site where you can go to play and test all of its (extensive) features.
I am still discovering the intricacies of this software, and I am already in awe of the quality of the product. The feature that I am missing is the ability to download my MD documents, so I can archive them in my home NAS. For this reason I have created this small nodejs script, that I want to share with you as AGPL as well. This code is a bit messy but I wanted something quick that didn’t have any NPM dependency to run, only nodejs core.
Executing this script will download the files to your local:
¹ AGPL is considered one of the most freedom friendly licenses. Companies like Google prohibit their use because of its nature.