Better HN
topnewbestaskshowjobs
Log inSign up

themoodyrooster

76 karma · joined May 30, 2024 (2y ago) · 9 submissions

Submissions

1.

SVG Gobbler – Find, optimize, edit, and export SVGs(github.com ↗)

1 points · by themoodyrooster · 1y ago · discuss

comment 2y ago · link · parent

I don't think what you're saying applies to this conversation of transforming SVG code into configurable JSX for React using the SVGR package.

comment 2y ago · link · parent

Hmmmm, this is a fair point, but an advantage of this over other extensions like it is that there is a literal editor, IDE, for editing the SVG code.

comment 2y ago · link · parent

I made it initially to grab thousands of logos while freelancing for IFTTT. Getting company logos from their assets page was such a nightmare. This was 6+ years ago now.

comment 2y ago · link · parent

Thank you for this tip! I'll check it out.

comment 2y ago · link · parent

I believe the configurable "Floating precision" number will give you control over the amount of decimal places to round to.

comment 2y ago · link · parent

I'd prefer not to do this remotely, but I couldn't find a browser bundle from SVGR. SVGO provides one. If you can think of a way to do it, please let me know or post an issue on GitHub.

Also you can see the server code in the server folder in case you're curious what it's doing.

8.

SVG Gobbler – Find, optimize, edit, and export SVGs(github.com ↗)

185 points · by themoodyrooster · 2y ago · 28 comments