Movatterモバイル変換


[0]ホーム

URL:


Skip to content
DEV Community
Log in Create account

DEV Community

Cover image for Lokalnotes - onBrowser notesapp
John Pinto
John Pinto

Posted on • Edited on

     

Lokalnotes - onBrowser notesapp

LockalNotes website

Anotesapp that storesnoteson yourbrowser.Lokalnotes useslocalStorage to store the notes data on your localStorage.

This will stay on your browser and will be cleared when you chose to do it manually or enabled during your browser history deletion. So it's up to you whether it stays on the browser

Why browser?

We have seen many notes application(online/offlie) and I havebuilt one myself usingPHP andSQLite so offline and on-disk storage. These are somewhat created to manage multiple features including media. These note-taking apps can't considered forquick andeasy to use.

Lokalnotes is alightweight and effective solution for managing your notes directly in your browser.

It'sprivate,no registration required andvery very easy tocreate andexport as a.txt file.

Working and Features

In Lokalnotes we can,

  • Create new note
  • Delete all notes
  • Copy a note
  • Download a note
  • Delete a note

Create Note

When you create a note, a itemnotesData is set in localstorage and the values are stored asjson converted to string.

We leverage this to create multiple notes as values for a single localstorage key, since data in localstorage are stored as key-value pairs.


LocalStorage

key : notesData, value : {"1683644984302": "hi", "1683644984469": "bye"}
Enter fullscreen modeExit fullscreen mode

When a note is created thenote name iscurrent timestamp. So we can create, read, update and delete a note the same we would if we use a database.


Write and Save Note

Textarea to write

Note highlight

Atextarea willopen up at the side when youclick on thenotename. The clickednotename will be inbold and background converted towhitesmoke to highlight the current note you are working on.

Save the note

Click'Save Note' button to save. You can see the'Note Saved' message at the sidenav.

You can also check thelocalStorage to look at your stored notes 👇

Copy note


Copy and Download

Copy

Notes Copied

Foreach note created, we can copy the contents of the note by clicking the copy icon.

copy confirmed

You can see a popup message confirming that the contents of the note are copied to the clipboard.

Download

Download file

For download, the contents of that note will be downloaded as a .txt file with the notename as the filename.

Downloaded file

Example :
value : {"1683644984302": "hi",...
will be downloaded as1683644984302.txt

Techonolgies used

  • HTML
  • CSS
  • Javascript

Conclusion

Start using LokalNotes today and experience a hassle-free note-taking experience right in your favorite web browser.

Top comments(1)

Subscribe
pic
Create template

Templates let you quickly answer FAQs or store snippets for re-use.

Dismiss
CollapseExpand
 
scottjwalter profile image
Scott Walter
I'm just another digital nomad roaming the information superhighway seeking knowledge, enlightenment, and entertainment for the new millennium.
  • Location
    Minneapolis, MN, USA
  • Joined
• Edited on• Edited

Links to product site no longer work. No link to any source code (though you can find the github repo if you take the time to look). How you did it is interesting, but without source code it's just a story.

Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment'spermalink.

For further actions, you may consider blocking this person and/orreporting abuse

I'd like to write about my projects and things that I learn
  • Work
    Founder at Scenestamps
  • Joined

Trending onDEV CommunityHot

DEV Community

We're a place where coders share, stay up-to-date and grow their careers.

Log in Create account

[8]ページ先頭

©2009-2025 Movatter.jp