Lope - your private notes app

I’d like to share a webapp that I have vibe coded (mostly) during a meeting (sorry, not sorry):slight_smile: - @chair came up with the name Lope (Urban Dictionary: lope) later.

It is a relatively simple note taking app - everything is stored locally in your browser - notes, categories (envelopes), labels, but can be also synced over Waku with other devices.

I went the simplest route (don’t hate me) - basically you define a complex password which is used a) to derive a content topic, b) for encryption. If you set the same password on multiple devices, they will all subscribe to that content topic and be able to encrypt/decrypt content. Then every edit is published (wasting bandwith by not using diffs, but republishing whole note, sorry).

There is a minimalist conflict resolution if you make edits on 2 devices

I used it during and after all-hands and it is working well for me, so wanted to share it a bit wider in case anyone cares:)

It is deployed on Akash here: https://ctc3u25nsdbl94rr02qhdnt72s.ingress.europlots.com/

Repository: GitHub - vpavlin/envelope-scribble-pad

It also integrates AI via Akash Chat API, but who cares about AI:)

2 Likes

Love it, have you thought about using Codex?

Actually I have not. Since the main device I use for interaction with Lope is a mobile phone, Codex integration would not be entirely straightforward - not impossible, but definitely not ideal UX:)

We could probably use Codex as a back up - so either have a separate “backend” implementation which, when configured properly, would simply store the notes in a local Codex, or just do this integration in the webapp directly and push data to a local Codex note (if available) over REST API

The problem is that REST API is currently the only way to interact with Codex and it is also not possible to run Codex on mobile devices.

Once there is a Codex web client, I’d definitely be interested in integrating it, but right now, I don’t see a great fit for it - but happy to get feedback/ideas/contributions:)

This tweet triggered an urge to just do it, so I just did it

https://x.com/vpavlin/status/1929883644300018046

Lope is now installable on your phone as a PWA which will allow you to share to Lope from other apps

There is also a browser extension - Lope Companion - now

The extension needs to be configured with the Lope URL you are using - e.g. you could run Lope locally on port localhost:3000, then just put http://localhost:3000 in the extension Options

which allows you to easily add notes from a website you are on - Lovable even made it so that you can select text on a website and then right click and select Lope Companion → Save Selection to Lope and it will create a note with the selected text, link to the source etc.

Few issues:

  1. new note via extension does not trigger reload of nodes from DB in other instances/tabs
  2. the extension is kinda weird looking:)
  3. The note title it creates etc. is a bit too verbose
  4. I did not look at the code of the extension AT ALL - install at your own risk;)
  5. One major caveat - the extension shows “envelopes”, but the list is empty - it does not really have anywhere to pull it from, so I might just remove it and let it store as “default envelope” always and maybe add a label “lope companion” for filtering
2 Likes