Skip to content

配合 地牛 Wake Up! 使用,當地震發生時,會自動發送通知到 LINE。

License

Notifications You must be signed in to change notification settings

fish-can/earthquake-alert

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

earthquake-alert

使用 Typescript 撰寫,並使用 bun 打包成執行檔。
配合 地牛 Wake Up! 的連動功能,當地震發生時,會自動發送通知到 LINE。

安裝 地牛 Wake Up

URL: https://eew.earthquake.tw/

地牛 Wake Up! - 主畫面

申請 LINE Notify

URL: https://notify-bot.line.me/my/

Generate Line-Notify access token

使用說明

1. 下載專案

git clone https://github.com/fish-can/earthquake-alert.git

2. 安裝相依套件

bun install

若沒有安裝 bun,請先安裝 bun
URL: https://bun.sh/

3. 輸入 LINE Notify 的 Access-Token

Set Line-Notify token

4. 建置專案

bun run build

5. 連結 Wake Up!

設定頁面 / 其他 / 連動設定

Connect Wake Up!

選取建置好的執行檔

Select executable file

6. 完成

Complete

注意事項

  • 請確保 Wake Up! 的連動設定是正確的
  • 請確保 LINE Notify 的 Access-Token 是正確的

特別感謝

  • 地牛 Wake Up!
  • LINE Notify

其他

若有任何問題,歡迎提出 issue。

About

配合 地牛 Wake Up! 使用,當地震發生時,會自動發送通知到 LINE。

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages