-
-
Notifications
You must be signed in to change notification settings - Fork 99
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
[Plugin Idea] Support for iCalendar FIles #82
Comments
Hi there! I didn't know about Caldev. Thanks for sharing this! Indeed I got a lot of suggestions to implement something that'd integrate dooit with other tools and I'm working on a plugin system that could achieve this using python scripts! Something like this: class Plugin:
...
def pre_process(self) -> None:
# All the pre-processing stuff happens here
# After it's done, mark the `ready` param as True
pass
self.ready = True
def run(self) -> bool:
# Do your magic here!
# Return True to call again else return False
return False
def run_on_exit(self) -> None:
pass It would make it really easy to implement when dealing with simple text files in the local system as well as communicating with APIs online :D Edit: I know my previous implementation was too naive and I mixed a lot of frontend and backend stuff together... Dooit will now have a separate API to interact with the todos :D |
If the icalendar files are parseable, then dooit can use its API to add those. I don't have any plans to implement it right now. Hopefully someone can make a plugin |
Did we solve your problem? Consider sponsoring my work through github sponsors 😄 |
Could you leave it open with a label like |
I guess creating a separate repo/discussion would be great? Or I can do labels as well |
A discussion thread could suffice I suppose. My concern there is that they don't show up in issue/PR searches (by default? ever?). But it's better just an old, closed issue. |
ok fair enough! |
Is your feature request related to a problem? 😢 Please describe.
dooit
doesn't have any standard method to save and open todo data. To sync them between my different devices (where dooit might not be usable) and multiple different management tools, we need one.Describe the solution you'd like 🤔
Implementing the
icalendar
files support, maybe optionally by enabling an option and specifying a directory to read from and write to. Most other todo tools support it and we could sync it usingCalDAV
.Additional context 📝
todoman
is a CLI tool that implements it.python-icalendar
andpython-ics
might help implementing this.The text was updated successfully, but these errors were encountered: