Here we go. A public functional beta be careful please prototype of my notes app based on Notational Velocity https://hyprnote.com/write – data sync via @remotestorage, some Sublime Text keyboard shortcuts, [[double-bracket interlinking]], works nicely offline and on mobile too. Yellah habibi.
- accesskey n: new note
- Tab: toggle editor focus
- Enter: create note from filter text
- ArrowDown/ArrowUp: next/previous note
- Command+Enter or Ctrl+Enter: open link
- accesskey r: jump to markdown heading
Shake to undo doesn't work on mobile, so avoid making mistakes if you can't ctrl/cmd-z
I would appreciate any feedback, especially bugs.
This one has the slowest cooking time but it's also the tastiest.
@rosano is this with codemirror 5 or 6? I’ve been meaning to play with codemirror some more but the library rewrite is giving me pause
@amorphous It's an older version of 5 from last year or something. I might swap it with ProseMirror until 6 is released if I can make it respond the same way. Still a solid library though.
@rosano Lovely thing! Especially the way you implemented wiki-linking is very nice. This way it could very well become a replacement for litewrite.net for me.
Unfortunately I cannot make my 5apps.com account to work. It throws:
DiscoveryError: No storage information found for this user address.
The browser console reveals that the requests to
are blocked due to CORS mixed content, trying to access HTTP from HTTPS.
@yala Oh no! It's the first time I've heard that and I always use 5apps. Which browser is it? When I try with your address (from the last link there) on macOS Safari it takes me to the 5apps login page. Maybe there's interference from an ad blocker or something?
@yala I'm just passing the login to the `connect` method of the remotestorage library https://remotestoragejs.readthedocs.io/en/latest/js-api/remotestorage.html#connect in the same way as the official widget (no processing of the input whatsoever) so it's strange that it behaves differently for you. Could you test in another browser, or maybe a private window? I just copied the account 'email' part from that url and tried to login and it successfully started the oauth dance.
@rosano Chrome and Firefox both show the same behaviour: Your write site is served via HTTPS, and the client tries to connect to an HTTP service, which is forbidden due to mixed content errors in CORS.
@yala Ok I was able to replicate this in Firefox by disallowing insecure requests. Not sure where to fix this but I'm looking into it.
I noticed litewrite.net also fails similarly but with
> The Same Origin Policy disallows reading the remote resource at https://5apps.com/.well-known/webfinger?resource=acct:email@example.com. (Reason: CORS request did not succeed)
And if I understand correctly, webfinger.js will try http if https fails.
@rosano Now that you mention it, it's weird. Before trying to access the HTTP URLs, indeed it tries HTTPS, but says the CORS request failed.
ignoring cors [object Request] sw.js:25:20
Maybe I should file this as an issue in ... wait; of CO(u)RS(e); there was another plugin next to uMatrix, the infamous Privacy Badger, taking care of my belongings; and blocking.
Pardon me all the hazzle; now it's solved.
@yala That message is from my duct-taped service worker implementation, gotta clean that up.
Well, glad it's all good. I will try to ask on the forums anyway if anyone knows where to fix that because it really should function on pure HTTPS.
Really looking forward to any feedback you might have. 👍🏽🙂
@yala I also notice that the first link says 'firstname.lastname@example.org' - when I try to put in a random address to force a failure, it outputs the random address 3 times without 'email@example.com' (I tend to debug from the back end of the donkey…)
@rosano I'm using firstname.lastname@example.org for that matter.
@rosano awesome ! I am using too NV as main note system and was looking for a web solution. and it is written in Svelte as well. sweet :)
would love some HTML5 History support to be able to go back/forward using browser shortcuts
had some weird bugs (new notes missing from UI, cannot move cursor) but I was unable to replicate.
@tbd When in doubt, refresh the page 🤭
@tbd Oh for the cursor, which OS are you on?
@rosano Safari 13 on macOS 10.15
Revel in the marvels of the universe. We are a collective of forward-thinking individuals who strive to better ourselves and our surroundings through constant creation. We express ourselves through music, art, games, and writing. We also put great value in play. A warm welcome to any like-minded people who feel these ideals resonate with them. Check out our Patreon to see our donations.