Skip Navigation

xoron

@xoron.programming.dev.ap.tdpl.io

34 Posts0 Comments0 Memberships

Joined November 2026

  • Decentralized Microfrontend Architecture

    image IMPORTANT DISCLAIMER: This is my own project. I am using AI. Its important to get that out of the way... because its the key reason for why YOU SHOULD NOT USE IT. Im not trying to promote "yet another secure messaging app", this is an example to see what is possible with a related UI framework im working on ( https://github.com/positive-intentions/dim ). Its unreviewed, unaudited and far from finished. This framework is intended for myself on my own projects. It is provided open-source for transparency, testing and demo purposes only. There will be breaking changes. • Messaging app repo: https://github.com/positive-intentions/dimim • Live demo: https://dim.glitr.io/ • Framework guide: https://glitr.io/docs/technical/research-and-development/dim/getting-started The key details that set this approach apart: • No minification or transpilation • No React, NPM or bundler • Works from index.html The architecture is also a bit unique. Module federation has been around for a while but still fairly under-used. Im aiming for something that could be described as like a vanilla JS "decentralized microfrontend architecture", where in this approach, i can abstract complexity into seperate repositories to manage reusble functionality like in the boilerplate example: • Code: https://github.com/positive-intentions/dim-boilerplate • Demo: https://positive-intentions.github.io/dim-boilerplate • Docs: https://glitr.io/docs/technical/research-and-development/dim/dim-boilerplate To avoid vibecoded cryptography, the aim here is to avoid handling encryption where appropriate. Browsers that support webrtc, will have their own mechanisms for managing encryption (as required by the spec). The keys will not be accessible from app-level JS code. For security best-practice, users should use an OS, browser and network they trust. To make something complicated at scale, i would need to have an approach for testing out changes in a way thats more isolated/focused. The npm ecosystem is useful because you can have things like storybook, unit-testing and browser automation tools. So i wanted to see what is possible with the pure javascript approach and created runTests.html. Like the main app, the code is just plain javascript and so it can be imported and tested with production statics. The testing functionality here is especially far from finished. This is an important feature to do it properly because it would be doing a lot of heavy lifting as the project improves. P.S. The disclaimer above is always worth repeating. Im aiming for a post like this to be like "building in public". If interesting to anyone, i hope its inviting to take a look. It's hard to determine if / when its a good time to share, so best to get it out there sooner for any outstanding issues i may have overlooked.

  • Decentralized Microfrontend Architecture

    image IMPORTANT DISCLAIMER: This is my own project. I am using AI. Its important to get that out of the way... because its the key reason for why YOU SHOULD NOT USE IT. Im not trying to promote "yet another secure messaging app", this is an example to see what is possible with a related UI framework im working on ( https://github.com/positive-intentions/dim ). Its unreviewed, unaudited and far from finished. This framework is intended for myself on my own projects. It is provided open-source for transparency, testing and demo purposes only. There will be breaking changes. • Messaging app repo: https://github.com/positive-intentions/dimim • Live demo: https://dim.glitr.io/ • Framework guide: https://glitr.io/docs/technical/research-and-development/dim/getting-started The key details that set this approach apart: • No installation or registration • No minification or transpilation • No React, NPM or bundler • Works from index.html To make something complicated at scale, i would need to have an approach for testing out changes in a way thats more isolated/focused. The npm ecosystem is useful because you can have things like storybook, unit-testing and browser automation tools. So i wanted to see what is possible with the pure javascript approach and created runTests.html. Like the main app, the code is just plain javascript and so it can be imported and tested in with production statics. The testing functionality here is especially far from finished. This is an important feature to do it properly because it would be doing a lot of heavy lifting as the project improves. The architecture is also a bit unique. Module federation has been around for a while but still fairly under-used. Im aiming for something that could be described as like a vanilla JS "decentralized microfrontend architecture", where in this approach, i can abstract complexity into seperate repositories to manage reusble functionality like in the boilerplate example: • Code: https://github.com/positive-intentions/dim-boilerplate • Demo: https://positive-intentions.github.io/dim-boilerplate • Docs: https://glitr.io/docs/technical/research-and-development/dim/dim-boilerplate To avoid vibecoded cryptography, the aim here is to avoid handling encryption where possible. Browsers that support webrtc, will have their own mechanisms for managing encryption (as required by the spec). The keys will not be accessible from app-level JS code. For security best-practice, users should use an OS, browser and network they trust. P.S. The disclaimer above is always worth repeating. Im aiming for a post like this to be like "building in public". If interesting to anyone, i hope its inviting to take a look. It's hard to determine if / when its a good time to share, so best to get it out there sooner for any outstanding issues i may have overlooked.

  • A React-like JS Framework with Web Components

    IMPORTANT DISCLAIMER: This is my own project. Im am using AI. Its important to get that out of the way... because its the key reason for why YOU SHOULD NOT USE IT. Im not trying to promote "yet another ui framework", this is an investigation to see what is possible. Its unreviewed, unaudited and far from finished. Nobody else should be using this. This framework is intended for myself on my own projects. It is provided open-source for transparency, testing and demo purposes only. I was investigating an idea i had about JSX-like syntax for webcomponents after some experience with Lit. I am sharing this here because it might be interesting/educational. Lit is a nice lightweight UI framework, but i didnt like that it was using class-based components. It can support React with a wrapper, buts React is fundamentally an abstraction away from the DOM. Vue has a nice approach but i prefer working with the syntax that React uses. I find it more intuitive for debugging and deterministic rendering. I wondered if with webcomponents, i could create a UI framework that didnt need to be transpiled. • docs • code • demo My intentions with this framework is to get to a reasonable level of stability, to then replace React on some of my existing projects. I made a start by creating some basic reusable ui components components to be built with the js framework. Aiming for something like Material UI. • code • demo I can then compound that slop down into some basic UI demos: • Shopping app demo • Messaging app demo • Encrypted Notes app demo To better demonstrate the pure-javascript and no-transpilation approach, i created an example repo of using a minimal amount of tooling for a PWA. The aim here is to keep the application logic in readable js and abstract the framework logic away from the developer. • code • demo To simplify things for myself, i added something similar to module-federation where i can fetch the dim/core dependencies as remote statics from github-pages instead of publishing to npm. The approach has tradoffs worth considering and is still a work-in-progress. The disclaimer above is always worth repeating. Im aiming for a post like this to be like "building in public". If interesting to anyone, i hope its inviting to take a look. It's hard to determine if / when its a good time to share, so best to get it out there sooner for any outstanding issues i may have overlooked.

  • A React-like JS Framework with Web Components

    I was investigating an idea i had about JSX-like syntax for webcomponents after some experience with Lit. I am sharing this here because it might be interesting/educational. Lit is a nice lightweight UI framework, but i didnt like that it was using class-based components. It can support React with a wrapper, buts React is fundamentally an abstraction away from the DOM. Vue has a nice approach but i prefer working with the syntax that React uses. I find it more intuitive for debugging and deterministic rendering. I wondered if with webcomponents, i could create a UI framework that didnt need to be transpiled. • docs • code • demo My intentions with this framework is to get to a reasonable level of stability, to then replace React on some of my existing projects. I made a start by creating some basic reusable ui components components to be built with the js framework. Aiming for something like Material UI. • code • demo I can then simmer that slop into some basic UI demos: • Shopping app demo • Messaging app demo • Encrypted Notes app demo To better demonstrate the pure javascript approach, i created an example of using a minimal amount of tooling for a PWA. The aim here is to keep the application logic in readable js and abstract the framework logic away from the developer for better DX. • code • demo To simplify things for myself, i added something similar to module-federation where i can fetch the dim dependencies from remote instead of publishing to npm. The approach has tradoffs worth considering and is still a work in progress.

  • A React-like JS Framework with Web Components

    IMPORTANT DISCLAIMER: This is my own project. Im am using AI, so lets get that out of the way... because its the key reason for why YOU SHOULD NOT USE IT. Im not trying to promote "yet another ui framework", this is an investigation to see what is possible. Its unreviewed, unaudited and far from finished. Nobody else should be using this. This framework is intended for myself on my own projects. It is provided open-source for transparency, testing and demo purposes. Feel free to reach out for clarity if you have any questions. Im was investigating an idea i had about JSX-like syntax for webcomponents after some experience with Lit. I am sharing this here because it might be interesting/educational. Lit is a nice lightweight UI framework, but i didnt like that it was using class-based components. It can support React with a wrapper, buts React is fundamentally an abstraction away from the DOM. Vue has a nice approach but i prefer working with the syntax that React uses. I find it more intuitive for debugging and deterministic rendering. I wondered if with webcomponents, i could create a UI framework that didnt need to be transpiled. • docs • code • demo My intentions with this framework is to get to a reasonable level of stability, to then replace React on some of my existing projects. I made a start by creating some basic reusable ui components components to be built with the js framework. Aiming for something like Material UI. • code • demo I can then simmer that slop into some basic UI demos: • Shopping app demo • Messaging app demo • Encrypted Notes app demo To better demonstrate the pure javascript approach, i created an example of using a minimal amount of tooling for a PWA. The aim here is to keep the application logic in readable js and abstract the framework logic away from the developer for better DX. • code • demo To simplify things for myself, i added something similar to module-federation where i can fetch the dim dependencies from remote instead of publishing to npm. The approach has tradoffs worth considering and is still a work in progress. The disclaimer above is always worth repeating. Im aiming for a post like this to be like "building in public". If interesting to anyone, i hope its inviting to take a look. It's hard to determine if / when its a good time to share, so best to get it out there sooner for any outstanding issues i may have overlooked.

  • Browser-based LLM Chatbot

    To help users on the Glitr.io app, it was important to document the details around the “how it works”. Using Docusaurus, I can then index that data (like used in the Docusaurus search) to be consumed by some script locally and offer suggested links. I framed this as like a chatbot so that it can be intuitive for users who have questions. At first it was only a fancy autocomplete. I then wanted to investigate running a local LLM to offer a more conversational experience (or better suggestions)? I'm using WebLLM on a browser and it seems to work “reasonably” well. I wired it up and set it up so users can select an LLM to download for offline use. The experience varies between devices and models used. There are models that are 19MB… they seem pretty unusable. There are also some ~1GB models which are better but understandably slow. I hope to add more models available and users can choose one that suits them (or none). Without an AI, i hope the "fancy autocomplete" can fill in the gaps. Its great that the ~1GB models can “show me the bubble-sort in rust”, but i want something “dumber” to aim for smaller (im assuming a ~1GB download from the onset would be off-putting for most users). Ideally, something can can take advantage the data ive already indexed. Something that can respond “quickly enough” for a conversational flow on a "modern" phone. Im aiming for a good user-experience more than trying to wedge in an LLM... and a fancy autocomplete might be enough if i create the appropriate coachmarks and docs. It might be better to scrap the LLM in chat approach and have context aware templates instead for a "fancier autocomplete". Are there any smaller language models out there im overlooking for me to investigate and compare? • Find out more: https://glitr.io/docs/technical/ai • Test it out: https://app.glitr.io/ai Note: I hope it goes without saying, this is not ever going to be competative against offerings out there like ChatGPT, Claude, Grok, etc. This project is experiemental and unstable. Its far from finished. Im still trying things out. Use responsibly.

  • Browser-based WebLLM Chatbot

    To help users of my app, it was important to document the details around the “how it works”. the docs were easy enough using docusaurus + AI. i can then index that data (like used in the docusaurus search). i framed this as like a chatbot so that it can be intuitive for users who have questions. at this point it was really just a fancy autocomplete. i started to investigate running a local LLM to perhaps offer a more conversational experienced (and hopefully better suggestions)? im using WebLLM on a browser and it seems to work “reasonably” well. i wired it up and set it up so users could select an LLM down download for offline use. the experience varies between devices and models used. there are models that are 19mb… they are unsable as far as i can tell. there are some ~1gb models which are better but understandable slow. its great that the 1gb model can “show me the bubble-sort in rust”, but i want something “dumber” and smaller. something can can take advantage the data ive already indexed. something that can respond “quickly enough” for a conversational flow. perhaps better i should make a verbose set of reponse templates to perhaps add fancier autocomplete capabilities. are there any models out there you can suggest for me to investigate and compare? note: the project is unstable, experiemental and there will be breaking changes. its far from finished. im just trying things out and this approach with LLM’s might just be a waste of time. if you want to test it out, you can try: https://app.glitr.io/ai

  • Browser-based WebLLM Chatbot

    To help users of my app, it was important to document the details around the "how it works". the docs were easy enough using docusaurus + AI. i can then index that data (like used in the docusaurus search). i framed this as like a chatbot so that it can be intuitive for users who have questions. at this point it was really just a fancy autocomplete. i started to investigate running a local LLM to perhaps offer a more conversational experienced (and hopefully better suggestions)? im using WebLLM on a browser and it seems to work "reasonably" well. i wired it up and set it up so users could select an LLM down download for offline use. the experience varies between devices and models used. there are models that are 19mb... they are unsable as far as i can tell. there are some ~1gb models which are better but understandable slow. its great that the 1gb model can "show me the bubble-sort in rust", but i want something "dumber" and smaller. something can can take advantage the data ive already indexed. something that can respond "quickly enough" for a conversational flow. perhaps better i should make a verbose set of reponse templates to perhaps add fancier autocomplete capabilities. are there any models out there you can suggest for me to investigate and compare? note: the project is experiemental and unstable. its far from finished. im just trying things out and this approach with LLM's might just be a waste of time. if you want to test it out, you can try: https://app.glitr.io/ai

  • Signal Protocol in Rust

    I wanted to implement the Signal protocol for a series of secure messaging apps I’m working on, so I built this project to test and use in my own work. It’s still far from finished, but I think it’s at a stage where it’s worth sharing with the community. IMPORTANT DISCLAIMER: This project is not professionally audited and is not production-ready. I do not recommend anyone use this in their own code yet. It is provided strictly for testing, experimentation, and demo purposes. I used AI as an assistant to help build this, so double-check everything before taking it seriously. Project Links: • GitHub: https://github.com/positive-intentions/signal-protocol • Live Demo: https://signal.positive-intentions.com/ • Formal Verification Docs: https://glitr.io/docs/technical/formal-verification/signal-protocol • Security Feedback (ROS): https://www.reddit.com/r/CyberSecurityAdvice/comments/1su8lir/security_audit_feedback_from_radically_open Current Status & Development: • Spec Alignment: The goal is to fully align with the official Signal protocol spec. • Testing: It includes unit tests, but due to WASM testing limitations, I also added a Storybook-like UI to run and test it directly within a browser environment.

  • Reverse engineering my own project

    TLDR; i thought my project would have been harder to chew up. it was surprisingly low-effort. ——— i wanted to red-team myself on my project and id like to know how to reverse engineer so i can see what can be done to defend against it. my app is aiming to be fully client-side. An implementation in javascript seems like it would relatively easy for an AI to swallow. my latest project is in rust, which would make it harder for a person, but AI can now digest binaries. i created a fairly unique p2p messaging app. a rust-based frontend with a rit-server backend, which can be used to establish a p2p connection. while this version remains close-source, i aimed to create comprehensive technical documentation (formal-verification and security audits too (all ai-slop-maxxing at scale under my guidance)). 1. https://glitr.io/ 2. https://app.glitr.io/ a core detail to my project is the focus on client-side cryptography and storage. i think my older iteration as a javascript webapp would be relatively easy for AI, so i thought id put a spin-on-things by having a rust wasm frontend. In practice, i dont think AI broke a sweat. i know nothing about decompiling, but i think the TUI would be the easiest for it to decompile... and given its largly one codebase for all the platforms, it can be used to trace and see what is going on in the builds for the other platforms. it might be that all close source is obselete. i tried asking here, and the responses there are polar opposites, so i decided to get some first-hand experience. i used cursor's "auto" agent (in contrast to the frontier models available). i used https://github.com/morluto/rea and tried to make it easier by proving it with a few binaries of my project (tui, apk, web, desktop) and pointed it to the documentation as a website. after a few prompts, it seems to have done a decent job decompiling the project here: https://github.com/positive-intentions/glitr-decompiled (note: this is basically AI-slop) like with many projects, i see AI lacks taste in architecture. it consolidates a lot of complexity into one repo, when in my project it's split into multiple repos. it also seems to lack a bunch of bells-and-whistles i added for my own benefit like formal-verification and rigorous unit-tests. having done it myself before, i dont think that it's a large gap to close for somone who knows what they're doing. i think the overhead to keep up with new changes may become trivial if you can automate the process of ingesting new binaries. i kinda offer the base in the repo above (maybe it saves you a few tokens?), but its for my own research and i dont plan to maintain it given it undermines the actual project. in general, im impressed considering how fast and low effort this was. it seems this may push forward my timeline for when i open source my project, i wasnt expecting client-side close-source being so easy to undemine. while the project can be decompiled, in a project like this, its important to consider the countless nuances there are in software development and cybersecurity. the code is only a fraction of the project. i think people should try this in their own code. while the decompiled output is not the same codebase, it seems trivial for me to take some unfamiliar app and rebuild a protocol-compatible version with some new button, feature... or auto-installing malware. (note: feel free to try decompile this yourself or offer tips on how i can improve. id be keen to see what can be done. feel free to reach out for clarity about how it works if the docs are not clear)

    github.com
  • Reverse engineering my own project

    i wanted to red-team myself on my project and id like to know how to reverse engineer so i can see what can be done to defend against it. TLDR; I thought my project would have been harder to chew up. my app is aiming to be fully client-side. An implementation in javascript seems like it would relatively easy for an AI to swallow. my latest project is in rust, which would make it harder for a person, but AI can now digest binaries. i created a fairly unique p2p messaging app. a Rust-based frontend with a Git-server backend, which can be used to establish a P2P connection. while this version remains close-source, i aimed to create comprehensive technical documentation (formal-verification and security audits too (all ai-slop-maxxing at scale under my guidance)). 1. https://glitr.io/ 2. https://app.glitr.io/ a core detail to my project is the focus on local-first and client-side cryptography and storage. By reverse engineering, i wanted to learn how vulnerable this project is to decompilation. i think my older iteration as a javascript webapp would be relatively easy for AI, so i thought id put a spin-on-things by having a rust wasm frontend. In practice, i dont think AI broke a sweat. i know nothing about decompiling, but i think the TUI would be the easiest for it to decompile... and given its largly one codebase for all the platforms, it can be used to trace and see what is going on in the builds for the other platforms. it might be that all close source is obselete. i tried asking here, and the responses there are polar opposites, so i decided to get some first-hand experience. i used cursor's "auto" agent (in contrast to the frontier models available). i used https://github.com/morluto/rea and tried to make it easier by proving it with a few binaries of my project (tui, apk, web, desktop) and pointed it to the documentation as a website. after a few prompts, it seems to have done a decent job decompiling the project here: https://github.com/positive-intentions/glitr-decompiled (note: this is basically AI-slop) like with many projects, i see AI lacks taste in architecture. it consolidates a lot of complexity into one repo, when in my project it's split into multiple repos (as documented). it also seems to lack a bunch of bells and whistles i added for my own benefit like formal verification and rigorous unit-tests. having done it myself before, i dont think that it's a large gap to fill for somone who knows what they are doing. i think the overhead to keep up with new changes may become trivial if you can automate the process. i kinda offer the base in the repo above (maybe it saves you a few tokens?), but its for my own research and i dont plan to maintain it given it undermines the actual project. in general, im impressed considering how fast and low effort this was. it seems this may push forward my timeline for when i open source my project, i wasnt expecting client-side close-source being so easy to undemine. while the project can be decompiled, in a project like this, its important to consider the countless nuances there are in software development and cybersecurity. the code is only a part of the project. (note: feel free to try decompile this yourself or offer tips on how i can improve. id be keen to see what can be done. feel free to reach out for clarity about how it works if the docs are not clear)

  • Combining Git, Tor and WebRTC into a Messaging App

    image It's a fairly a unique stack and architecture in contrast to the traditional approach with mainstream messaging apps. To put it briefly, its a Rust-based frontend with a Git-server backend, which can be used to establish a E2EE connection. Features: • No installation • No registration • PWA • Android • TUI • WebRTC • Tor routing • TURN server • Git-host backend • Local-first • Encrypted-at-rest • Signal protocol • Post Quantum cryptography • Calls • File-transfer image Note: Its still a work in progress and there will be breaking changes. Roadmap: https://glitr.io/docs/technical/roadmap IMPORTANT DISCLAIMER: While this is aiming to provide a secure experience, it's a work-in-progress and far from finished. It is unreviewed and unaudited. I'm sharing here for testing, feedback and demo purposes only. Pease use it responsibly. image

  • Git as a messaging app

    this is following a previous post as seen here: https://programming.dev/post/51866250 apps like Whatsapp, Signal and SimpleXChat are great for secure messaging and far more mature than this project, but this approach is yet distict in the market. the core philosophy around secure messaging here is that it can work in a way that avoids installation and registration by enabling users to host their own data. docs: https://glitr.io/ demo note: feel free to ask for clarity on any of the details around how the project works. FAQ: • but why? - git over https adds an additional capability previously oerlooked https. webrtc cannot work over TOR and similar networks. this way, you can take advantage of the "gold standard" for onion routing while being able to avoid IP leaking from webrtc. • when is it ready for production? - not any time soon. standby for updates. • audit/review? - no, niether is possible/available. its simply too expensive. this project is close-source so YOU cannot verify it either. DO NOT "trust me bro"... this demo is proided for testing and demo purposes only. use responsibly. • the abridged version of how its put together: https://www.reddit.com/r/VibeCodeDevs/comments/1vme48q/refactor_js_to_rust/

  • Git as the backend for a messaging app

    this is following a previous post as seen here: https://programming.dev/post/51866250 apps like Whatsapp, Signal and SimpleXChat are great for secure messaging and far more mature than this project, but this approach is yet distict in the market. the core philosophy around secure messaging here is that it can work in a way that avoids installation and registration by enabling users to host their own data. docs: https://glitr.io/ demo note: feel free to ask for clarity on any of the details around how the project works. FAQ: • but why? - git over https adds an additional capability i had previously oerlooked https. webrtc cannot work over TOR and similar networks. this way, you can take advantage of the "gold standard" for onion routing while being able to avoid IP leaking from webrtc. • when is it ready for production? - not any time soon. standby for updates. • audit/review? - no, niether is possible/available. its simply too expensive. this project is close-source so you cannot verify it either. DO NOT "trust me bro"... this demo is proided for testing and demo purposes only. use responsibly. • the abridged version of how its put together: https://www.reddit.com/r/VibeCodeDevs/comments/1vme48q/refactor_js_to_rust/

  • A React Hook For Asynchronous State Management.

    A fairly unique approach to state management using encrypted asynchronous state updates. It is not production-ready. I'm working on it to use in my own projects. It isn't reviewed or audited by a third-party, so I can't recommend you use it in your own code. Sharing for testing and demo purposes only. TLDR; The title of this post. Feel free to reach out for clarity instead of reading the code/docs. I was working on “react-like syntax for webcomponents”. I started off with an approach for asynchronous state management so that components outside the shadow-root could receive updates. (The events are also encrypted to secure against things like browser extensions.) https://positive-intentions.com/docs/projects/dim/async-state-management It then made sense to be able to persist that data so it can work between page releoads. https://positive-intentions.com/docs/projects/dim/bottom-up-storage The result looks and works like the following when used in a project. https://positive-intentions.com/docs/projects/dim/encrypted-store The Dim framework seems like a dead-end. I wanted to try the hook out on my existing React projects. So I created the equivalent React hook. https://positive-intentions.com/docs/projects/dim/use-dim-store-react I find it to be performant and I want to push the scale of the approach, so I am in the process of testing it out on my projects. A notable use-case there is storing encrypted files at rest. Feel free to reach out for clarity.

    positive-intentions.com
  • Enkrypted Chat - Signal-Protocol-Based PWA

    This is a technical demo of a fairly unique approach using a browser-based, local-first and webrtc approach. it allows to avoid centralized registration. Enkrypted.Chat This is intended to introduce a new paradigm in client-side managed secure cryptography. We can avoid registration of any sort. Features: • PWA • P2P • End to end encryption • Signal protocol • Post-Quantum cryptography • Multimedia • File transfer • Video calls • Local-first • No installation Some open source versions of the core concepts. • Chat • Code: https://github.com/positive-intentions/chat • Demo: https://chat.positive-intentions.com/ • File • Code: https://github.com/positive-intentions/dim/blob/staging/src/stories/05-Hooks-useFS.stories.js • Demo: https://dim.positive-intentions.com/?path=%2Fdocs%2Fusefs--docs • Crypto • Code: https://github.com/positive-intentions/cryptography • Demo: https://cryptography.positive-intentions.com/ Feel free to reach out for clarity instead of diving into the docs. Please use responsibly. IMPORTANT: Caution should always be used for projects like this. While this is aiming to provide a secure experience, it isnt audited or reviewed. Shared for testing, feedback and demo purposes only. If youre unsure, this isnt for you.

  • I Created A Hook For "Encrypted Asynchronous State Persistence"

    TLDR; The title of this post. Feel free to reach out for clarity instead of reading the code/docs. I was working on a “react-like syntax for webcomponents”, I wanted to create something robust and flexible for secure data storage and management. I started off with an approach for asynchronous state management so that components outside the shadow-root could receive updates. (The events are also encrypted to secure against things like browser extensions.) https://positive-intentions.com/docs/projects/dim/async-state-management It then made sense to be able to persist that data so it can work between page releoads. https://positive-intentions.com/docs/projects/dim/bottom-up-storage The result looks and works like the following when used in a project. https://positive-intentions.com/docs/projects/dim/encrypted-store The Dim framework seems like a dead-end. I wanted to try it out on my existing React projects. So I created the equivalent React hooks. https://positive-intentions.com/docs/projects/dim/use-dim-store-react I find it to be performant and I want to push the scale of the approach, so I am in the process of testing it out on my projects. A notable use-case there is storing encrypted files at rest. IMPORTANT: Im not trying to promote “yet another ui framework”, this is an investigation to see what is possible. You should not use this in your own code. It is not reviewed, audited or production-ready. It is not on npm. Shared for testing, feedback and demo purposes only.

  • Browser-Based Office Suite

    By leveraging FileSystem API for browser-based file-management, we can create a fairly unique approach for interacting with files on your device from your browser. Features: • PWA • Local-first • Word • Spreadsheet • PDF Coming soon: • Support for more filtypes • Storage sync • Collaborative editing • Encryption at rest • P2P file-transfer *** The project is experimental and far from finished. It's presented for testing, feedback and demo purposes only (USE RESPONSIBLY!). *** This project isnt finished enough to compare to Microsoft Office. This is intended to demonstrate client-side managed functionality. Allowing users to get started without setup. I have a demo version for testing. It isnt ready to replace any existing app or service, but it would be great to get your feedback on it. The implementation is based on the functionality described in a previous post.

  • Can we use Github as free cloud storage?

    im working on a decentralized messaging app and generally up until recently i thought in such a system, if a peer is offline, you cant send a message... it wouldnt be "decentralized" if there was some central queue of messages.

    it took embarassingly long, but then it hit me... git... just regular git is a decentralized database.

    in my setup i need the ability for others to be abe to read and only i should be able to write to it. that functionality is out-the-box in git.

    git is also pretty standardized so there are many providers if users want to move away from Github.

    the storage requirements for my project are fairly small. typically small text messages. the data itself thats publicly readable would be encrypted.

  • P2P WhatsApp Clone

    Enkrypted.Chat I'd like to get your feedback on user experience. You can try locally between 2 different browsers (or using incognito-mode). I have open source some of the core concepts, but feel free to reach out for clarity instead of reading that slop: • Chat • Code: https://github.com/positive-intentions/chat • Demo: https://chat.positive-intentions.com/ • File • Code: https://github.com/positive-intentions/dim/blob/staging/src/stories/05-Hooks-useFS.stories.js • Demo: https://dim.positive-intentions.com/?path=%2Fdocs%2Fusefs--docs • Crypto • Code: https://github.com/positive-intentions/cryptography • Demo: https://cryptography.positive-intentions.com/ ——— IMPORTANT: Caution should always be used for projects like this. So I'd like to be clear that I am Al-slop-maxxing at scale. If youre looking for good code, clear docs or best-practices; you should look away now. While this is aiming to provide a secure experience, it isnt audited or reviewed. I'd like to share for testing, feedback and demo purposes only. This is a technical demo of a unique concept. Feel free to reach out for clarity. Please use responsibly.