Damus
Iftakhar Hasnayen Abir profile picture
Iftakhar Hasnayen Abir
@Iftakhar Hasnayen Abir
๐Ÿš€ Optimizing Nostr Logos for a Faster, Leaner Future

Some think decentralization is slow or resource-heavy. But efficiency is a choice. Every unnecessary kilobyte adds up, impacting speed, user experience, and even energy consumption.

By optimizing 7 Nostr logo SVGs, I reduced file sizes without any loss in quality, making them lighter, faster, and more sustainable. Small changes like this contribute to a more efficient and accessible decentralized ecosystem.

Big thanks to @Marco Barulli @bembureda for creating the original logo. It's great to contribute my knowledge about optimization to help improve an icon that so many in the Nostr community use.

๐Ÿ’ก How?
๐Ÿ”น Adobe Illustrator (thought its not a open source solution but later we will find a solution on this ) removes unused definitions, normalizes & compress SVG structure

๐Ÿ”น SVGO then:
Rounds numbers to 2 decimal
Removes unnecessary attributes
Optimizes path data
Url: jakearchibald.github.io/svgomg/

Preserves essential style/colors
๐Ÿ”น A simple CLI script combines both tools for best results!
๐Ÿ”— PR: github.com/mbarulli/nostr-logo/pull/2

โšก #nostrDev #nostrUX #UXdesign #FOSS #Devstr #sustainability #nostrdevs
31โค๏ธ6โค๏ธ2๐ŸŒฟ1๐Ÿ‘€1๐Ÿ’œ1
AU9913 · 54w
Good work
Jurjen de Vries · 54w
nostr:nprofile1qqsrgqj5uqg6hk3wsfv9e0lwf7gm8ur4fxnvg687qzdl8mrkvk3wxxcprpmhxue69uhhyetvv9ujuumwdae8gtnnda3kjctvqy28wumn8ghj7un9d3shjtnyv9kh2uewd9hszynhwden5te0danxvcmgv95kutnsw43qhmus4x small, but also great example of sustainable development. Because logos are used a lot of times. It saves between ...