MCPcopy
hub / github.com/octref/polacode

github.com/octref/polacode @v0.3.2 sqlite

repository ↗ · DeepWiki ↗ · release v0.3.2 ↗
39 symbols 107 edges 4 files 1 documented · 3%
README

Polacode — Polaroid for your code 📸

usage

Why?

You have spent countless hours finding the perfect JavaScript grammar, matching it with a sleek-looking VS Code theme, trying out all the best programming fonts.

You take three days porting over your theme before starting to use VS Code.
You shell out $200 for italic cursive html attributes.

The code has to look right.

Tips

  • Resize the snippet / container by dragging the lowerright corner
  • Use polacode.target, polacode.shadow, polacode.transparentBackground and polacode.backgroundColor to control image appearance

Demo

Nord + Input Mono

demo1

Monokai Pro + Operator Mono

demo2

Material Theme Palenight + Fira Code

demo3

Credit

Thanks to @tsayen for making dom-to-image, which Polacode is using for generating the images.

Thanks to Dawn Labs for making Carbon that inspired Polacode.

Many color are taken from the elegant Nord theme by @arcticicestudio.

Download button animation is made with Vivus.

Contribution

Contribution is not very welcome. Please open an issue first so I can stop you from complicating the UX.

License

MIT

Core symbols most depended-on inside this repo

a
called by 10
webview/dom2image.js
b
called by 7
webview/dom2image.js
c
called by 7
webview/dom2image.js
h
called by 5
webview/dom2image.js
r
called by 5
webview/dom2image.js
d
called by 4
webview/dom2image.js
e
called by 4
webview/dom2image.js
syncSettings
called by 3
src/extension.js

Shape

Function 39

Languages

TypeScript100%

Modules by API surface

webview/dom2image.js18 symbols
webview/index.js12 symbols
src/extension.js7 symbols
webview/vivus.js2 symbols

Dependencies from manifests, versioned

@types/node11.12.0 · 1×
@types/vscode1.32.0 · 1×

For agents

$ claude mcp add polacode \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact