srid / emanote

Emanate a structured view of your plain-text notes
https://emanote.srid.ca
Other
817 stars 72 forks source link

Refactor Emanote codebase #556

Open srid opened 1 month ago

srid commented 1 month ago

I've been meaning to refactor the codebase significantly, since I feel it has become complex to make changes.

Originally posted by @srid in https://github.com/srid/emanote/issues/555#issuecomment-2386472497

TristanCacqueray commented 1 month ago

In #504 you mentioned https://github.com/sempreviva/ondim which looks pretty neat.

srid commented 3 weeks ago

Yea, I've been meaning to switch to that.

Now that I'm back on NixOS, I'm developing an itch to implement a proper task management system on top of Emanote ... so it is time to revisit this project.

TristanCacqueray commented 3 weeks ago

That's great to hear @srid! Would you consider improving the support for org-mode, or are you thinking about something else?

I would be happy to help but my time is rather limited. Though I'd like to implement support for denote #551 at some point.

srid commented 3 weeks ago

I don't use Emacs anymore (I use neovim), so either the task system would be tied to Markdown, or it would be done at an abstract level (so org-mode gets supported indirectly). Basically extend on top of what we already have, is what I'm thinking: https://emanote.srid.ca/-/tasks

But I'm open to suggestions. Perhaps I should explore https://github.com/nvim-orgmode/orgmode - then we would inherit the flexibility of org-mode's data model ...

TristanCacqueray commented 3 weeks ago

Ha interesting, today I learn I also have a /-/tasks :-) I guess it's mostly missing links to the notes.

I would not recommend org outside of emacs, but I guess the org heading with a todo keyword could be collected in the tasks page.