Pythonista Script Index - script installation made easy
The goal is to make it easy to search/install/uninstall scripts (both single and multiple files). So end-users can install scripts by just a few clicks (sorta like App Store for Pythonista).
I have put together such a prototype, the client program (psiclient) can be downloaded from this Gist link or this GitHub repo. It talks to a server-side Pythonista Script Index to retrieve information about scripts and allow users to install/uninstall with a single tap.
Please do note the client program is a rough prototype. It provides only limited features, i.e. list, install and uninstall. It does not show much information when a task is running, e.g. downloading/installation. So please be patient when it takes time to grab files from the Internet (sometimes could be longer than 10 seconds). It installs everything into
~/Documents/bin(not configurable unless modifying source code). I have no doubt that much better clients can be written and provide many more features like better UI, user-configurations, category, search, upgrade and more responsive. Unfortunately I am not good at UI programs so it would be awesome if someone else is up for the task.
The Pythonista Script Index is similar to the excellent Pythonista-Tools but with the focus to be machine (client-program) readable instead of human-readable. Information of most scripts are taken from Pythonista-Tools files (much appreciated). The idea is that once an author registers a script with the Index, it will be automatically discovered by client side programs and thus installation is just one click away. The registration process of a script is very simple, involving adding a few information to only two JSON files. More details about how to register a script can be found at the Index's repo. Again, please note this is a prototype. So standards of the JSON files are still very much a work in progress and no schema validation at this stage.