Iftakhar Hasnayen Abir on Nostr: 🚀 Optimizing Nostr Logos for a Faster, Leaner Future Some think decentralization ...
🚀 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
Published at
2025-02-01 13:05:38Event JSON
{
"id": "6d2c1a040430d2f029ca49b9e458ca4d990123cded3185d98ef727ab5a6c7b2e",
"pubkey": "1031de4fd841264ebb4de849f11700f22b9d2ad2f0bc7b8edfb3bb75371d9132",
"created_at": 1738415138,
"kind": 1,
"tags": [
[
"client",
"Yakihonne",
"31990:20986fb83e775d96d188ca5c9df10ce6d613e0eb7e5768a0f0b12b37cdac21b3:1700732875747"
],
[
"p",
"3cfa816bb4892fa6be993ac72a9fcdbb089bdea0c5d9011fd204d154545fa2d9",
"",
"mention"
],
[
"p",
"7d5211250bc56eaf283ad709954ef2cc34a51bcd6f2c5f20e3cd2e746f6c5067",
"",
"mention"
],
[
"t",
"nostrDev"
],
[
"t",
"nostrUX"
],
[
"t",
"UXdesign"
],
[
"t",
"FOSS"
],
[
"t",
"Devstr"
],
[
"t",
"sustainability"
],
[
"t",
"nostrdevs"
]
],
"content": "🚀 Optimizing Nostr Logos for a Faster, Leaner Future\n\nSome 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.\n\nBy 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.\n\nBig thanks to nostr:nprofile1qy2hwumn8ghj7un9d3shjtnyv9kh2uewd9hj7qgwwaehxw309ahx7uewd3hkctcqyq704qttkjyjlf47nyavw25lekas3x775rzajqgl6gzdz4z5t73dj83tnaw nostr:nprofile1qy2hwumn8ghj7un9d3shjtnyv9kh2uewd9hj7qgawaehxw309ahx7um5wghxy6t5vdhkjmn9wgh8xmmrd9skctcqyp74yyf9p0zkateg8ttsn92w7txrffgme4hjchequ0xjuar0d3gxww8qlk4 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.\n\n💡 How?\n🔹 Adobe Illustrator (thought its not a open source solution but later we will find a solution on this ) removes unused definitions, normalizes \u0026 compress SVG structure\n\n🔹 SVGO then:\nRounds numbers to 2 decimal\nRemoves unnecessary attributes\nOptimizes path data\nUrl: jakearchibald.github.io/svgomg/\n\nPreserves essential style/colors\n🔹 A simple CLI script combines both tools for best results!\n🔗 PR: github.com/mbarulli/nostr-logo/pull/2\n\n⚡ #nostrDev #nostrUX #UXdesign #FOSS #Devstr #sustainability #nostrdevs",
"sig": "b1e448df1c3312a986785fcddacf40f14c85d4bf4c0e4f072a80a7cfb53147289cad30d7d2e038100e5b0e1bb0c536086b6a293150af2a417e9c3a0d5f151b41"
}