excalidraw CLI
See original GitHub issueHi there, I was wondering, what if we have a CLI for excalidraw?
excalidraw my-drawing.excalidraw
This will open a browser. If my-drawing.excalidraw
already exists, it will load it.
When user clicks “save” button, it won’t show the dialog but quietly save to my-drawing.excalidraw
.
excalidraw my-drawing.excalidraw --export
with --export
given, whenever user saves, the PNG version is exported as well.
excalidraw my-drawing.excalidraw --export images/my-drawing.png
I guess this can unblock new workflows, for example, for developers who want to have drawings in their git repository.
What do you think?
Issue Analytics
- State:
- Created 3 years ago
- Reactions:16
- Comments:15 (4 by maintainers)
Top Results From Across the Web
Experimental Excalidraw CLI tool - GitHub
Experimental Excalidraw CLI tool. Parses Excalidraw JSON schemas ( *.excalidraw ) into PNGs ( *.png ). This project is a follow-up to excalidraw#1261...
Read more >@tommywalkie/excalidraw-cli - npm
Experimental Excalidraw CLI tool. Latest version: 0.5.0, last published: 2 years ago. Start using @tommywalkie/excalidraw-cli in your ...
Read more >Excalidraw | Hand-drawn look & feel • Collaborative • Secure
Excalidraw is a virtual collaborative whiteboard tool that lets you easily sketch diagrams that have a hand-drawn feel to them.
Read more >Excalidraw | npm.io
excalidraw/excalidraw, aakansha-excalidraw, @excalidraw/utils, ... Custom transformer to embed Excalidraw diagrams ... Experimental Excalidraw CLI tool.
Read more >@tommywalkie/excalidraw-cli v0.5.0 Bundlephobia
Size of @tommywalkie/excalidraw-cli v0.5.0 is 358.5 kB (minified), and 101.6 kB when compressed using GZIP. Bundlephobia helps you find the performance ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hello there, I’m currently trying to implement it in the following repo :
tommywalkie/excalidraw-cli
. A lot of CLI key features / refactoring / testing are still work-in-progress but it already works for directories with*.excalidraw
files.Early concept demo
I may consider opening another issue to export some useful Excalidraw renderer methods and constants (especially
drawElementOnCanvas()
) so it can be easily integrated with this tool.I didn’t follow the whole conversation… but should we maybe create an official
excalidraw/excalidraw-cli
repo and take it from there? It seems that we need this tool.