Massive architectural rework

This commit massively overhauls the project's structure to simplify
development. Most parts are now correctly compartmentalized and
dependencies are passed in a sane way rather than global variables
galore xd.
This commit is contained in:
Zoe
2025-05-02 12:15:40 -05:00
parent f4bf2ff5a1
commit c891c24843
50 changed files with 2684 additions and 2410 deletions

View File

@@ -1,14 +1,14 @@
{
"name": "Flux",
"version": "0.0.1",
"description": "Flux is a lightweight self-hosted pseudo-paas for golang web apps.",
"description": "Flux is a lightweight self-hosted micro-paas for golang web apps.",
"author": "juls0730",
"license": "MIT",
"scripts": {
"build:daemon": "go build -o fluxd cmd/fluxd/main.go",
"build:cli": "go build -o flux cmd/flux/main.go",
"build:all": "go build -o fluxd cmd/fluxd/main.go && go build -o flux cmd/flux/main.go",
"run:daemon": "go run cmd/fluxd/main.go",
"build:daemon": "go build -o fluxd cmd/daemon/main.go",
"build:cli": "go build -o flux cmd/cli/main.go",
"build:all": "go build -o fluxd cmd/daemon/main.go && go build -o flux cmd/cli/main.go",
"run:daemon": "go run cmd/daemon/main.go",
"run:cli": "go run cmd/flux/main.go"
},
"pattern": "**/*.go",