HOWTO use iOS-apps-"share with"-menu to call (custom) python(ista)-scripts by example
Reminiscense is an open-source self-hosted bookmark and archive manager.
This example shows you how to send/archive a page/URL from your mobile
browser via the "share with"-menu.
This is done by using Pythonista3
to call a short Python-script (add2reminiscence.py
). The script uses
Reminiscence's REST-API and runs on any platform Python runs on.
requirements:
- Pythonista3 - A full PythonIDE for iOS (non-free :-/)
- (optional) StaSh - a serious attempt to implement a Bash-like shell for Pythonista.
- select "share with"/"Run Pythonista Script" in your browser
- select "Edit" and use the "+" symbol to add a new Shortcut (here our Python-script)
- select the
add2reminiscence.py
-Script - fill in the 3 needed arguments for the script: <url-of-your-reminiscence-instance> <user> <password>
- (optional) choose a fancy icon and color ;)
- click "Add" and then "Done"
- select "share with"/"Run Pythonista Script" while browsing the url you want to archive
- select "add2reminiscence"