Git Product home page Git Product logo

Comments (7)

 avatar commented on May 16, 2024 3

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.

briandennis avatar briandennis commented on May 16, 2024 1

@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.

andrewda avatar andrewda commented on May 16, 2024

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.

jakedex avatar jakedex commented on May 16, 2024

See Brian's comment here: #88 (comment)

from carbon.

itaditya avatar itaditya commented on May 16, 2024

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.

zmwangx avatar zmwangx commented on May 16, 2024

Maybe it's possible to build an entirely local CLI with puppeteer?

from carbon.

mfix22 avatar mfix22 commented on May 16, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.