mirror of
https://github.com/Elysola/WebHooker.git
synced 2026-11-20 17:13:49 +00:00
refactor: rebrand WebHooker as Elysola
This commit is contained in:
24 files changed
+185
-96
No files matched your search
@@ -1,6 +1,6 @@
|
||||
import { defineConfig } from "vitepress";
|
||||
|
||||
const github = "https://github.com/ReCloudStudio/WebHooker";
|
||||
const github = "https://github.com/Elysola/WebHooker";
|
||||
|
||||
export default defineConfig({
|
||||
title: "WebHooker",
|
||||
@@ -90,7 +90,7 @@ export default defineConfig({
|
||||
},
|
||||
footer: {
|
||||
message: "Released under the MIT License.",
|
||||
copyright: "Copyright 2026 ReCloud Studio",
|
||||
copyright: "Copyright 2026 Elysola",
|
||||
},
|
||||
editLink: {
|
||||
pattern: `${github}/edit/main/docs/:path`,
|
||||
@@ -178,7 +178,7 @@ export default defineConfig({
|
||||
},
|
||||
footer: {
|
||||
message: "基于 MIT 许可发布。",
|
||||
copyright: "Copyright 2026 ReCloud Studio",
|
||||
copyright: "Copyright 2026 Elysola",
|
||||
},
|
||||
editLink: {
|
||||
pattern: `${github}/edit/main/docs/:path`,
|
||||
|
||||
+1
-1
@@ -21,7 +21,7 @@ The console itself is served at `/admin`; its tabs are deep-linkable via the URL
|
||||
| `PUT /admin/api/groups/:id/routes` | Replace a group's routes (owner/admin) |
|
||||
| `GET /admin/api/groups/:id/fragments` | List a group's named filter fragments |
|
||||
| `PUT /admin/api/groups/:id/fragments` | Replace a group's named filter fragments (owner/admin) |
|
||||
| `PUT /admin/api/groups/:id/rename` | Rename a group (owner); routes, webhook secret and invites follow |
|
||||
| `PUT /admin/api/groups/:id/rename` | Rename a group (owner); routes, webhook secret and invites follow (routes are moved before the group record is updated) |
|
||||
| `GET /admin/api/groups/:id/invites` | List pending invites (owner) |
|
||||
| `POST /admin/api/groups/:id/invites` | Create an invite link (owner) |
|
||||
| `DELETE /admin/api/invites/:token` | Revoke an invite (owner) |
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
## Development Setup
|
||||
|
||||
```bash
|
||||
git clone https://github.com/ReCloudStudio/WebHooker.git
|
||||
git clone https://github.com/Elysola/WebHooker.git
|
||||
cd WebHooker
|
||||
bun install
|
||||
cp .env.example .dev.vars # Fill in secrets
|
||||
@@ -15,7 +15,7 @@ bun run dev # Start local dev server
|
||||
```text
|
||||
app/ # Vue 3 UI (Nuxt app dir)
|
||||
├── app.vue # Root component (NuxtPage)
|
||||
├── assets/css/main.css # Tailwind CSS v4 entry: ReCloud UI-compatible RGB aliases + bespoke layout classes
|
||||
├── assets/css/main.css # Tailwind CSS v4 entry: Elysola UI-compatible RGB aliases + bespoke layout classes
|
||||
├── pages/ # index (landing), terms, privacy, admin/[...slug] (console SPA)
|
||||
├── components/ # ConsolePage, RouteCard/Editor, GroupEditor, MembersPanel, WebhookPanel,
|
||||
│ # SendLogs, AuditLog, AppToasts, LegalLayout
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
## Installation
|
||||
|
||||
```bash
|
||||
git clone https://github.com/ReCloudStudio/WebHooker.git
|
||||
git clone https://github.com/Elysola/WebHooker.git
|
||||
cd WebHooker
|
||||
bun install
|
||||
```
|
||||
|
||||
@@ -41,7 +41,7 @@ GitHub / Gitea Webhook → Cloudflare Worker (Nuxt 4 / Nitro)
|
||||
- **HTTP Framework**: Nuxt 4 / Nitro (H3)
|
||||
- **Discord delivery**: Discord REST API (interactions via an Ed25519-verified HTTPS Interactions Endpoint)
|
||||
- **Telegram delivery**: Telegram Bot API (webhook with optional secret-token verification)
|
||||
- **Web UI**: Nuxt 4 (Vue 3 + Tailwind CSS v4 + `@recloudstudio/ui`) — server-rendered home/legal pages, client-side `/admin` console
|
||||
- **Web UI**: Nuxt 4 (Vue 3 + Tailwind CSS v4 + `@elysola/ui`) — server-rendered home/legal pages, client-side `/admin` console
|
||||
- **Storage**: Cloudflare D1 (authoritative for config & logs) + KV (cache/transient state) + optional R2 (oversized payloads)
|
||||
- **Auth**: Web Crypto API (HMAC-SHA256, Ed25519), octokit (GitHub API)
|
||||
- **Language**: TypeScript
|
||||
|
||||
+1
-1
@@ -11,7 +11,7 @@ hero:
|
||||
link: /guide/getting-started
|
||||
- theme: alt
|
||||
text: View on GitHub
|
||||
link: https://github.com/ReCloudStudio/WebHooker
|
||||
link: https://github.com/Elysola/WebHooker
|
||||
|
||||
features:
|
||||
- title: 28 Event Formatters
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
## 开发环境设置
|
||||
|
||||
```bash
|
||||
git clone https://github.com/ReCloudStudio/WebHooker.git
|
||||
git clone https://github.com/Elysola/WebHooker.git
|
||||
cd WebHooker
|
||||
bun install
|
||||
cp .env.example .dev.vars # 填入密钥
|
||||
@@ -15,7 +15,7 @@ bun run dev # 启动本地开发服务器
|
||||
```text
|
||||
app/ # Vue 3 UI(Nuxt app 目录)
|
||||
├── app.vue # 根组件 (NuxtPage)
|
||||
├── assets/css/main.css # Tailwind CSS v4 入口:ReCloud UI 兼容的 RGB 别名 + 专用布局类
|
||||
├── assets/css/main.css # Tailwind CSS v4 入口:Elysola UI 兼容的 RGB 别名 + 专用布局类
|
||||
├── pages/ # index(落地页)、terms、privacy、admin/[...slug](控制台 SPA)
|
||||
├── components/ # ConsolePage、RouteCard/Editor、GroupEditor、MembersPanel、WebhookPanel、
|
||||
│ # SendLogs、AuditLog、AppToasts、LegalLayout
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
## 安装
|
||||
|
||||
```bash
|
||||
git clone https://github.com/ReCloudStudio/WebHooker.git
|
||||
git clone https://github.com/Elysola/WebHooker.git
|
||||
cd WebHooker
|
||||
bun install
|
||||
```
|
||||
|
||||
@@ -41,7 +41,7 @@ GitHub / Gitea Webhook → Cloudflare Worker (Nuxt 4 / Nitro)
|
||||
- **HTTP 框架**: Nuxt 4 / Nitro (H3)
|
||||
- **Discord 投递**: Discord REST API(交互通过 Ed25519 验签的 HTTPS Interactions Endpoint)
|
||||
- **Telegram 投递**: Telegram Bot API(webhook 带可选 secret-token 校验)
|
||||
- **Web UI**: Nuxt 4(Vue 3 + Tailwind CSS v4 + `@recloudstudio/ui`)——首页/法律页面服务端渲染,`/admin` 控制台客户端渲染
|
||||
- **Web UI**: Nuxt 4(Vue 3 + Tailwind CSS v4 + `@elysola/ui`)——首页/法律页面服务端渲染,`/admin` 控制台客户端渲染
|
||||
- **存储**: Cloudflare D1(配置与日志权威)+ KV(缓存/临时状态)+ 可选 R2(超大负载)
|
||||
- **鉴权**: Web Crypto API (HMAC-SHA256、Ed25519)、octokit (GitHub API)
|
||||
- **语言**: TypeScript
|
||||
|
||||
+1
-1
@@ -11,7 +11,7 @@ hero:
|
||||
link: /zh/guide/getting-started
|
||||
- theme: alt
|
||||
text: 在 GitHub 上查看
|
||||
link: https://github.com/ReCloudStudio/WebHooker
|
||||
link: https://github.com/Elysola/WebHooker
|
||||
|
||||
features:
|
||||
- title: 28 种事件格式化器
|
||||
|
||||
Reference in new issue
Block a user