react-chords icon indicating copy to clipboard operation
react-chords copied to clipboard

Standalone Chord → SVG Converter?

Open zicklag opened this issue 4 years ago • 4 comments

I'm not super familiar with React or this implementation yet, but I wanted to ask, is there a way to simply generate the SVG from the chord information not inside of a React app?

zicklag avatar Dec 07 '20 18:12 zicklag

Hi @zicklag, there isn't currently an implementation for this although it should technically be possible.

I would suggest trying to use this library in a very simple react web page and see how far you can get with getting it to generate the SVGs that you can then download. If you run into issues getting it working then feel free to ask for help here.

jameshulse avatar Dec 07 '20 22:12 jameshulse

OK, thanks! :+1: I have a feeling that I'll probably just end up writing the JSON → SVG converter myself so I can easily include it in my Vue app, but I'll try to remember to post here however it goes.

zicklag avatar Dec 07 '20 22:12 zicklag

Okay no problem. You can borrow as much of this library as possible as it should port relatively well to Vue.

jameshulse avatar Dec 07 '20 23:12 jameshulse

Same situation for my Angular App!

jrmora avatar Feb 27 '21 22:02 jrmora