Skip to content

Instantly share code, notes, and snippets.

View Sopwith's full-sized avatar

Sopwith

  • Conestoga College ITAL
  • Kitchener, Ontario, Canada
View GitHub Profile
@Sopwith
Sopwith / Google SMS.py
Last active June 9, 2021 13:09
Google Search via SMS
# ---- A Bing Lookup Python SMS Server - via Pushbullet
# - This is basically my attempt at making my own "Google mobile" service from days of yore - basically this runs as a server to monitor your SMS's for a specific request code and returns python-webscraped data via SMS (to external contacts). It's a way to look something up via Google without having internet. It works, more or less. Results may vary though.
# - Originally this was intended to help my mom, who doesn't have data, look something up if she needed to. She could text my phone with a '#g' and a query and it would look it up and return info to her. She'd mostly be interested in addresses and phone numbers of locations while out on the road.
# > Of course, as soon as I actually completed this, we decided to upgrade her phone package to include data...
# - To accomplish this, I use Pushbullet to handle monitoring texts from the computer and responding; but you could probably retrofit the idea / approach to some other service if you could figure