All Projects → golang-design → code2img

golang-design / code2img

Licence: GPL-3.0 license
🖨️ A carbon-now API wrapper and iOS Shortcut

Programming Languages

go
31211 projects - #10 most used programming language
Dockerfile
14818 projects
Makefile
30231 projects

Projects that are alternatives of or similar to code2img

Shortcutmapper
A visual keyboard shortcuts explorer for popular applications.
Stars: ✭ 657 (+787.84%)
Mutual labels:  shortcuts
Shortcuts Js
A JavaScript iOS 12 Shortcuts creator
Stars: ✭ 1,278 (+1627.03%)
Mutual labels:  shortcuts
Hotkey
Trigger an action on an element with a keyboard shortcut.
Stars: ✭ 2,389 (+3128.38%)
Mutual labels:  shortcuts
Better Chrome Native Video
Add keyboard support to Chrome's native HTML5 video player.
Stars: ✭ 31 (-58.11%)
Mutual labels:  shortcuts
Shrtcts
Make Anything an RStudio Shortcut
Stars: ✭ 71 (-4.05%)
Mutual labels:  shortcuts
Shortcuts Swift
Write Shortcuts in Playgrounds
Stars: ✭ 116 (+56.76%)
Mutual labels:  shortcuts
Hotkeys
➷ A robust Javascript library for capturing keyboard input. It has no dependencies.
Stars: ✭ 5,165 (+6879.73%)
Mutual labels:  shortcuts
Devcomrade
DevComrade - A copy/paste/run productivity improvement utility for developers
Stars: ✭ 206 (+178.38%)
Mutual labels:  shortcuts
Xcactionbar
"Alfred for Xcode" plugin
Stars: ✭ 1,217 (+1544.59%)
Mutual labels:  shortcuts
Njt
njt (npm jump to): a quick navigation tool for npm packages
Stars: ✭ 179 (+141.89%)
Mutual labels:  shortcuts
Spotify Shortcuts Ios12
This repository contains a list of all available Shortcuts to control Spotify as well as an update mechanism.
Stars: ✭ 34 (-54.05%)
Mutual labels:  shortcuts
Manaflux
The app needs a rewrite. It might not work anymore. An assistant that can choose your runes, summoner spells, and item sets for League of Legends.
Stars: ✭ 57 (-22.97%)
Mutual labels:  shortcuts
Sketch Plugin Monster
A Sketch plugin for managing all plugin shortcuts.
Stars: ✭ 143 (+93.24%)
Mutual labels:  shortcuts
Gata
Bookmarks made better
Stars: ✭ 17 (-77.03%)
Mutual labels:  shortcuts
Inkscape Shortcut Manager
Inkscape shorcut manager
Stars: ✭ 200 (+170.27%)
Mutual labels:  shortcuts
Macgesture
Global mouse gestures for macOS
Stars: ✭ 626 (+745.95%)
Mutual labels:  shortcuts
Foundationextension
Foundation/Cocoa/UIKit extension kit. Reference document:
Stars: ✭ 115 (+55.41%)
Mutual labels:  shortcuts
Quickactions
Swift wrapper for iOS Home Screen Quick Actions (App Icon Shortcuts)
Stars: ✭ 237 (+220.27%)
Mutual labels:  shortcuts
Icanhazshortcut
simple shortcut manager for macOS
Stars: ✭ 204 (+175.68%)
Mutual labels:  shortcuts
Hotkeys
🤖 A declarative library for handling hotkeys in Angular applications
Stars: ✭ 158 (+113.51%)
Mutual labels:  shortcuts

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:

  • Get the shortcut from here: https://www.icloud.com/shortcuts/6ac8f9afc47e4b109bca81648c59e2f4
  • The shortcut also writes a URL back to your clipboard, you can paste the link to your browser for a better copy experience.
  • Remember: Keep your life simple. Keep in mind that you do not upload more than 50 lines of code. Otherwise, no one wants to read it :)

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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].