Skip to content
Switch branches/tags

Satoshi Nakamoto Institute was written in Flask.

Guide to Installing SNI Locally

  1. Install python3 and virtualenv

  2. Copy to

  3. Update the domain assigned to SERVER_NAME in if you would like to change "sni"

  4. If you are running the app locally, change FLASK_DEBUG in to True in order to enable reloading of the server on code changes.

  5. Update your /etc/hosts file (replace sni with the value from step 3 if you changed it):     localhost     sni     satoshi.sni
  1. Download the PDFs and txts here and place them in sni/static/docs

  2. Set up a virtualenv with virtualenv -p python3 --no-site-packages venv and . venv/bin/activate

  3. Install the dependencies using pip install -r requirements.txt.

  4. Run mkdir tmp

  5. Run ./ update. The db will be cleared and re-populated each time you do this. You can use the flags --content, and --skeptic to repopulate only models associated with the blog, the docs, and research docs, or skeptics, respectively.

  6. Run ./ runserver and navigate to sni:5000 in your browser.

Adding Mempool Translations

  1. Add proper markdown front matter:
translated_title: # Name of title in local language
translation_url: # Original URL for translation (optional)
translation_publication: # Name of original publication hosting translation (optional)
translation_publication_url: # URL of original publication hosting translation (optional)
  1. Place the markdown file in sni/templates/blog with the filename <slug>-<language ietf code>.md (e.g.
  2. If you are a new translator, add your name and URL (i.e. website, Twitter, etc.) to data/translators.json.
  3. Update data/blogposts.json:
"translations": {
  "<local language code>": ["<translator name"]

Note: the name must match that in translators.json exactly.

  1. If you are submitting a new language, add it to data/languages.json.

How You Can Help

  • Format the HTML literature templates
  • Adjust the CSS and HTML to improve readability and navigation
  • Write tests for the Python code
  • Submit translations of website content (literature translations coming soon!) is under the GNU Affero License.


A website for preserving and continuing the crypto-anarchist tradition




No releases published


No packages published