Categorygithub.com/FirePing32/go-carbon
modulepackage
0.0.0-20230105103341-ffaa8671d46b
Repository: https://github.com/fireping32/go-carbon.git
Documentation: pkg.go.dev

# README

GO-Carbon

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.

Build

I use air for hot reloading. Otherwise:

go build -o server . && ./server

Query Params

Endpoint: /api

Query ParamDescription
gistidGist ID of the file
fsizeFont size
fcolorFont color
bgcolorBackground color

Status Codes

  • 404: Invalid Gist ID
  • 400: Missing query params

# Packages

No description provided by the author