mirror of
https://github.com/ReCloudStudio/WebHooker.git
synced 2026-09-22 16:11:29 +00:00
- Group.forgeLabel (default off, editable per group in the console) shows the source forge on every message the group's routes dispatch - Discord embed footer: forge name next to the repo + the site's favicon as icon_url (Gitea instance's own favicon from its origin) - Telegram footer: hyperlinked site name (GitHub or Gitea hostname); custom webhooks render a plain 'Custom' label - forgeInfo() derives branding from event.provider + repository.html_url; dispatch attaches it to the NeutralMessage like mentionRoleIds - validateGroups accepts forgeLabel booleans; GroupEditor gains the toggle - tests: forgeInfo unit, discord/telegram footer render, dispatch on/off - docs: groups.md + message-format.md (en/zh), config.example.yaml, AGENTS.md - fix: wrangler.jsonc compatibility_date was an incomplete '2026-'
32 lines
582 B
JSON
32 lines
582 B
JSON
{
|
|
"name": "webhooker",
|
|
"main": ".output/server/index.mjs",
|
|
"compatibility_date": "2026-08-04",
|
|
"compatibility_flags": ["nodejs_compat"],
|
|
"build": {
|
|
"command": "bun run build"
|
|
},
|
|
"assets": {
|
|
"directory": "./.output/public",
|
|
"binding": "ASSETS",
|
|
"run_worker_first": true
|
|
},
|
|
"triggers": {
|
|
"crons": [
|
|
"*/5 * * * *"
|
|
]
|
|
},
|
|
"kv_namespaces": [
|
|
{
|
|
"binding": "KV",
|
|
"id": "53abb6d985a44b80b2b08d510f73928a"
|
|
},
|
|
],
|
|
"d1_databases": [
|
|
{
|
|
"binding": "DB",
|
|
"database_name": "webhooker",
|
|
"database_id": "214a0104-3235-47c0-b7bf-ddda95f3c8ac"
|
|
},
|
|
],
|
|
}
|