this post was submitted on 22 Oct 2024
12 points (87.5% liked)

Programming

17248 readers
257 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities [email protected]



founded 1 year ago
MODERATORS
 

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.

top 5 comments
sorted by: hot top controversial new old
[–] [email protected] 10 points 21 hours ago (1 children)

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.

[–] [email protected] 0 points 20 hours ago (1 children)

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.

[–] [email protected] 6 points 20 hours ago* (last edited 20 hours ago) (1 children)

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.

https://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.

[–] [email protected] 1 points 20 hours ago

Ok great, ill look into it!

[–] [email protected] 2 points 21 hours ago

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