What is Nostr?
mbarulli / Marco Barulli
npub18na…5evl
2025-02-01 15:14:14

mbarulli on Nostr: "Some think decentralization is slow or resource-heavy. But efficiency is a choice." ...

"Some think decentralization is slow or resource-heavy. But efficiency is a choice."

🚀 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 mbarulli (nprofile…tnaw) bembureda (nprofile…qlk4) 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
Author Public Key
npub18nagz6a53yh6d05e8trj487dhvyfhh4qchvsz87jqng4g4zl5tvs825evl