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

3rd Party Calendar integration. #1620

Open
1 task done
turkishfilms opened this issue Dec 18, 2024 · 2 comments
Open
1 task done

3rd Party Calendar integration. #1620

turkishfilms opened this issue Dec 18, 2024 · 2 comments
Labels
feature Issues related to feature proposals. Please attach a module.

Comments

@turkishfilms
Copy link

Issues

  • I have checked existing issues and there are no existing ones with the same request.

Feature description

I looked through "Calendar" search and didn't find it. I am busy atm but I intend on adding Google Calendar integration. So I can send items from my GTD capture list straight into my google calendar. I will also look into iCloud, perhaps generating a .ics to load in. I think this would be an amazing tool so i can stay locked in my terminal and nvim and not switch all the time. Any guidance is appreciated and I will be researching and attempting this soon. I think it will be a big step forward.

Help

Yes

Implementation help

I'm looking for integrations with other cli tools like gcalcli and modules like keybinds, core.ui.calendar and tempus. Thanks Let's rock this!

@turkishfilms turkishfilms added the feature Issues related to feature proposals. Please attach a module. label Dec 18, 2024
@github-project-automation github-project-automation bot moved this to added-updated-reopened in sorting neorg issue tracker Dec 18, 2024
@benlubas
Copy link
Contributor

I'm wondering what you're considering for the syntax?

I wouldn't want all of my tasks to become calendar events for example, maybe only ones that are specifically tagged?

Here's an example of what I'd imagine a calendar task could look like:

a task that's marked to be added to my gcal, and have a reminder 1 day before its due date of the 1st of January, 2025

#gcal remind 1 day
** ( |< 1st Jan 2025) do something

Also, differentiating between an event (like a doctors appointment) that has a specific time, and a task (like "file my taxes") that has a due date would be cool. Norg makes that distinction with:

- ( ) this is a regular undone task
- ( |< Dec 31 2024) this is a task due before the end of the year
- ( |@ Dec 31 2024) This is an event on the last day of the year

Last thing I'd like to point out is that the TS parser currently doesn't even work for basic due dates. Only "timestamps" (or "events" in gcal world)
image

Hopefully this will be fixed soon. But development on the new parser is blocked behind some spec work, which is on hold b/c of the holiday, and Vhyrro working on another project for a bit.

As a result. You might consider using mlua + the rust parser the way that https://github.com/benlubas/neorg-query is doing. There are a few crates that wrap the gcal api. https://github.com/Shadorain/gcal_rs is the newest. They're all very small. Maybe other languages would be better supported, but the rust parser is currently the most accurate to spec parser we have (that said, it's still not perfect, and it cant' give ranges like the TS parser can).

@benlubas
Copy link
Contributor

Oh yeah. In any case I think this would work best as a third party module, not part of core.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Issues related to feature proposals. Please attach a module.
Projects
None yet
Development

No branches or pull requests

2 participants