Convert source code from GH gists into shareable images.
Inspired from the Carbon project.
This project is an effort to build a REST API implimentation of the same in Go. It does not completely work as the original project, and many parameters are yet to be added.
I use air for hot reloading. Otherwise:
go build -o server . && ./server
Endpoint: /api
Query Param | Description |
---|---|
gistid |
Gist ID of the file |
fsize |
Font size |
fcolor |
Font color |
bgcolor |
Background color |
404
: Invalid Gist ID400
: Missing query params