尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證正在載入完整 README。 以下為已儲存的摘錄。
A web app that identifies insects in photos with the Pyinsect 2.8 model (390 classes) and
reports invasive species. The older Pyinsect 2.7 model is still available at /2.7/.
This repo is public, so it holds no reports and no tokens. Reports (one .json and one .jpg
per find) live in reports/ of a separate private repo that only the relay can read and write.檢視完整 README ↗A web app that identifies insects in photos with the Pyinsect 2.8 model (390 classes) and
reports invasive species. The older Pyinsect 2.7 model is still available at /2.7/.
| Where | What it does |
|---|---|
This repo on GitHub Pages (/) | Identify: pick photos, the model runs in the browser |
relay/worker.js on Cloudflare | Receives reports and saves them to a private repo |
https://<worker>/<secret word>/ | The reports page: password-protected, refreshes every 15 s |
This repo is public, so it holds no reports and no tokens. Reports (one .json and one .jpg
per find) live in reports/ of a separate private repo that only the relay can read and write.
index.html, README.md, assets/, model/, relay/) to its root. Then Settings →
Pages → Deploy from a branch → main → / (root). The site is live a minute later at
https://<your-username>.github.io/<repository>/.pyinsect-reports-data). Tick "Add a README" so it isn't empty.pyinsect-relay, Deploy.relay/worker.js, set REPORTS_REPO near the top to
<your-username>/<private reports repo>. Then Edit code, replace everything with the
contents of relay/worker.js, Deploy. (The reports repo is set in the code, not as a
Cloudflare setting, so it can't accidentally point at a public repo.) Also put your site's
address (https://<your-username>.github.io) in SITE_ORIGINS, and your site's full link in
SITE near the bottom (the reports page loads the AI check from there).GITHUB_TOKEN, Secret: the token from step 3VIEW_PASSWORD, Secret: the password for the reports pageVIEW_PATH, Secret: a secret word for the page address (letters, digits, -, _)https://pyinsect-relay.<something>.workers.dev) in
RELAY_URL at the top of assets/reports.js.https://pyinsect-relay.<something>.workers.dev/<VIEW_PATH>/. Share that
link and the password only with people who should see reports.nothing-found/, not reports/,
and never on the public map. Public map squares are about 200 m; the team sees a spot rounded to about 75 m.reports/, never change or delete existing ones.VIEW_PASSWORD / VIEW_PATH in Cloudflare.
Everyone then has to use the new link and password.invasive in assets/models/pyinsect-*.js and INVASIVE in
relay/worker.js. Change both, then paste worker.js into Cloudflare again
(Edit code → Deploy).relay/worker.js, so it keeps
working if the site moves or is renamed.model/insect_model.onnx and update classes (and size) in
its settings file in assets/models/. convert_to_onnx.py in the app folder converts a .pth and writes its class
list to assets/models/models.json.