Why Nostr? What is Njump?
2025-02-16 15:40:36

TerrestrialOrigin on Nostr: Yesterday was #productive. I made #progress in the new utility #app I've been working ...

Yesterday was #productive. I made #progress in the new utility #app I've been working on (it's mostly for myself, but the purpose is to make #software #releasenotes creation quicker and easier. I might release it to the public some day, idk). Anyway, I'm trying to get it to wok not only cross-platform with #web, #android, and #ios (easy with #capacitor), but also have the same #codebase releasable on #desktop with #electron. I got a little #template #project going on to be able to create apps like that quicker. The #problem I ran into is the #storage mechanism for #electron. Neither #electron-store nor #electron-storage #npm #packages worked with my project for some reason. ā˜¹ļø I was finally able to make progresss yesterday by getting simple #json file persistence working with the electron stuff while NOT BREAKING the web stuff. šŸ˜‘ That was annoying af previously: get electron storage to work, it breaks the web stuff and vice versa.

Finally I got a #solution working, tho. 😩 Many hours and lots of frustration later.

After I iron it out some more, I'm going to update the #template for such projects with it. While it kight, technically, not be ideal to have storage related stuff built into a #scaffolding project for creating new apps, I think it will be more beneficial than not. Worst case scenario: whoever doesn't want it can just delete it out of the newly scaffolded project. I'll probably include instructions on how to delete it right in the readme on #GitHub
Author Public Key
npub16ga0ftymhu7fuhz5n8sn9hf9yft42x5q2x5wg986t8m5z7ls0tds86gl4y