Snipt: Glitch Edition
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
an 250f5ddef1 more TODO 4 years ago
accounts fix 4 years ago
blogs desecrate the corporate element 4 years ago
media desecrate the corporate element 4 years ago
snipts desecrate the corporate element 4 years ago
static Add static. 9 years ago
teams desecrate the corporate element 4 years ago
templates "Account" button -> "Preferences" button 4 years ago
user-admin Black. 5 years ago
utils Black. 5 years ago
.gitignore Some initial work on gutting es 5 years ago
.venv Adding venvs 12 years ago
Procfile Prepping for Heroku. 7 years ago more TODO 4 years ago Moving 12 years ago
app.json desecrate the corporate element 4 years ago Removing some old Gunicorn stuff and refactors for Django 1.6. 10 years ago
requirements.txt Bump deps for security 4 years ago fix documentation 4 years ago
runtime.txt Peg to Python 3.7 4 years ago Revert "Snipt -> Siftie, first pass." 4 years ago desecrate the corporate element 4 years ago Disable search until we can get ES going again. 5 years ago desecrate the corporate element 4 years ago Need settings. 7 years ago

Snipt Glitch Edition

In Which, Somehow, A Centralized, Highly Connected Service Is Turned Into A Decentralized And Open One


In no particular order.

  • Theming. Probably via config variables.
  • Domain name. Every instance of should be replaced by a variable, and snipt.s3.amazonaws media should also be made into a separate variable. Don't forget the git repo and documentation too!
  • De-minify everything and add a Python-based minifier.
  • Make deploys easier by automating the database creation. Probably make a Python script which does this along with the resource and minifying stuff.
  • Turn remaining environment vars into config vars.
  • Some tiny issues with the decoupling of systems.
  • Code re-organization.
  • Locally stored avatars.
  • Add SystemD and Nginx example configs.
  • Remove "Pro" field for users

Environment Variables

  • DISABLE_SIGNUP if set to true will disable account registration.

This list is incomplete. You can help b%Yキ%&%%%b%$キ"H%&%%%Y%&%%%%%%%?%&%%%%%%


Make sure you have PostgreSQL installed and running beforehand. (If you don't know how to run it, you probably want the systemctl service.)


The following text should be replaced:

  • CURRENT_USER with the current user.
  • EDITOR with your editor of choice.
  • PORT with the port to run the service on. This will default to 8000.


  • Clone the repo.
  • cd snipt
  • python3 -m venv envs/snipt
  • bash
  • source envs/snipt/bin/activate
  • pip install -r requirements.txt (this will emit some errors, don't worry, they're fine)
  • createuser CURRENT_USER
  • createdb snipt --owner=CURRENT_USER
  • cp
  • ./
  • python runserver

ENCODING U ;;;;;;;;;;;;;;ャヲ%娃ツャクヲ」ゥャクヲ、ャァャキ%Y。、ャクヲ」%bャカ。、"Hャクヲ、%Yャクヲ、ャァャヲ;,