feat: 手機地震儀(本機測站、跨網路連線、全球中繼網路) - #28
Open
liug1217 wants to merge 1 commit into
Open
Conversation
新增手機瀏覽器變身即時測站功能,跟真實測站資料完全合併(同一份 TREM.variable.station / ans.data.station),觸發、面板、地圖、地區震度速報、trem 型 EEW 資訊框都比照真實測站處理。 - 本機 HTTPS 伺服器(自簽憑證)+ 手機端 seismometer.html,同一 Wi-Fi 即可連線 - 配對權杖驗證,防止未授權裝置對 /api/sensor 灌假資料 - cloudflared Quick Tunnel 讓手機不需同一網路也能連線,設定頁提供 QR Code 方便掃碼 - 全球手機測站中繼網路(原型版,獨立部署於 Vercel):讓所有 TREM-Lite 使用者互相看到彼此 回報的手機測站,之後視需要再與 ExpTech 官方網路整合 - 設定頁「即時測站」下拉選單併入目前連線中的手機測站 Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
摘要
TREM.variable.station/ans.data.station,觸發、面板、地圖、地區震度速報、trem 型 EEW資訊框都比照真實測站處理
/api/sensor灌假資料relay-server/):讓所有TREM-Lite 使用者互相看到彼此回報的手機測站,之後視需要再跟官方網路整合
已知限制 / 待討論事項
cloudflared執行檔需要asarUnpack(已在electron-builder.yml加上),但還沒用真正打包出來的安裝程式驗證過
測試計畫
MAX_PHONE_EEW上限)/api/sensor、/地震儀.html🤖 Generated with Claude Code