This a webservice, which is designed to help people keep their notes clean and store them in pretty PDF's.
It shrinks & prettifies the images uploaded, which makes them much easier to work with.
Look at the image provided:
Better resolution is availible in the "example" folder of this repo. It is not perfect example, it is the one done with the defaults,
yet it can be made better by tweaking settings.
First of all, get python 3 & then get pip.
-
Then, clone this repo (attention! it will be cloned to the current directory, so make sure you do it in some kinda documents or special one)
git clone https://github.com/delneg/noteshrinker-django/
-
Then,
cd noteshrinker-django
andpip3 install -r requirements.txt
-
Tweak the settings in the bottom of the settings.py file.
-
Finally, from the root directory of the project
python3 manage.py migrate
andbash python3 manage.py runserver
-
Navigate to http://127.0.0.1:8000 in your browser!
MIT
Feel free to contribute, I will review all responses.
Currently the app has Russian and English languages availible. Feel free to add your locale - I'll appreciate it!
To add a locale:
Add a locale to LANGUAGES
in settings.py file
Do django-admin makemessages
, edit the django.po file in locale/{local_code}/LC_MESSAGES/
Then run django-admin compilemessages