Skip to content
This repository has been archived by the owner on Mar 5, 2022. It is now read-only.

googler on the iPad

Arun Prakash Jana edited this page Nov 13, 2018 · 2 revisions

This is more of a curiosity than an actual productive activity, but sure enough, you can do it on iOS in general.

Download the Pythonista 3 app (paid, but worth every penny for scripting nerds like me), then install the StaSh shell (follow the official instructions). While Pythonista can run googler directly, StaSh gives you something resembling a full POSIX shell, complete with clones of pip, wget, etc., and it supports ANSI escape sequences.

Launch the StaSh shell, and download googler:

$ wget https://raw.githubusercontent.com/jarun/googler/master/googler -o googler.py

(We name the script googler.py so that Pythonista does syntax highlighting; it is not necessary.)

You can now run googler with python3 googler.py (./googler.py has encoding issues for whatever reason):

$ python3 googler.py ...

Screenshot of googler in StaSh

Opening links works too:

Screenshot of link opened in in-app browser

Screenshots taken on the gorgeous 2018 12.9’’ iPad Pro.