Git Product home page Git Product logo

keepmygooglevoice's Introduction

KeepMyGoogleVoice

KeepMyGoogleVoice是使用Python脚本自动发送短信给cloudflare来实现保活Google Voice。默认情况下,将发送一条短信到8336721001查询cloudflare.com的IP。如果你想修改,可以在执行完一键脚本后,更改/root/gv.py中的phoneNumbertext内容。

支持的系统版本:Debain 9/Ubuntu 16.04+/CentOS 7(不建议CentOS 7,可能存在兼容性问题。任意方法都无法登录Google Voice,可前往https://accounts.google.com/DisplayUnlockCaptcha检查是否开启了安全验证。)

执行此脚本后,对于CentOS 7将自动安装python和python-pip;对于Debain 9/Ubuntu 18.04+将自动安装python3和python3-pip。

一键脚本如下,安装过程中需要输入google账号和密码。

wget --no-check-certificate -O gv.sh https://raw.githubusercontent.com/uselibrary/KeepMyGoogleVoice/master/gv.sh && chmod +x gv.sh && bash gv.sh

完成安装后,手动将你的账号和密码输入到/root/gv.py中,具体位置如如下:

voice.login(email="[email protected]", passwd="xxx")

仅当一键脚本无法正常使用是才参考此项

如果上述一脚脚本无法执行,可以手动安装。执行以下命令,手动输入Google账号和密码,并通过crontab将其设置为每月执行一次。

wget --no-check-certificate -O gv.py https://raw.githubusercontent.com/uselibrary/KeepMyGoogleVoice/master/gv.py && chmod +x gv.py

并且,对于CentOS 7 执行以下命令

yum -y install epel-release
yum -y install python36
yum -y install python36-setuptools
easy_install-3.6 pip
pip3 -y install googlevoice

对于Debian 9/Ubuntu 16.04+ 执行以下命令

apt install python3
apt install python3-pip
pip3 install googlevoice

keepmygooglevoice's People

Contributors

uselibrary avatar

Forkers

ximliu

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.