#Decentralized #Module #Federation #Microfrontend #Architecture

I'm working on a #webapp and I'm being #creative on the #approach. It might be considered #overcomplicated (because it is), but I'm just trying something out. It's entirely possible this approach won't work #longterm. I see it as there is #onewaytofindout. I don't recommend this approach. Just sharing what I'm trying/#investigating.

How it will be #architected: [https://positive-intentions.com/blog/decentralised-architecture](https://positive-intentions.com/blog/decentralised-architecture)
Some #benefits of the #approach: [https://positive-intentions.com/blog/statics-as-a-chat-app-infrastructure](https://positive-intentions.com/blog/statics-as-a-chat-app-infrastructure)

I find that #modulefederation and #microfrontends to generally be #discouraged when I see posts, but I think it works for me in my #approach. I'm #optimistic about the approach and the #benefits and so I wanted to #share details.

When I serve the #federatedmodules, I can also host the #storybook statics so I think this could be a good way to #document the modules in #isolation.

#Cryptography modules - https://cryptography.positive-intentions.com/?path=%2Fdocs%2Fcryptography-introduction--docs

#P2P framework - https://p2p.positive-intentions.com/?path=%2Fdocs%2Fe2e-tests-connectionstatus--docs

This way, I can create #microfrontends that consume these #modules. I can then #share the #functionality between #apps. The following apps are using a different codebase from each other (there is a #distinction between these apps in #opensource and #closesource). Sharing those #dependencies could help make it easier to roll out #updates to #coremechanics.

#P2P chat - [https://chat.positive-intentions.com/](https://chat.positive-intentions.com/)
#P2P file transfer - [https://file.positive-intentions.com/](https://file.positive-intentions.com/)

The #functionality also works when I create an #Android build with #Tauri. This could also lead to it being easier to create #newapps that could use the #modules created.

I'm sure there will be some distinct #test/#maintenance #overhead, but depending on how it's #architected I think it could work and make it easier to #improve on the current #implementation.

Everything about the #project is far from finished. It could be seen as this is a #complicated way to do what #npm does, but I think this #approach allows for greater #flexibility by being able to #separate #opensource and #closesource code for the #web. (Of course as #javascript, it will always be "source code available". Especially in the age of #AI, I'm sure it's possible to #reverseengineer it like never before.)

(mastodon might not be the place for something like this, so let me know if you dont like this kind of content. i typically post on reddit and would like to shift it more towards mastodon. i also use lemmy, but mastodon has a better reach.)

Decentralized P2P Chat & File Transfer - Secure Messaging Without Central Servers | positive-intentions

Experience secure P2P chat, file transfer, and video calls without registration. Built on decentralized architecture with end-to-end encryption and complete data ownership.

positive-intentions

My (current, hopefully short-lived) kernel development setup:

* Kernel searching: grep
* Kernel studying: Vim
* Kernel hacking: Kate
* For creating patches: diff
* For creating *real* patches: git
* For creating *real* patches WITH changelogs!: sometimes Vim, sometimes Kate, sometimes nano
* Email viewing: Half-broken configuration of Thunderbird
* Email sending: Mutt
* Email composer: nano
* For sending patches to my boss: Element

Yes, it actually works. Yes, I need to make something better.

#linux #kernel #development #programming #overcomplicated
#mess

I'm now doing welt pockets if you're wondering how that project is going.

I'm never gonna learn, am I.

#sewing #overcomplicated

@skye You could buy one of these shaving thing-a-ma-jigs, replace the suction cups with grommets, and then either get two cheap tripods to attach the grommets to, or put eye-hooks on your ceiling and dangle down lines to tie to the grommets. Simple! #Overcomplicated #RubeGoldberg -ian.
Just spent about an hour setting up an old iPhone for playing music. iTunes has become almost unusable anymore🙄
#overcomplicated