Looking for a python friendly cloud-based notes app.
from dadarobot@lemmy.sdf.org to programming@programming.dev on 22 Oct 2024 05:27
https://lemmy.sdf.org/post/24056885

I’m working on a python program, and i need to sync the results to an ipad as a todo list (with checkboxes)

I had been using google keep, and manually copying /pasting the data over from my cli based app. I will be out of the country for 2 weeks, so im updating my software to no longer being cli, and ideally syncing the final list to google keep or something similar, since someone else will be running the software. You know how normies get when they see a terminal window…

tried this googlekeepapi thing i found online, but the authentication was very complicated and i couldn’t get it to work. There is no specific reason we need to use google keep, was just the first thing that came to mind when we set this system up, and it works well and is cloud based.

Do yall know of any service where i can programmatically generate checkbox lists, and sync them over the web?

I should note i do not have a server available to self host. could potentially spin something up locally with a raspberry pi, but would prefer not to have another potential point of failure.

#programming

threaded - newest

OmanMkII@aussie.zone on 22 Oct 2024 06:59 next collapse

Google firebase would be the likely answer for serverless architecture, won’t pretend I know anything more to help than that sorry

cmhe@lemmy.world on 22 Oct 2024 07:25 next collapse

Instead of relying on a specific cloud service, why not generate a text file from for the todo list data and checkbox state and push/pull it to a git repo?

There is gitpython, a pure python implementation of git.

dadarobot@lemmy.sdf.org on 22 Oct 2024 08:11 collapse

Mostly because the target device is an ipad. Im not planning to write anything for the ipad itself, i just want to push the list to it via an existing cloud service.

I’m realizing this may be misguided and i may have to just compromise with the copy/paste approach we’ve been using. Just wanted to save the operator a step.

cmhe@lemmy.world on 22 Oct 2024 08:16 collapse

Well, if the text file uses git(hub/lab) flavored markdown, you can check/uncheck the boxes from the webui of git(hub/lab). No need to write an app for the apple device.

docs.gitlab.com/ee/user/markdown.html#task-lists

In gitlab you might need to edit the markdown file via an webeditor and create a commit this way.

dadarobot@lemmy.sdf.org on 22 Oct 2024 08:23 collapse

Ok great, ill look into it!

starshipwinepineapple@programming.dev on 23 Oct 2024 11:36 collapse

+1 for gitlab. You can programmatically generate a csv file that can be used to generate issue(s) which support markdown format. Then your checklists could be issues and marked as completed when done.

You could also for instance set up a weekly pipeline schedule to generate issue(s) from the csv if some of the issues are needed on an interval.

If gitlab isn’t an option then id still look into generating the .md files this way and finding a home for the .md files that works for your user(s)