I want to make a web app for viewing, creating, and modifying entries saved to a local file. I will use it on my old budget Android phone, and I want it to be as performant as I can possibly make it.
What do I use to build it?
@cvennevik Take a look at Kitten (https://codeberg.org/kitten/app) and let me know if it works for you or not :)
@aral I was wondering about pinging you and asking I might just try it out!
Maybe what I'll have to end up doing is building the app in several different frameworks and comparing them!
(That sounds like the kind of ambitious thing that I'd love to do and, of course, never get around to)
@cvennevik Cool. And while you can use the file system directly, of course, Kitten does come with a built-in database that you can use via pure JavaScript.
e.g,
kitten.db.entries = [
{ name: 'Aral’, site: 'aralbalkan.com' },
{ name: 'Laura', site: 'laurakalbag.com' }
]
kitten.db.entries[0].site = 'ar.al'
That’s valid Kitten code that *persists* an array of entries and then updates one (again, automatically persisting the change to an append-only JavaScript log).
@cvennevik (Behind the magic is the built-in JSDB database exposed via the kitten.db global: https://codeberg.org/small-tech/jsdb)