https://github.com/quard/asciiwrite
simple educational service to render text with FIGlet fonts
https://github.com/quard/asciiwrite
figlet golang rest-api simple
Last synced: 10 months ago
JSON representation
simple educational service to render text with FIGlet fonts
- Host: GitHub
- URL: https://github.com/quard/asciiwrite
- Owner: Quard
- License: mit
- Created: 2019-08-03T06:15:43.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-08-03T06:16:00.000Z (over 6 years ago)
- Last Synced: 2023-03-11T14:52:51.404Z (almost 3 years ago)
- Topics: figlet, golang, rest-api, simple
- Language: Go
- Homepage:
- Size: 271 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ASCII Write
Render text with [FIGlet](http://www.figlet.org/) fonts (ASCII Art font)
``` ___ _____ _____ _____ _____ _ _ _ _
/ _ \ / ___|/ __ \|_ _||_ _| | | | | (_)| |
/ /_\ \\ `--. | / \/ | | | | | | | | _ __ _ | |_ ___
| _ | `--. \| | | | | | | |/\| || '__|| || __| / _ \
| | | |/\__/ /| \__/\ _| |_ _| |_ \ /\ /| | | || |_ | __/
\_| |_/\____/ \____/ \___/ \___/ \/ \/ |_| |_| \__| \___|
```
*my second educational project on Go*
## How to run
At first you need to save Firebase credentials json to `config/credentials/asciiwrite-firebase.json`
And then build and run docker image
`docker build -f build/Docker.local -t asciiwrite .`
`docker run -e AUTHTOKEN= asciiwrite`
or you could use `build/Dockerfile` to prepare an image and deploy to Google Cloud Run
## API
`api/openapi.yaml` — swagger schema
`third_party/redoc-static.html` — rendered swagger schema info html