Skip to content

JosemyDuarte/DevsQuotesPrinter

Repository files navigation

DevsQuotesPrinter


To help me to produce images for my instagram account DevsQuotes I create this little service which help me to create content just sending the text that I want to appear on the image.

How to run it?

Docker

If you have Docker in your machine, is as easy as running:

make docker/run TEXT="My awesome message..." 

This is what you will get on assets/cool_img.png:

output_example

GCP Cloud Functions

Do you want it running on Google Cloud? If you have your account configured and the APIs enabled, just run:

make gcp/deploy

At the end of the execution you will get the URL to make requests. Then just make a POST request with this as payload:

{
	"text": "My awesome message..."
}

Heroku

Just use the deployment button Deploy

After the deployment is done just make a POST request to your service URL with the following payload:

{
    "text": "My awesome message..."
}