Carbon: Integration Requests

Created on 5 May 2018  ·  26Comments  ·  Source: carbon-app/carbon

  • ~Command Line Tool (https://github.com/dawnlabs/carbon/issues/52, https://github.com/dawnlabs/carbon/issues/240)~

    • https://github.com/mixn/carbon-now-cli

  • ~IFrame/Embeddable (https://github.com/dawnlabs/carbon/issues/179)~

    • Released with 3.5.0

  • Remark.js Integration (https://github.com/dawnlabs/carbon/issues/209)
  • Carbon API (https://github.com/dawnlabs/carbon/issues/210)
  • Chrome Extension (https://github.com/dawnlabs/carbon/issues/219)
  • ~Gatsby Plugin (https://github.com/dawnlabs/carbon/issues/312)~
  • Google Slides Integration (https://github.com/dawnlabs/carbon/issues/353)







integrations polls

Most helpful comment

Slack Integration (#533)

All 26 comments

@mfix22 If you'd like I could try to write the CLI up sometime this week. I'm not sure about the how much work the API would be, I think I can just call getCarbonImage() and pass in params as the options.

Let me know if either would be helpful :ok_hand:

@GavinRay97 i was always imagining that the initial CLI version would simply open a file up in the browser and allow flags to be set for theme and such (to start just just opening a file would be cool). This way no API is needed besides passing the correct query params.

If/when we open an API, the CLI could then later be updated to use it directly, but we shouldn't let that block the CLI effort.

Happy to accept a PR adding it to our community section of the README 😄

Couple notes:

  • [ ] Has to work cross-platform (here is an example our teammate made awhile back of how to open links in browser for the most popular OS's https://github.com/briandennis/WebLauncher)
  • [ ] Would love if it was a Node CLI so people can install with NPM

An instagram mode with resizable text based on the square dimensions would be nice too. Let me know where else I can help. I will go ahead and knock off some testing/easy issues.

@kaicianflone there is already a Square dimensions mode for Instagram (: look under "Advanced" in the settings

@mfix22 On my computer it's only exporting as square rather than sizing as square. Like some of my pictures will have the edges cutoff and some of the code missing.

Feature: Create Gist (#393 )

Just like Github gist, add support for GitLab snippets - @mittalyashu (#464)

@mfix22 if you planning to add all the features one by one, how will you structure your repository, will it be a mono-repo or multi-repo?

We don't plan on supporting _all_ of the integrations, just the most popular/useful ones.
A mono-repo 😄

@mfix22 I’d love to keep on maintaining carbon-now-cli as the “go-to-CLI” for Carbon, if that is ok with you all @dawnlabs. :) So you can focus on all other integration requests aside from the CLI.

@mixn right, most of these integrations can be created/maintained separate from our project! (:

@mfix22 I have few insight how we can deal with this feature -> IFrame/Embedded

IFrame

Allow other users to embed this whole component on their website _(more people will use and it will increase popularity of carbon)_

image

Possible options:

  1. Limitation the use of carbon component on third-party website.
  2. Unlimited usage of carbon component for verified third-party websites _(verification can be done via github, gitlab or bitbucket)_

Where it can be embed?

  1. Websites

Embed

The user can embed the carbon as an editable image, where the viewers will see as an a code snippet converted into beautiful code which is copy able and for the admin that code snippet settings can be configured and even the code snippet can be changed.

Where it can be embed?

  1. Google Slides
  2. Websites _(All types of websites: Dynamic, Static, Blogs)_
  3. Medium
  4. Stackoverflow
  5. Gitter, discord _(just to name a few)_

@mittalyashu What you propose is exactly what I have been thinking about for quite sometime after coming across Carbon. I'm not sure what it would involve but I think it could be a great step in a solid direction. But it has once again been something that has been consistently brought up through issues/PRs in the project. Time will tell how/where we will go!

Embed support was just released with 3.5.0! Try pasting any Carbon URL into Medium, or click the "Copy Embed" button to copy the iframe you can use in your own site or blog.

Slack Integration (#533)

@mfix22 I have tried pasting the carbon url. But nothing is showing on the screen.

https://medium.com/@mittalyashu/omo-b71b2a7529e2

chrome_2018-10-15_11-36-48

@mittalyashu I'm going to hide your comment, but just because I'd like you to open issues not related to new features as new issues 🙂 Please do so for your comment above

Cant see any API integration ...

Not sure if we are allowed to create an issue for new syntax

But can some add a syntax of Atom one dark theme?

But can some add a syntax of Atom one dark theme?

@mittalyashu this thread is only for integration requests — to integrate Carbon with other services and to integrate other services into Carbon.

As for you question about adding the "Atom One Dark" theme, we already have "One Dark". Is there something preventing you from using the "Create+" a theme feature to create one for yourself?

Screenshot 2019-07-29 10 27 14

Hi, thanks a lot for the amazing job here.
Any integration to rst format? It would help a lot for documentations.
Thanks

@guthlStarkware could you open a new issue? I'm not sure what rst format is.

rst is RestructedText used in Sphinx: https://www.sphinx-doc.org/en/master/usage/restructuredtext/basics.html
I guess my request could be simplified to outputting an HTML file containing all the snippet+CSS+JS.
Is it possible to do it with Carbon? Do I still need to open an issue?

@guthlStarkware no need. We can track this under #1042 (which is very similar)

I want to Integrate to Remark.js, but use embed it will create iframe for every code block. so, is there a better way to accomplish it ?

I want to Integrate to Remark.js, but use embed it will create iframe for every code block. so, is there a better way to accomplish it ?

Something like this: https://github.com/carbon-app/gatsby-remark-embed-carbon @Swordword

Also please open a new issue if you want to discuss this any further. Thanks!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

UlisesGascon picture UlisesGascon  ·  3Comments

jgierer12 picture jgierer12  ·  5Comments

farskid picture farskid  ·  4Comments

LGTMXD picture LGTMXD  ·  4Comments

hamedmoody picture hamedmoody  ·  4Comments