Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Made for org-mode #1

Open
licht1stein opened this issue Jun 3, 2024 · 2 comments
Open

Made for org-mode #1

licht1stein opened this issue Jun 3, 2024 · 2 comments

Comments

@licht1stein
Copy link

Just watched your demo and I feel very excited to try fdb. But want to directly say (since you're using Emacs on the demo video), that fdb and org-mode are a match made in heaven :)

I will explore the possibilities once I learn the basics of using fdb. Thanks!

@filipesilva
Copy link
Owner

Org-mode is something I had in mind a lot while making FileDB! I don't use it, because I use Obsidian instead and a lot of my knowledge management workflows depend on having Obsidian on my laptop and phone and them syncing seamlessly.

I think the cool things to do is make a .org reader that extracts whatever data you want from .org files. There's a couple of clj org parsers around (https://github.com/200ok-ch/org-parser and https://github.com/eigenhombre/clj-org and https://github.com/bnbeckwith/orgmode) so it doesn't seem too hard to get started with.

This is how the (obsidian) markdown reader looks like. Add some parsing code similar to fdb.readers.md/read to your /user/load-repl.fdb.clj, add that fn in :extra-readers, and now you should be able to parse org files into the db.

Let me know what you end up doing with your org file data!

@licht1stein
Copy link
Author

I've used obsidian before, I even made the obsidian.el package to work with obsidian from emacs. But I ended up switching to denote and org-mode files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants