Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/josemyduarte/devsquotesprinter
Service to generate images with quotes for https://www.instagram.com/devsquotes
https://github.com/josemyduarte/devsquotesprinter
golang image instagram
Last synced: 20 days ago
JSON representation
Service to generate images with quotes for https://www.instagram.com/devsquotes
- Host: GitHub
- URL: https://github.com/josemyduarte/devsquotesprinter
- Owner: JosemyDuarte
- License: gpl-3.0
- Created: 2021-02-28T12:39:48.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2023-03-07T01:44:22.000Z (almost 2 years ago)
- Last Synced: 2024-04-20T00:22:56.849Z (8 months ago)
- Topics: golang, image, instagram
- Language: Go
- Homepage: https://www.instagram.com/devsquotes
- Size: 1.44 MB
- Stars: 20
- Watchers: 1
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# DevsQuotesPrinter
___To help me to produce images for my instagram account [DevsQuotes](https://www.instagram.com/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:
```shell
make docker/run TEXT="My awesome message..."
```
This is what you will get on `assets/cool_img.png`:![output_example](.github/example.png)
### GCP Cloud Functions
Do you want it running on Google Cloud? If you have your account configured and the APIs enabled, just run:
```shell
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:
```json
{
"text": "My awesome message..."
}
```### Heroku
Just use the deployment button [![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy)
After the deployment is done just make a POST request to your service URL with the following payload:
```json
{
"text": "My awesome message..."
}
```