Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/uselibrary/KeepMyGoogleVoice
Send SMS regularly through Python to keep Google Voice active
https://github.com/uselibrary/KeepMyGoogleVoice
Last synced: 14 days ago
JSON representation
Send SMS regularly through Python to keep Google Voice active
- Host: GitHub
- URL: https://github.com/uselibrary/KeepMyGoogleVoice
- Owner: uselibrary
- License: mit
- Created: 2019-05-31T12:57:32.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-02-18T23:09:57.000Z (9 months ago)
- Last Synced: 2024-08-01T16:55:46.322Z (3 months ago)
- Language: Shell
- Size: 19.5 KB
- Stars: 302
- Watchers: 10
- Forks: 90
- Open Issues: 5
-
Metadata Files:
- Readme: README-en.md
- License: LICENSE
Awesome Lists containing this project
README
# KeepMyGoogleVoice
[Chinese Version](https://github.com/uselibrary/KeepMyGoogleVoice/blob/master/README.md)
KeepMyGoogleVoice is a simple Python script to automatically send text messages to cloudflare to keep Google Voice alive. By default, a text message will be sent to `8336721001` to query `cloudflare.com`'s IP.
If you want to modify it, please change the `phoneNumber` and `text` contents in `/root/gv.py` after executing this script.Update: the bumner 8336721001 is expired, you can modify the contents of `phoneNumber` and `text`.
Supported: Debian 9/Ubuntu 16.04+/CentOS7 (CentOS 7 is not recommended, there may be compatibility issues.)
If you can't log in Google Voice by any means, especially when the feedback likes `google evoice.util.LoginError`, please go to https://accounts.google.com/DisplayUnlockCaptcha to check if security verification is enabled.
### One-Click Script, Google account and password are needed.
```
wget --no-check-certificate -O gv.sh https://raw.githubusercontent.com/uselibrary/KeepMyGoogleVoice/master/gv.sh && chmod +x gv.sh && bash gv.sh
```After installed, please input you account and password into `/root/gv.py`, the specific location is as follows:
```
voice.login(email="[email protected]", passwd="xxx")
```### Only view here when One-Click Script does not work.
If the One-Click Script cannot be executed, you can install it manually. Execute the following command, input the Google account and password manually into gv.py. And set it to be executed once a month through crontab.
For CentOS 7
```
yum -y install epel-release
yum -y install python36
yum -y install python36-setuptools
easy_install-3.6 pip
pip3 install googlevoice
wget --no-check-certificate -O gv.py https://raw.githubusercontent.com/uselibrary/KeepMyGoogleVoice/master/gv.py && chmod +x gv.py
```
For Debian 9/Ubuntu 16.04+
```
apt install python3
apt install python3-pip
pip3 install googlevoice
wget --no-check-certificate -O gv.py https://raw.githubusercontent.com/uselibrary/KeepMyGoogleVoice/master/gv.py && chmod +x gv.py
```For professional users, the script provides `systemd` mode (that is, daemon process), and the default mode uses `crontab` to run at boot.