Files
EvoFirewall/README.md
T
2026-07-20 19:28:56 +07:00

71 lines
2.1 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# EvoFirewall
Централизованный firewall controller: Linux / MikroTik agents, blocklists, статистика.
Интеграции (план): **auth-portal** (SSO, app id `fw`), **EvoBGP** (источник префиксов).
## Стек (как CFDM / VPS Tracker)
- Monorepo: pnpm workspaces + turbo
- `apps/web` — Vite + React + TanStack Router/Query + shadcn/ui + ReUI
- `apps/api` — Fastify + Drizzle + SQLite
- `packages/ui``@evofw/ui` (shadcn primitives)
- `packages/shared` — Zod-контракты
- `packages/db` — схема и репозитории
## Структура
```
apps/
web/ # SPA
api/ # HTTP API
packages/
ui/ # shadcn CLI output
shared/ # contracts
db/ # drizzle
docs/
deploy/
scripts/
data/ # SQLite (gitignored)
```
## Быстрый старт
```bash
pnpm install
cp .env.example .env
# ReUI PRO: apps/web/.env.local уже с ключом (из CFDM) или скопируйте:
# copy ..\cloudflare-domain-manager\apps\web\.env.local apps\web\.env.local
```
Scaffold пока без Vite/Fastify — следующий шаг: init web/api по образцу CFDM.
## ReUI PRO
Skill + MCP установлены официальным инсталлером (`https://mcp.reui.io/install`):
- Skill: `.agents/skills/reui` (версия `42d70dcc3d`)
- MCP: `.mcp.json` / `.cursor/mcp.json``https://mcp.reui.io/api/mcp`
- Rules: `.cursor/rules/reui-mcp.mdc`, `reui.mdc`, `shadcn-*.mdc`, `frontend-*.mdc`
- Contract: [`docs/ui-design-contract.md`](docs/ui-design-contract.md) — surface **frame**
```bash
cd apps/web
# нужен REUI_LICENSE_KEY в .env.local (уже из CFDM)
pnpm dlx shadcn@latest add @reui/frame --yes
```
Обновить skill/MCP:
```bash
curl -fsSL https://mcp.reui.io/install | node -
```
Docs: https://reui.io/docs/license-setup · https://reui.io/llms.txt · https://reui.io/docs/mcp · https://reui.io/docs/agent-skills
## Git
```
origin https://git.shts.su/denozord/EvoFirewall.git
```