It's a password manager with AES on the client side.
Demo stand: https://pudding.milkrage.ru
mkdir pudding
cd pudding
python -m venv ./venv
source venv/bin/activate
git init
git remote add origin https://github.com/milkrage/pudding.git
git pull origin master
pip install -r requirements.txt
cd app/app
touch environment.py
Generate SECRET_KEY:
python -c "from django.core.management.utils import get_random_secret_key; print(get_random_secret_key())"
Example environment.py:
# Security
# change YOURKEY in SECRET_KEY
# example: 'django-insecure-izda&@s9k5o*gbkw_ci&zau_#p++&kg-=-)=9w-db)mm2+i2gn'
DEBUG = False
SECRET_KEY = 'django-insecure-YOURKEY'
ALLOWED_HOSTS = []
# URL config
REQUIRE_HTTPS = False
LOGIN_REDIRECT_URL = '/'
LOGOUT_REDIRECT_URL = '/'
# Static files
STATIC_ROOT = None
# API Settings
API_ENABLE = True
REST_FRAMEWORK = {
'DEFAULT_RENDERER_CLASSES': [
'rest_framework.renderers.JSONRenderer',
'rest_framework.renderers.BrowsableAPIRenderer',
]
}
# Database example:
from pathlib import Path
BASE_DIR = Path(__file__).resolve().parent.parent
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': BASE_DIR / 'db.sqlite3',
}
}
cd pudding/app
python manage.py makemigrations
python manage.py migrate
python manage.py runserver