#

posts

(5 articles)

How Parzzix Blog Works: Nostr, Caching, and Lightning-Fast Loads - Edited

*Repost due to slop* Ever click a post on this blog and wonder, “How did that load so fast?!” Let’s break down the secret recipe behind the [Parzzix blog](https://parzzix.com)—no PhD required. --- ### 1. Grabbing Posts from Nostr (The Decentralized Way) This blog doesn’t just sit around waiting for posts to show up. It’s proactive! When you visit, it connects to a bunch of **Nostr relays** (think of them as different radio stations broadcasting blog posts). It asks: > “Hey, got any new posts from [Parzzix](https://parzzix.com)?” ...and grabs them right out of the air. ### 2. Static Site Generation: Your Browser Is the Server Here’s where it gets clever. Instead of fetching posts from the network every single time (which would be as slow as dial-up), the blog saves a copy of every post it finds **right in your browser’s `localStorage`**. That means: - The next time you visit, the blog just hands you the posts instantly—no waiting, no spinning wheels. - Even if you go offline, your browser still remembers the posts. *(It’s like your browser has a photographic memory.)* ### 3. Keeping Things Fresh (But Not Stale) Whenever a new post is found: - It’s added to the cache. - It’s synced with the blog’s main list. - Posts are sorted so the newest is always on top. No more scrolling through ancient history to find the latest hot take. ### 4. Why Is This Awesome? - **Blazing Fast**: Posts load before you can say “Nostr.” - **Works Offline**: Read posts on a plane, train, or in a WiFi-free zone. - **No Server Needed**: The blog is so efficient, it could run on a potato *(but please don’t try).* ### 5. A Little Techie Humor If this blog were a person, it’d be that friend who: - Always remembers your birthday - Never forgets a story - Can recite them back to you at lightning speed—even if the internet is down

How Parzzix Blog Works: Nostr, Caching, and Lightning-Fast Loads

Ever click a post on this blog and wonder, “How did that load so fast?!” Let’s break down the secret recipe behind the Parzzix blog—no PhD required. 1. Grabbing Posts from Nostr (The Decentralized Way) This blog doesn’t just sit around waiting for posts to show up. It’s proactive! When you visit, it connects to a bunch of Nostr relays (think of them as different radio stations broadcasting blog posts). It asks, “Hey, got any new posts from Parzzix?” and grabs them right out of the air. 2. Static Site Generation: Your Browser Is the Server Here’s where it gets clever. Instead of fetching posts from the network every single time (which would be as slow as dial-up), the blog saves a copy of every post it finds right in your browser’s localStorage. That means: The next time you visit, the blog just hands you the posts instantly—no waiting, no spinning wheels. Even if you go offline, your browser still remembers the posts. (It’s like your browser has a photographic memory.) 3. Keeping Things Fresh (But Not Stale) Whenever a new post is found, it’s added to the cache and also synced with the blog’s main list. The posts are sorted so the newest is always on top—no more scrolling through ancient history to find the latest hot take. 4. Why Is This Awesome? Blazing Fast: Posts load before you can say “Nostr.” Works Offline: Read posts on a plane, train, or in a WiFi-free zone. No Server Needed: The blog is so efficient, it could run on a potato (but please don’t try). 5. A Little Techie Humor If this blog were a person, it’d be that friend who always remembers your birthday, never forgets a story, and can recite them back to you at lightning speed—even if the internet is down.

📝 Blogster: Write Locally, Publish Globally (Without the Cloud Watching)

Let’s be honest — most writing apps today are just fancy cloud portals. You open a tab, type into a browser, and your words vanish into someone else’s server. Your drafts? Stored in a corporate database. Your blog? At the mercy of a platform’s terms of service. **But what if you could write on your own machine, keep your files, and still publish to the world — without giving up control?** Say hello to **[Blogster](https://github.com/Parzzix/blogster)**: a minimalist markdown editor that lets you **write locally** and **publish directly to Nostr**, the decentralized social protocol. --- ## 🧠 Why Blogster? Because **your words should belong to you**. Most modern editors are cloud-first. Blogster flips the script: - You write on your machine. - You save your files on your machine. - You publish to **Nostr**, not Medium, Substack, or some walled garden. No accounts. No subscriptions. No surveillance. Just markdown, your keys, and a direct line to the decentralized web. --- ## 🔥 Nostr Publishing: Your Blog, Your Rules Blogster is one of the *very few* markdown editors that supports **native Nostr publishing**. What that means: - Your post is signed with your private key - It’s broadcast to Nostr relays - It lives on the decentralized web — not in a single company’s database You can publish blog posts, notes, essays, or even manifestos — and no one can take them down. Because **you own the keys**. --- ## ✨ Features That Respect You - **Local-first editing** – Files are saved on your machine, not someone else's - **Live Markdown Preview** – What you see is what you get - **Dark Mode** – For late-night inspiration - **Auto-Save** – Because accidents happen - **Search & Tagging** – Stay organized - **Syntax Highlighting** – Great for technical writing - **Cross-platform** – Built with Flutter, Linux first, mobile and Windows in the works. - **Nostr Integration** – The future of publishing, built in --- ## 🛠️ Under the Hood Blogster is built with: - `Flutter` + `Dart` for a smooth, responsive UI - `web_socket_channel` to talk to Nostr relays - `crypto` to sign your content securely - `provider` for clean state management It’s open source, lightweight, and hackable — perfect for developers, writers, and anyone who wants to own their content. --- ## 🧪 Try It Out Ready to break free from the cloud and publish on your own terms? 👉 [Check out Blogster on GitHub](https://github.com/Parzzix/blogster) Clone it. Run it. Write something meaningful. And then hit **Publish to Nostr** and watch your words fly across the open web. --- **Blogster**: Write freely. Publish anywhere. Own your voice. Happy writing! 📝🌐