I have some ideas for how to animate svgs using various elm packages. To do this, I need to transform raw svgs made in inkscape into elm source code which uses elm/svg. What tools are people using for stuff like this?
I found a link to an old svg-to-elm project but the link wont load. Also, I cant seem to find anything on github.
https://html-to-elm.com/ works for SVG too. The tool is created by one of the most knowledgeable community members and allows for customization of imports which is a freaking awesome way to avoid name clashes.
I double the suggestion by @lucamug to pass the output of Inkscape through SVGOMG in order to minimize the amount of content you will end up with.
That command will even notice the imports you have for Html or Html.Styled and use the appropriate import aliases or exposed functions in the generated code. Enjoy!
I was thinking about writing a parcel plugin for this purpose recently. I stopped because it seemed more difficult than I thought but it would to a great thing to finish.