Git Product home page Git Product logo

thworld_auto_signin's Introduction

Thworld Auto Sign

Thworld的自动签到脚本

使用方法

  1. git clone [email protected]:codeArvin/thworld_auto_signin.git
  2. npm install 安装依赖包
  3. index.js同目录下新建config.js文件,格式和config.example.js一样,添加Thworld的用户名和密码即可
  4. node index.js运行

注意事项

  1. 安装依赖包的时候,可能出现问题。puppeteer安装时需要翻墙,同时它会下载Chromium,比较大。具体请查看puppeteer官方文档
  2. 如果想把程序放到后台运行
    • 在Mac的zsh下可用node index.js > back_log.txt 2>&1 &!命令来实现,注意命令最后用的是&!而不是&,如果用的是&,当前终端退出后程序就会停止运行,用&!则终端退出程序也不会停止,但这时要杀死这个程序只能通过ps aux | grep node\ index.js获取到id后通过kill id来实现了。
    • 在ubuntu下用node index.js > back_log.txt 2>&1 &可以实现ssh退出后程序依旧在运行
  3. 有关后台运行的相关资料
  4. 在Ubutntu服务器上遇到两个问题

thworld_auto_signin's People

Contributors

codearvin avatar

Watchers

 avatar  avatar

thworld_auto_signin's Issues

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.