{"repo":"tough-dev-school/diploma-generator","free":true,"listed":false,"github":"https://github.com/tough-dev-school/diploma-generator","clone":"git clone https://github.com/tough-dev-school/diploma-generator.git","description":"Generating student certificates out of SVG templates","language":"JavaScript","stars":14,"topics":["nodejs","express","puppeteer"],"license":null,"category":"scrapers-browser-automation","readme_excerpt":"Diploma generator Render bundled SVG templates to PNG images, return them by HTTP, using GET query string as template context. Installation Usage CI and Delivery This services gets automatically deployed to heroku upon push to the master. The docker image is built on heroku's premises How to create a new template First, you have to create and svg image out of the mock-up. Here is an example using figma: Second, convert it tu utf-8. for text to become readable by a human. In MacOS or Linux: xmllint --format --encode utf-8 downloaded.svg downloaded-readble.svg . Third, create a text template out of the SVG, using nonjucks variable substitution and condigitional tags. Place the resulting file to the templates/ folder and voila!","default_branch":null,"files":null,"tree":[],"storefront":"/r/tough-dev-school","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/tough-dev-school/diploma-generator/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}