Giter Site home page Giter Site logo

sms-boom's Introduction

Phone Message boomer

Greenkeeper badge Dependency License Prettier Node npm version

How it works...

开启chrome的headless模式,仿真模拟用户去注册...

暂不支持图片验证码识别

Usage

以CLI命令运行

PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=1 npm install smsboomer -g
smsboomer 138xxxxxxxx

自行引入NPM包

PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=1 npm install smsboomer --save
const boomer = require('smsboomer');

const app = boomer("13800000000", { once: true });

app
  .on('open', (ctx) => {
    console.info(`打开浏览器...`);
  })
  .on('next', (currentTarget) => {
    console.info(`进入到 ${currentTarget.name} ${currentTarget.url}`);
  })
  .on('error', err => {
    console.error(err);
  })
  // bootstrap
  .emit('bootstrap');

从源码运行

git clone https://github.com/axetroy/sms-boom.git
cd ./sms-boom
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=1 yarn
export PHONE=13800000000  ## 设置process.env.PHONE为目标手机号

node ./example/once.js  # 运行一个周期
# 或者
node ./example/forever.js # 无限循环运行

如何更新

由于Chromium下载困难的原因,从1.x版本开始,可以从Github同步Provider,而不用从新安装新版本

这样做的目的是,Github上,添加/修改了Provider,使用者不用从新安装新版本,也能够使用。

运行命令

smsboomer update

Contributing

每一个人都可以是贡献者。 如果你发现有的网站,可以作为短信提供者,请在issue中提出,或PR.

贡献指南

如果这能帮助到你, 不妨点个 🌟,非常感谢

Contributors


Axetroy

💻 🔌 ⚠️ 🐛 🎨

Windom Z

💻 📖

blackmatch

💻 🐛

Disclaimer

本项目仅用于技术研究,由于使用该项目产生的任何纠纷,由使用者承担,如有不当之处,请联系本人 [email protected]

License

FOSSA Status

sms-boom's People

Contributors

axetroy avatar blackmatch avatar greenkeeper[bot] avatar windomz avatar

Watchers

 avatar

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.