尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證製作者的介紹僅有上面的一句話。 更多詳情請閱讀儲存庫 README。 儲存庫 README ↗
正在載入完整 README。
檢視完整 README ↗A web page that lists common patient text messages for Annan North Surgery. Click Copy on any snippet and paste it into the clinical system's text messaging tool.
Every message automatically ends with "Annan North Surgery" on a new line (set by SIGN_OFF in app.js), so don't type it into the snippet text.
No patient data is stored, only message templates.
Anyone with the link can view and copy snippets. Editing is hidden by default:
Editing also switches off after 10 minutes without activity, or when the page is reloaded. The PIN isn't remembered, so it's needed every time. After 10 wrong guesses from the same address, PIN entry is blocked for 15 minutes.
Off the NHS network, the Add / edit snippets button isn't shown, and the server refuses any changes. The page shows the internet address it sees, which helps if the allowed range needs updating.
| Variable | Purpose |
|---|---|
EDIT_PIN | The practice PIN needed to edit. If not set, no PIN is asked for. |
ALLOWED_IP_RANGES | Addresses allowed to edit, comma-separated. Defaults to 62.6.52.0/24 (every address starting 62.6.52.). Example: 62.6.52.0/24, 194.1.2.0/24. |
KV_REST_API_URL, KV_REST_API_TOKEN | Set automatically when the Upstash database is connected (see below). |
After changing any of these, redeploy (Deployments → ⋯ → Redeploy) for them to take effect.
main redeploys automatically.KV prefix.EDIT_PIN (see above), then redeploy.If the database isn't connected, the page says so and shows the starter list from snippets.json, read-only.
snippets.json holds the starter list and a version number. On first use, its snippets are copied into the database. After that, the database is the master copy, and edits made in the app are kept.
To reset the shared list to the file's contents:
Edit snippets.json on GitHub with the snippets you want. Each entry looks like this (category is optional; watch the commas between entries):
{"id": "smear-due", "title": "Cervical screening due", "category": "Screening", "text": "You are due your cervical screening test. Please book an appointment with the practice nurse via reception."}
Change "version" to a new number (e.g. 1 → 2) and commit.
Vercel redeploys, and the next time anyone opens the page the shared list is replaced with the file's contents. Anything added in the app that isn't in the file is removed, so use Export all snippets first if you might want it. Editing the file without changing the version number has no effect.
Export all snippets, at the bottom of the page, downloads a copy. In editing mode, Import snippets adds snippets from such a file, skipping any that already exist.
Any static file server (e.g. npx serve .) shows the page read-only from snippets.json. To run the editing features locally, use npx vercel dev with the environment variables above set.