Skip to content
golang-designPublic

About

🖨️ A carbon-now API wrapper and iOS Shortcut

Topics

Resources

Stars

80 stars

Watchers

4 watching

Forks

Repository files navigation

code2img PkgGoDev

A carbon-now wrapper for Go users and supports for iOS Shortcut

import "golang.design/x/code2img"

API Usage

Just one API code2img.Render, to use it (see main.go):

Service Usage

iOS Shortcut

Basic usage notes:

Demo:

Server API

POST golang.design/api/v1/code2img
{
    "code": "code string"
}

Response pure text (better for iOS shortcut):

https://golang.design/api/v1/code2img/data/images/06ad29c5-2989-4a8e-8cd2-1ce63e36167b.png

You can also access the code text:

https://golang.design/api/v1/code2img/data/code/06ad29c5-2989-4a8e-8cd2-1ce63e36167b.go

Deploy Instructions

make
make up

License

© 2020-2021 The golang.design Initiative Authors.

About

🖨️ A carbon-now API wrapper and iOS Shortcut

Topics

Resources

Stars

80 stars

Watchers

4 watching

Forks

Releases

Sponsor this project

Contributors

Languages