This is one of the fun projects I tried. Basically, I needed a badge of my ratings on the sites like CodeChef and Codeforces. The application will generate a PNG image based on the data you provide.
Firstly you'll need nodeJS installed on your system. Then, you can use following commands to run the application:
git clone https://github.com/abhishalya/rating-image-generator.git
cd rating-image-generator
npm install
Once the requirements are installed, you can deploy the app using:
npm start
You can change the port number in the index.js
file.
Now, redirect to http://localhost:5000 (or the port number you used) and fil up the form inputs and submit. The browser will request you to download the generated file.
Examples:
If you have better design ideas please fill free to contribute. I may have few issues raised, so check them out 😄