Coder Social home page Coder Social logo

earthquakewarning's Introduction

地震预警

请注意本项目会尽可能的提前告知用户,但不能保障稳定和是否会出现突发状况,请不要过度依赖该项目

本项目着手来源于山东平原地震,在手机音量的限制下,叫人醒来需要更多的时间,所以接入api电脑实时获取数据,以便获得更多的逃生时间

感谢wolfx提供的API和站长素材提供的音频文件

https://api.wolfx.jp/

https://sc.chinaz.com/

配置文件

请在运行前修改配置文件 config/config.json

{
  "latitude": xx.xxxxx,
  "longitude": xxx.xxxxx,
  "enableMail": true, # 是否启用地震邮箱发送
  "authCode": "XXXXX", # 授权码
  "sandMali": "[email protected]", # 发件人邮箱
  "sendName": "xxx", # 发件人用户名
  "serviceHost": "smtp.163.com", # 发件服务器SSL smtp
  "servicePort": 465, # 服务器端口
  "receive": "[email protected]" # 收件人邮箱
}

earthquakewarning's People

Contributors

zfdx123 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.