Live data from Hacker News

Show HN: Edna, note taking app for developers

edna.arslexis.io

51–60 of 97 posts

Re: Show HN: Edna, note taking app for developers

#52

Wow, 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.

Block type is also displayed at the bottom in the status bar. Click on that to change.

Or: context menu (right click), Block / Change Language.

Or: command palette, "Block: Change Language" command.

Re: Show HN: Edna, note taking app for developers

#55
post #53

This 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?

Funny you would say that.

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
Now there are three "newish" Markdown / PWA / Note apps that I am aware of:

- 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

#57
post #53

This 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?

Regarding accessing from any device: at least for desktop you can store notes on disk, in a folder managed by DropBox or OneDrive or Google Drive (https://edna.arslexis.io/help-win#storing-notes-on-disk).

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

#58

Took 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 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

#59
post #58

Took 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…

To expand on this even more: it would be possible to make it a lightweight web playground like codepen.io

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.

Post reply on HN