Skip to content

c0rdis/OneTimeNotes

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

OneTimeNotes

OneTimeNotes is a simple Django realization of anonymous one-time self-destructing notes, which are encrypted in the browser using TripleSec (Salsa20 + AES + Twofish) algorithm with randomly generated key.

Detailed documentation is in the "docs" directory.

Quick start

  1. Add "OneTimeNotes" to your INSTALLED_APPS setting like this:

    INSTALLED_APPS = [

    ... 'OneTimeNotes',

    ]

  2. Add "templates" folder to your DIRS:

    TEMPLATES = [

    {

    'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': ['./OneTimeNotes/templates/'], ...

    ]

  3. Add "static" folder to STATICFILES_DIRS:

    STATICFILES_DIRS = (os.path.join(BASE_DIR+'OneTimeNotes/', 'static'),)

  4. Include the OneTimeNotes URLconf in your project urls.py like this:

    url(r'^', include('OneTimeNotes.urls')),

  5. Run python manage.py migrate to create the OneTimeNotes models.

  6. Start the development server and visit http://127.0.0.1:8000/otn to create a one-time note.

5. Visit the generated link to access a newly created note, and check the total number of stored notes at http://127.0.0.1:8000/otn_stats.