Comments (7)
If there's enough support, we could create a CLI interface for Carbon.
as a bash script or alike without npm? would be very welcome and sleek
like carbon --syntax=c --theme=material input.c output_c.png
from carbon.
@andrewda the functionality I'm working on now to get the app working in Safari should be pretty similar to what's needed for the CLI locally. Once I finish that, let's chat
UPDATE: The Safari progress went a different direction. I'm no longer working on this directly.
from carbon.
I'm super interested in working on a CLI. How would it work, though? The only way I can see it working at the moment is using an API from Carbon to fetch the image. The downside to this is that the user would need an internet connection. An alternative would be for the user to self-host Carbon, but that would result in high startup times.
It'd be great if we could think of a way to do this without a server.
from carbon.
See Brian's comment here: #88 (comment)
from carbon.
Hey guys I have made a simple CLI here https://github.com/itaditya/carbon-cli . Take a look https://www.npmjs.com/package/carbon-cli
from carbon.
Maybe it's possible to build an entirely local CLI with puppeteer?
from carbon.
Hey all, issues marked "Integrations" are being closed and theirs discussions moved to #358. With many requests for new features, this allows the Carbon team to prioritize which to support first 👍
from carbon.
Related Issues (20)
- Jupyter Notebook Frame/Style
- Single \n (empty line) is being ignored!
- Improve Documentation on how to add a new Language
- Migration to TS
- Fix #1405 for image cutoff breaks Chrome, Brave on Mac and older Safari
- Drop shadow preview does not match export (Safari 16.5.1)
- Syntax highlighting support for Microsoft Dynamics Business Central AL language.
- Incorrect final line padding
- Carbon app is not running locally HOT 2
- Auto-paste from Clipboard
- URL does not contain information about custom formatting (e.g. coloring)
- Markdown support with option to remove markdown characters
- Diff command support
- Unified diff output broken for some theme presets HOT 1
- Save not updating existing snippets HOT 3
- Formatting issue HOT 3
- Screenshot formatting is broken for hanging indent code HOT 2
- Cursor not visible with dark background HOT 2
- Feature request: increase spacing between line numbers and code HOT 2
- feature request: add new GitHub Monaspace font to font-selection
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from carbon.