frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Show HN: E2EE Messaging with a Decentralized Microfrontend Architecture

https://positive-intentions.com/blog/decentralised-architecture/
1•Screen8774•6h ago
Decentralized Architecture: https://positive-intentions.com/blog/decentralised-architect...

While my approach here could be considered overly complicated (because, well, it is), I’m trying something new, and it’s entirely possible this strategy won’t be viable long-term. My philosophy is “there’s only one way to find out.” I’m not necessarily recommending this approach, just sharing my journey and what I’m doing.

Potential Benefits I’ve identified some interesting benefits to this approach:

Statics as Chat App Infrastructure: https://positive-intentions.com/blog/statics-as-a-chat-app-i... While I often see module federation and microfrontends discouraged in online discussions, I believe they’re a good fit for my specific approach. I’m optimistic about the benefits and wanted to share the details.

When serving the federated modules, I can also host the Storybook statics. I think this could be an excellent way to document the modules in isolation.

Modules and Applications Here are some examples of the modules and how they’re being used:

Cryptography Modules: https://cryptography.positive-intentions.com/?path=%2Fdocs%2... P2P Framework: https://p2p.positive-intentions.com/?path=%2Fdocs%2Fe2e-test... This setup allows me to create microfrontends that consume these modules, enabling me to share functionality between different applications. The following applications, which have distinct codebases (and a distinction between open and closed source), would be able to leverage this:

P2P Chat: https://chat.positive-intentions.com/ P2P File Transfer: https://file.positive-intentions.com/ Sharing these dependencies should make it easier to roll out updates to core mechanics across these diverse applications.

Furthermore, this functionality also works when I create an Android build with Tauri. This could streamline the process of creating new applications that utilize these established modules.

Considerations and Future I’m sure there will be some distinct testing and maintenance overhead with this architecture. However, depending on how it’s implemented, I believe it could work and make it easier to improve upon the current functionality.

It’s important to note that everything about this project is far from finished. Some might view this as an overly complicated way to achieve what npm already does. However, I think this approach offers greater flexibility by allowing for the separation of open and closed-source code for the web. Of course, being JavaScript, the “source code” will always be accessible, especially in the age of AI where reverse-engineering is more possible than ever before.

Comments

nick-laptev•4h ago
Lots of water. You have centralised frontend architecture with S3 serving frontend resources. Only messaging looks decentralized but it barely covered in the article.
Screen8774•2h ago
i was trying to avoid too many links in the post (i thought it might be offputting)... it seems like too much already to me, but here are some more for clarity. feel free to reach out for for details if you cant find them on the website (i hope the search bar is enough).

the app is provided over S3 because as a webapp, it is a simple way to make it available to users. ultimately, making it easier to get started. like with most solutions of this nature, its most secure when selfhosted. selfhosting options: https://positive-intentions.com/blog/docker-ios-android-desk...

the chat app itself can be a whole separate discussion. here are some links with more information. messaging app: https://positive-intentions.com/docs/projects/chat github: https://github.com/positive-intentions/chat

Google develops AI tool that fills missing words in Roman inscriptions

https://www.theguardian.com/science/2025/jul/23/google-ai-tool-roman-inscriptions-aeneas
1•pseudolus•1m ago•0 comments

UdeM researchers confirm a fifth potentially habitable planet around L 98-59

https://nouvelles.umontreal.ca/en/article/2025/07/22/a-udem-team-confirms-a-fifth-potentially-habitable-planet-around-l-98-59-a-red-dwarf-35-l/
1•layer8•1m ago•0 comments

Cara – High Precision Robot Dog Using Rope

https://www.aaedmusa.com/projects/cara
2•hakonjdjohnsen•3m ago•1 comments

Photograph should haunt you for the rest of your life

https://twitter.com/owenjonesjourno/status/1948000898468450799
1•ahmetcadirci25•3m ago•0 comments

A valid HTML zip bomb

https://ache.one/notes/html_zip_bomb
1•_ache_•5m ago•0 comments

Building Jetflow: a framework for performant data pipelines at Cloudflare

https://blog.cloudflare.com/building-jetflow-a-framework-for-flexible-performant-data-pipelines-at-cloudflare/
2•resiros•5m ago•0 comments

Python Unchained: Xian vs. Vyper on the Road to Web3

https://paragraph.com/@crosschainer/python-unchained-xian-vs-vyper
1•crosschainer•6m ago•0 comments

Trump unveils his plan to put AI in everything

https://www.theverge.com/news/712513/trump-ai-action-plan
1•zhyder•9m ago•0 comments

Intel Simics 6 Transitioning to Legacy State

https://www.windriver.com/blog/Intel-Simics-6-Transitioning-to-Legacy-State
1•ohjeez•9m ago•0 comments

Hyperpb: 10x faster dynamic Protobuf parsing that's faster than generated code

https://buf.build/blog/hyperpb
1•bhollis•9m ago•0 comments

UK accidentally invaded Spain in 2002, reveals former First Sea Lord (2017)

https://www.independent.co.uk/news/uk/politics/uk-invade-spain-2002-accidentally-royal-marine-lord-west-gibraltar-first-sea-lord-beach-a7665716.html
1•Bluestein•10m ago•0 comments

Launch: Zams – Build AI Agents That Automate Sales Work

https://www.zams.com
1•nddave•13m ago•1 comments

Moths Incorporate Plant Acoustic Emissions into Their Decision-Making Process

https://elifesciences.org/reviewed-preprints/104700v1
1•PaulHoule•13m ago•0 comments

Sam Altman – This Past Weekend with Theo Von [video]

https://www.youtube.com/watch?v=aYn8VKW6vXA
1•lagniappe•13m ago•0 comments

A message from the FusionAuth founder regarding why he stepped down as CEO

https://fusionauth.io/blog/message-from-pontarell
1•mooreds•13m ago•0 comments

Trump grants two years of regulatory relief to polluting industries

https://apnews.com/article/trump-coal-epa-clean-air-exemption-mercury-7b800db8d6cf6fffbee28039f42d2daf
3•geox•15m ago•0 comments

The Promised LAN

https://tpl.house/
17•Bogdanp•17m ago•1 comments

Helix 25.07: What's New? [video]

https://www.youtube.com/watch?v=DkhkKqYVIs8
2•davidkunz•17m ago•0 comments

Show HN: Apple Health MCP Server

https://github.com/neiltron/apple-health-mcp
1•_neil•18m ago•0 comments

A bunch of websites started including the phrase "Today <date> you use ruffle "

https://twitter.com/Dinnerbone/status/1948039553115168928
1•drewtato•18m ago•1 comments

NHTSA: Withdrawing Proposal for Speed Limiting Devices [pdf]

https://public-inspection.federalregister.gov/2025-13928.pdf
2•impish9208•19m ago•0 comments

The Elements of Artificial Intelligence

https://bradygerber.com/the-elements-of-artificial-intelligence/
1•bg-write•20m ago•0 comments

Suzuki Fronx: An affordable city SUV with one tonne weight

https://www.globalsuzuki.com/automobile/lineup/fronx/
1•teleforce•23m ago•0 comments

Interactive Programming in C (2014)

https://nullprogram.com/blog/2014/12/23/
3•ofalkaed•25m ago•0 comments

Palmer Luckey considering entering laptop market with US-made model

https://www.tomshardware.com/laptops/palmer-luckey-considering-entering-laptop-market-with-fully-us-made-model-wants-to-know-if-youd-spend-20-percent-more-for-an-american-made-pc
1•simonpure•25m ago•2 comments

Why Is There a Date of 1968 in the Intel Chipset Device Software Utility?

https://www.intel.com/content/www/us/en/support/articles/000095169/processors.html
2•vegadw•27m ago•0 comments

Cable Bacteria Are Living Batteries

https://www.asimov.press/p/cable-bacteria
2•mailyk•28m ago•0 comments

Scottie Scheffler raised questions about happiness and fulfillment

https://www.nytimes.com/athletic/6502755/2025/07/18/scottie-scheffler-arthur-brooks-happiness-fulfillment-open/
4•ricciardo•29m ago•1 comments

Voltaire: Enlightenment Philosopher and Lottery Scammer

https://www.smithsonianmag.com/smart-news/voltaire-enlightenment-philosopher-and-lottery-scammer-180967265/
1•rbanffy•29m ago•0 comments

The Science Behind Coincidences. July 14, 1993, Joan Ginther Walks Into

https://medium.com/@polovenko.tetyana/the-science-behind-coincidences-de5b9eb8726
1•rbanffy•29m ago•0 comments