Skip to content

Quantumofcosmos/ransom_note_generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ransom Note Generator

Application written in python to make a note look like it is cut from a newspaper.

Demo:

GUI of application

Stack:

  • Pillow for image creation and text arrangement
  • Flask for serving it as a web application
  • Materializecss for web app front end

Features Available

  • Randomized
    • Background color
    • Font size(Between 22 and 32)
    • Alphabet rotation
    • Font styles(selection between Comic, Comic Bold, FreeSans, Times New Roman, Trebuchet Bold, Vera MoBI and Verdana Italic, Can be extended to more fonts)

Features ToDo

  • Add a download image button(can be downloaded with right click menu as of now)
  • Extensible font styles
  • Play with alphabet case
  • Word wrapping(Current line break is based on the space available on page not based on the word being processed)
  • Take user inputs to randomize above features.
  • (May be) Non standard shaped for alphabet background
  • (May be) Live loading of image(Currently reloads after you submit)
  • (May be) randomize font color which is currently fixed to black.

How to run this locally

Requirements: Python should be installed in your local machine

Steps to run:

  • Clone this git repository to your local file system.
  • Open terminal inside the project folder.
  • run command pip install requirements.txt
  • After the requirements are installed run python server.py
  • The application can be accessed via any web browser in your system at http://127.0.0.1:5000/

Disclaimer:

This project was undertaken to improve my understanding of python and it should not be misused in anyway.

About

A web application written in python to make a note look like it is cut from a newspaper.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published