A juurni of a thousand miles begins with one step. Juurni is an SPA project where I explore indexedDB. It’s a, not yet full-featured, journaling app inspired by Dyrii on iOS. I won’t go anywhere with this app, i’s just an exploration into indexedDB, its features and API. At the moment, you will need to use the developer console in order to see the journal entries. Maybe later, I will pull the entries onto the UI.
According to Mozilla, “IndexedDB is a low-level API for client-side storage of significant amounts of structured data, including files/blobs. This API uses indexes to enable high-performance searches of this data. While Web Storage is useful for storing smaller amounts of data, it is less useful for storing larger amounts of structured data. IndexedDB provides a solution.”
A Journey of a Thousand Miles
As well as it fits, that line came to me as I sat down to write this post, which is months after beginning the project. So why another diary app? I developed Juurni on a whim of frustration with every other journaling app wanting to sync your entries to a cloud repository. I understand…in order to access anytime and anywhere, the entries would nned to be stored in a central repository that all instances of the app can access. Journal entries are private in my opinion, private to a degree above technical reason. This belief is the why for this project.
Juurni…at a glance
Currently, juurni is an SPA that consists for four controls. A calendar created by YSCoder, a textbox, a text area, and a button. While I hope to enrich the user interface a bit more for my own use, I have a simultaneous urge to keep it as simple as possible. The image below is the first version of the UI, with the second image being the developer’s console showing the records stored in the indexedDB. Finally, the code can be found in the github project linked below.
The Juurni web interface.
The console showing the indexedDB entries.