Wikid82 b9dcc6c347 feat(backend): implement database schema, models, and import workflow
- Add ProxyHost, CaddyConfig, RemoteServer, SSL, AccessList, User, Setting, ImportSession models
- Implement ProxyHostService and RemoteServerService with domain/name uniqueness validation
- Add Caddyfile import handler with conflict detection and user review workflow
- Create ProxyHostHandler and RemoteServerHandler with full CRUD operations
- Wire up Gin/GORM/SQLite dependencies and create missing internal packages
- Add database connection layer, server routing, and version info
- Update routes to register all new handlers and auto-migrate models
- Configure import environment variables and mount points

Addresses Issue #5 (data persistence) and Issue #43 (remote servers)
Backend now compiles cleanly with go build
2025-11-18 11:09:10 -05:00

CaddyProxyManager+

CaddyProxyManager+ is a modern web UI and management layer that brings Nginx Proxy Manager-style simplicity to Caddy, with extra security add-ons (CrowdSec, WAF, SSO, etc.).

This repository is the project scaffold and planning workspace.

Quick links

Getting started

  1. Pick a stack (Go / Python / Node). This scaffold uses Python examples; adapt as needed.
  2. Install development dependencies:
python -m pip install --upgrade pip
pip install -r requirements.dev.txt
  1. Install pre-commit hooks:
pip install pre-commit
pre-commit install
pre-commit run --all-files
The `pre-commit` configuration now includes a `python compile check` hook (backed by `python -m compileall`) so syntax errors are caught locally before hitting CI.

Development notes

  • Branching model: development is the main working branch; create feature/** branches from development.
  • CI enforces lint and coverage (75% fail-under) in .github/workflows/ci.yml.

Contributing

  • See CONTRIBUTING.md (coming soon) for contribution guidelines.

License

  • This project is released under the MIT License - see LICENSE.
Description
A lightweight, user-friendly web interface for managing Caddy as a reverse proxy. It simplifies SSL management and host routing for self-hosters who want the power of Caddy without the manual configuration.
Readme MIT 77 MiB
Languages
Go 52.2%
TypeScript 43.6%
Shell 3.5%
Dockerfile 0.3%
JavaScript 0.2%