Files
EvoFirewall/README.md
T
DenozordecandCursor ef56da4d91
Build and Push EvoFirewall Docker Image / build-and-push (push) Successful in 1m37s
Build and Push EvoFirewall Docker Image / create-release (push) Skipped
feat(api, web): implement short install link functionality for agents
- Added new API endpoints for creating, retrieving, and revoking install links for agents.
- Enhanced the agent installation process with short links accessible via `/agent-install/:id` and `/:slug`.
- Updated the README and documentation to reflect the new installation method and usage instructions.
- Refactored relevant components in the web application to support the new install link feature.
- Improved error handling and validation for install link operations.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-21 01:25:05 +07:00

54 lines
1.2 KiB
Markdown

# EvoFirewall
Централизованный firewall controller: Linux / MikroTik agents, IP lists, allow/deny политики, статистика.
Интеграции: **auth-portal** (SSO, app id `fw`), **EvoBGP** (источник префиксов).
## Стек
- Monorepo: pnpm workspaces + turbo
- `apps/web` — Vite + React + TanStack + shadcn/ui + ReUI Frame
- `apps/api` — Fastify 5 + Drizzle + SQLite
- Packages: `@evofw/ui`, `@evofw/shared`, `@evofw/db`
## Быстрый старт
```bash
pnpm install
cp .env.example .env
pnpm --filter @evofw/db build
pnpm --filter @evofw/shared build
pnpm --filter @evofw/api dev # :8080
pnpm --filter @evofw/web dev # :5177
```
Linux agent (short link из UI `/agents` → Добавить агента):
```bash
curl -fsSL http://localhost:8080/agent-install/<id> | bash
# или:
curl -fsSL http://localhost:8080/<slug> | bash
```
Legacy one-liner:
```bash
curl -fsSL http://localhost:8080/v1/agent/install.sh | \
EVOFW_CP_URL=http://localhost:8080 \
EVOFW_SEED=dev-enroll-seed-change-me \
EVOFW_CLIENT_NAME="web-01" \
bash
```
Затем Approve в UI `/agents`.
## Docs
См. [`docs/README.md`](docs/README.md).
## Git
```
origin https://git.shts.su/denozord/EvoFirewall.git
```