Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
Is there a way to have common code depository for multiple devices?
-
I use Pythonista on iPad and iPhone, and would like to have a common depository for my scripts somewhere on the cloud. Pythonista can export to Dropbox, but it cannot open files from there (at least I couldn't find a way). Copy-paste text will work, but it is clumsy.
I was wondering if there is a way to start editing a script on iPad and then continue working with the same script on iPhone? -
Check out shellista, and github. You can use git to push to github, then sync on another device.
I believe the latest development branch is here
https://raw.githubusercontent.com/transistor1/shellista/dev-modular/shellista.py
An older, but maybe more stable version is here
https://raw.githubusercontent.com/transistor1/shellista/master/shellista.pyIn either case copy into a pythonista file named shellista.py, then run it.
You then use git commandline to clone from a repo, push to repo, pull in updates, etc.Full up git is good for syncing entire repos/folders at a a time.
If you are interested in just syncing one file at a time, check out gistcheck
https://gist.github.com/jsbain/1c95b3491d65d9e24456
Which lets you create action menu commands that lets you easily upload, or update the currently edited file to gist.github.com. Also has a bookmarklet that les you go to a gist in safari, then choose the bookmarklet which launches pythonista and downloads the script. -
Also, there is a dropbox solution
https://omz-forums.appspot.com/pythonista/post/4995757044137984 -
My recommendation would have been Dropbox Sync instead of GitHub-based solutions.