跳转到内容

Repository Layout

PathResponsibility
openflare_serverGin + GORM + SQLite/PostgreSQL control plane
openflare_server/webNext.js 15 App Router admin frontend, statically exported and served by Go Server
openflare_agentGo Agent running on nodes
scriptsAgent install, uninstall, and helper scripts
docsVitePress docs site, design baseline, development rules, deployment and configuration docs

Server Layers

DirectoryResponsibility
controller/Parse input, call service, return response
service/Business logic, validation, transactions, rendering
model/Models, database versioning, migrations
router/Route registration
middleware/Auth, authorization, rate limiting, cross-cutting logic
common/Configuration, global state, initialization
utils/Pure helpers

Frontend Layers

DirectoryResponsibility
app/Routes, layouts, page composition
features/Business-domain modules
components/Cross-feature reusable components
lib/API client, env, utilities, constants
store/Small cross-page UI state
types/Shared types

Released under the Apache License 2.0.