CMD + L is not working on Safari, since it will open the address bar.
Show HN: Edna, note taking app for developers
51–60 of 97 posts
Re: Show HN: Edna, note taking app for developers
#52Wow, i really like this, especially the Math blocks. How do I create them? CMD + L is not working on Safari, since it will open the address bar.
Or: context menu (right click), Block / Change Language.
Or: command palette, "Block: Change Language" command.
Re: Show HN: Edna, note taking app for developers
#53SB can be hosted on Docker, which has the benefit of being able to access your data from any device. Do you have any such plans for Edna?
Re: Show HN: Edna, note taking app for developers
#54Re: Show HN: Edna, note taking app for developers
#55This looks really good. Have you come across SilverBullet? Similar concept. https://silverbullet.md/ SB can be hosted on Docker, which has the benefit of being able to access your data from any device. Do you have any such plans for Edna?
Earlier I also made a fork of silverbullet: https://notedapp.dev/ with similar goals to Edna (which is a fork of heynote).
But don't use it. I stopped working on it half-way. In retrospect, I've made a mistake there of doing my note storage backend.
Then I was thinking about re-starting it and re-doing the backend for notedapp but then I saw heynote and used that as a based and I'm quite happy with the result.
I do like SilverBullet so it's a possibility that I'll do another project which combines the UX ideas of Edna with SilverBullet editing UI. But for now I still have some ideas for Edna, will keep me busy for at least a week :)
Re: Show HN: Edna, note taking app for developers
#56- Silverbullet.md (https://silverbullet.md)
- Eidos (https://eidos.space/)
- and this ofc (https://edna.arslexis.io/)
Is someone aware of more of these?
I am liking all of them and they seem to have different perspectives, goals and philosophies.
Sadly none of them have a quick capture experience on android that I am satisfied with...
Re: Show HN: Edna, note taking app for developers
#57This looks really good. Have you come across SilverBullet? Similar concept. https://silverbullet.md/ SB can be hosted on Docker, which has the benefit of being able to access your data from any device. Do you have any such plans for Edna?
You can then access the note on every computer where you replicate that folder.
This doesn't cover accessing from mobile or computers you don't own but it's just a different kind of a problem of auth.
Edna is actually a self-contained go binary that you could run yourself on a server or your desktop.
Currently the backend (Go server) is there to just serve HTTP files but it wouldn't be hard to add storage API to Go server and modify Edna to use that. I already have 2 storage backends: local storage and file system api.
I would say it would be at most a few days of work to make it work similarly to SB but that's not something I plan right now. I still have some UI functionality to add to Edna and then we'll see.
Re: Show HN: Edna, note taking app for developers
#58Took me a while to realize that I can't execute JS blocks. Kind of unexpected that go works and js doesn't in JS a web app :)
Executing JavaScript safely is actually hard. You don't want to just execute code in browser context because then an attacker could trick you to execute his JavaScript code and e.g. grab all your notes.
So you need to sandbox it via e.g. iframe or by running using wasm-compiled quickjs
Which is something I might do.
Additionally I'm thinking about allowing to run a javascript function over content of a block so e.g. you could base64-encode a text block etc.
Re: Show HN: Edna, note taking app for developers
#59Took me a while to realize that I can't execute JS blocks. Kind of unexpected that go works and js doesn't in JS a web app :)
Yeah, the reason I could add Go quickly is because I already did the hard work of figuring out how to execute Go code when I built https://tools.arslexis.io/goplayground/ Executing JavaScript safely is actually hard. You don't want to just execute code in browser context because then an attacker could trick you to execute his JavaScript code and e.g. grab all your notes. So you need to sandbox it via e.g. iframe or b…
By convention, if a note has html block and javascript block (and optionally css block), I could consider that a small website with index.html, index.js and index.css files and provide a preview of html output.