diff --git a/.gitignore b/.gitignore index fcad27b..a123afb 100644 --- a/.gitignore +++ b/.gitignore @@ -3,7 +3,6 @@ pb_data data temp .vscode -beszel beszel-agent beszel_data beszel_data* diff --git a/.goreleaser.yml b/beszel/.goreleaser.yml similarity index 100% rename from .goreleaser.yml rename to beszel/.goreleaser.yml diff --git a/cmd/agent/agent.go b/beszel/cmd/agent/agent.go similarity index 100% rename from cmd/agent/agent.go rename to beszel/cmd/agent/agent.go diff --git a/cmd/hub/hub.go b/beszel/cmd/hub/hub.go similarity index 100% rename from cmd/hub/hub.go rename to beszel/cmd/hub/hub.go diff --git a/dockerfile_Agent b/beszel/dockerfile_Agent similarity index 100% rename from dockerfile_Agent rename to beszel/dockerfile_Agent diff --git a/dockerfile_Hub b/beszel/dockerfile_Hub similarity index 100% rename from dockerfile_Hub rename to beszel/dockerfile_Hub diff --git a/go.mod b/beszel/go.mod similarity index 94% rename from go.mod rename to beszel/go.mod index 27fc7ca..5657ce3 100644 --- a/go.mod +++ b/beszel/go.mod @@ -5,8 +5,13 @@ go 1.22.4 require ( github.com/blang/semver v3.5.1+incompatible github.com/gliderlabs/ssh v0.3.7 + github.com/labstack/echo/v5 v5.0.0-20230722203903-ec5b858dab61 + github.com/pocketbase/dbx v1.10.1 + github.com/pocketbase/pocketbase v0.22.18 github.com/rhysd/go-github-selfupdate v1.2.3 github.com/shirou/gopsutil/v4 v4.24.7 + github.com/spf13/cobra v1.8.1 + golang.org/x/crypto v0.26.0 ) require ( @@ -51,20 +56,16 @@ require ( github.com/inconshreveable/go-update v0.0.0-20160112193335-8152e7eb6ccf // indirect github.com/inconshreveable/mousetrap v1.1.0 // indirect github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 // indirect - github.com/labstack/echo/v5 v5.0.0-20230722203903-ec5b858dab61 // indirect github.com/lufia/plan9stats v0.0.0-20240513124658-fba389f38bae // indirect github.com/mattn/go-colorable v0.1.13 // indirect github.com/mattn/go-isatty v0.0.20 // indirect github.com/mattn/go-sqlite3 v1.14.22 // indirect github.com/mgutz/ansi v0.0.0-20200706080929-d51e80ef957d // indirect github.com/ncruces/go-strftime v0.1.9 // indirect - github.com/pocketbase/dbx v1.10.1 // indirect - github.com/pocketbase/pocketbase v0.22.18 // indirect github.com/power-devops/perfstat v0.0.0-20240221224432-82ca36839d55 // indirect github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec // indirect github.com/shoenig/go-m1cpu v0.1.6 // indirect github.com/spf13/cast v1.6.0 // indirect - github.com/spf13/cobra v1.8.1 // indirect github.com/spf13/pflag v1.0.5 // indirect github.com/tcnksm/go-gitconfig v0.1.2 // indirect github.com/tklauser/go-sysconf v0.3.14 // indirect @@ -75,7 +76,6 @@ require ( github.com/yusufpapurcu/wmi v1.2.4 // indirect go.opencensus.io v0.24.0 // indirect gocloud.dev v0.37.0 // indirect - golang.org/x/crypto v0.26.0 // indirect golang.org/x/image v0.18.0 // indirect golang.org/x/net v0.27.0 // indirect golang.org/x/oauth2 v0.22.0 // indirect diff --git a/go.sum b/beszel/go.sum similarity index 82% rename from go.sum rename to beszel/go.sum index 0d494cf..ed9ea2a 100644 --- a/go.sum +++ b/beszel/go.sum @@ -1,13 +1,31 @@ cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= +cloud.google.com/go v0.115.0 h1:CnFSK6Xo3lDYRoBKEcAtia6VSC837/ZkJuRduSFnr14= +cloud.google.com/go v0.115.0/go.mod h1:8jIM5vVgoAEoiVxQ/O4BFTfHqulPZgs/ufEzMcFMdWU= +cloud.google.com/go/auth v0.7.2 h1:uiha352VrCDMXg+yoBtaD0tUF4Kv9vrtrWPYXwutnDE= +cloud.google.com/go/auth v0.7.2/go.mod h1:VEc4p5NNxycWQTMQEDQF0bd6aTMb6VgYDXEwiJJQAbs= +cloud.google.com/go/auth/oauth2adapt v0.2.3 h1:MlxF+Pd3OmSudg/b1yZ5lJwoXCEaeedAguodky1PcKI= +cloud.google.com/go/auth/oauth2adapt v0.2.3/go.mod h1:tMQXOfZzFuNuUxOypHlQEXgdfX5cuhwU+ffUuXRJE8I= +cloud.google.com/go/compute v1.25.0 h1:H1/4SqSUhjPFE7L5ddzHOfY2bCAvjwNRZPNl6Ni5oYU= +cloud.google.com/go/compute/metadata v0.5.0 h1:Zr0eK8JbFv6+Wi4ilXAR8FJ3wyNdpxHKJNPos6LTZOY= +cloud.google.com/go/compute/metadata v0.5.0/go.mod h1:aHnloV2TPI38yx4s9+wAZhHykWvVCfu7hQbF+9CWoiY= +cloud.google.com/go/iam v1.1.6 h1:bEa06k05IO4f4uJonbB5iAgKTPpABy1ayxaIZV/GHVc= +cloud.google.com/go/iam v1.1.6/go.mod h1:O0zxdPeGBoFdWW3HWmBxJsk0pfvNM/p/qa82rWOGTwI= +cloud.google.com/go/storage v1.39.1 h1:MvraqHKhogCOTXTlct/9C3K3+Uy2jBmFYb3/Sp6dVtY= +cloud.google.com/go/storage v1.39.1/go.mod h1:xK6xZmxZmo+fyP7+DEF6FhNc24/JAe95OLyOHCXFH1o= +filippo.io/edwards25519 v1.1.0 h1:FNf4tywRC1HmFuKW5xopWpigGjJKiJSV0Cqo0cJWDaA= +filippo.io/edwards25519 v1.1.0/go.mod h1:BxyFTGdWcka3PhytdK4V28tE5sGfRvvvRV7EaN4VDT4= github.com/AlecAivazis/survey/v2 v2.3.7 h1:6I/u8FvytdGsgonrYsVn2t8t4QiRnh6QSTqkkhIiSjQ= github.com/AlecAivazis/survey/v2 v2.3.7/go.mod h1:xUTIdE4KCOIjsBAE1JYsUPoCqYdZ1reCfTwbto0Fduo= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= +github.com/Netflix/go-expect v0.0.0-20220104043353-73e0943537d2 h1:+vx7roKuyA63nhn5WAunQHLTznkw5W8b1Xc0dNjp83s= github.com/Netflix/go-expect v0.0.0-20220104043353-73e0943537d2/go.mod h1:HBCaDeC1lPdgDeDbhX8XFpy1jqjK0IBG8W5K+xYqA0w= github.com/anmitsu/go-shlex v0.0.0-20200514113438-38f4b401e2be h1:9AeTilPcZAjCFIImctFaOjnTIavg87rW78vTPkQqLI8= github.com/anmitsu/go-shlex v0.0.0-20200514113438-38f4b401e2be/go.mod h1:ySMOLuWl6zY27l47sB3qLNK6tF2fkHG55UZxx8oIVo4= github.com/asaskevich/govalidator v0.0.0-20200108200545-475eaeb16496/go.mod h1:oGkLhpf+kjZl6xBf758TQhh5XrAeiJv/7FRz/2spLIg= github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2 h1:DklsrG3dyBCFEj5IhUbnKptjxatkF07cF2ak3yi77so= github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2/go.mod h1:WaHUgvxTVq04UNunO+XhnAqY/wQc+bxr74GqbsZ/Jqw= +github.com/aws/aws-sdk-go v1.51.11 h1:El5VypsMIz7sFwAAj/j06JX9UGs4KAbAIEaZ57bNY4s= +github.com/aws/aws-sdk-go v1.51.11/go.mod h1:LF8svs817+Nz+DmiMQKTO3ubZ/6IaTpq3TjupRn3Eqk= github.com/aws/aws-sdk-go-v2 v1.30.3 h1:jUeBtG0Ih+ZIFH0F4UkmL9w3cSpaMv9tYYDbzILP8dY= github.com/aws/aws-sdk-go-v2 v1.30.3/go.mod h1:nIQjQVp5sfpQcTc9mPSr1B0PaWK5ByX9MOoDadSN4lc= github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.6.3 h1:tW1/Rkad38LA15X4UQtjXZXNKsCgkshC3EbmcUmghTg= @@ -52,6 +70,7 @@ github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc= github.com/cpuguy83/go-md2man/v2 v2.0.4/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= +github.com/creack/pty v1.1.17 h1:QeVUsEDNrLBW4tMgZHvxy18sKtr6VI492kBhUfhDJNI= github.com/creack/pty v1.1.17/go.mod h1:MOBLtS5ELjhRRrroQr9kyvTxUAFNvYEK993ew/Vr4O4= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= @@ -68,6 +87,10 @@ github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1m github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= github.com/fatih/color v1.17.0 h1:GlRw1BRJxkpqUCBKzKOw098ed57fEsKeNjpTe3cSjK4= github.com/fatih/color v1.17.0/go.mod h1:YZ7TlrGPkiz6ku9fK3TLD/pl3CpsiFyu8N92HLgmosI= +github.com/felixge/httpsnoop v1.0.4 h1:NFTV2Zj1bL4mc9sqWACXbQFVBBg2W3GPvqp8/ESS2Wg= +github.com/felixge/httpsnoop v1.0.4/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U= +github.com/frankban/quicktest v1.14.6 h1:7Xjx+VpznH+oBnejlPUj8oUpdxnVs4f8XU8WnHkI4W8= +github.com/frankban/quicktest v1.14.6/go.mod h1:4ptaffx2x8+WTWXmUCuVU6aPUX1/Mz7zb5vbUoiM6w0= github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo= github.com/gabriel-vasile/mimetype v1.4.4 h1:QjV6pZ7/XZ7ryI2KuyeEDE8wnh7fHP9YnQy+R0LnH8I= github.com/gabriel-vasile/mimetype v1.4.4/go.mod h1:JwLei5XPtWdGiMFB5Pjle1oEeoSeEuJfJE+TtfvdB/s= @@ -75,12 +98,18 @@ github.com/ganigeorgiev/fexpr v0.4.1 h1:hpUgbUEEWIZhSDBtf4M9aUNfQQ0BZkGRaMePy7Gc github.com/ganigeorgiev/fexpr v0.4.1/go.mod h1:RyGiGqmeXhEQ6+mlGdnUleLHgtzzu/VGO2WtJkF5drE= github.com/gliderlabs/ssh v0.3.7 h1:iV3Bqi942d9huXnzEF2Mt+CY9gLu8DNM4Obd+8bODRE= github.com/gliderlabs/ssh v0.3.7/go.mod h1:zpHEXBstFnQYtGnB8k8kQLol82umzn/2/snG7alWVD8= +github.com/go-logr/logr v1.4.2 h1:6pFjapn8bFcIbiKo3XT4j/BhANplGihG6tvd+8rYgrY= +github.com/go-logr/logr v1.4.2/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY= +github.com/go-logr/stdr v1.2.2 h1:hSWxHoqTgW2S2qGc0LTAI563KZ5YKYRhT3MFKZMbjag= +github.com/go-logr/stdr v1.2.2/go.mod h1:mMo/vtBO5dYbehREoey6XUKy/eSumjCCveDpRre4VKE= github.com/go-ole/go-ole v1.2.6/go.mod h1:pprOEPIfldk/42T2oK7lQ4v4JSDwmV0As9GaiUsvbm0= github.com/go-ole/go-ole v1.3.0 h1:Dt6ye7+vXGIKZ7Xtk4s6/xVdGDQynvom7xCFEdWr6uE= github.com/go-ole/go-ole v1.3.0/go.mod h1:5LS6F96DhAwUc7C+1HLexzMXY1xGRSryjyPPKW6zv78= github.com/go-ozzo/ozzo-validation/v4 v4.3.0 h1:byhDUpfEwjsVQb1vBunvIjh2BHQ9ead57VkAEY4V+Es= github.com/go-ozzo/ozzo-validation/v4 v4.3.0/go.mod h1:2NKgrcHl3z6cJs+3Oo940FPRiTzuqKbvfrL2RxCj6Ew= github.com/go-sql-driver/mysql v1.4.1/go.mod h1:zAC/RDZ24gD3HViQzih4MyKcchzm+sOG5ZlKdlhCg5w= +github.com/go-sql-driver/mysql v1.8.0 h1:UtktXaU2Nb64z/pLiGIxY4431SJ4/dR5cjMmlVHgnT4= +github.com/go-sql-driver/mysql v1.8.0/go.mod h1:wEBSXgmK//2ZFJyE+qWnIsVGmvmEKlqwuVSjsCm7DZg= github.com/goccy/go-json v0.10.3 h1:KZ5WoDbxAIgm2HNbYckL0se1fHD6rz5j4ywS6ebzDqA= github.com/goccy/go-json v0.10.3/go.mod h1:oq7eo15ShAhp70Anwd5lgX2pLfOS3QCiwU/PULtXL6M= github.com/golang-jwt/jwt/v4 v4.5.0 h1:7cYmW1XlMY7h7ii7UhUyChSgS5wUJEnm9uZVTGqOWzg= @@ -100,6 +129,8 @@ github.com/golang/protobuf v1.4.0-rc.4.0.20200313231945-b860323f09d0/go.mod h1:W github.com/golang/protobuf v1.4.0/go.mod h1:jodUvKwWbYaEsadDk5Fwe5c77LiNKVO9IDvqG2KuDX0= github.com/golang/protobuf v1.4.1/go.mod h1:U8fpvMrcmy5pZrNK1lt4xCsGvpyWQ/VVv6QDs8UjoX8= github.com/golang/protobuf v1.4.3/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= +github.com/golang/protobuf v1.5.4 h1:i7eJL8qZTpSEXOPTxNKhASYpMn+8e5Q6AdndVa1dWek= +github.com/golang/protobuf v1.5.4/go.mod h1:lnTiLA8Wa4RWRcIUkrtSVa5nRhsEGBg48fD6rSs7xps= github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= @@ -114,24 +145,39 @@ github.com/google/go-github/v30 v30.1.0/go.mod h1:n8jBpHl45a/rlBUtRJMOG4GhNADUQF github.com/google/go-querystring v1.0.0/go.mod h1:odCYkC5MyYFN7vkCjXpyrEuKhc/BUO6wN/zVPAxq5ck= github.com/google/go-querystring v1.1.0 h1:AnCroh3fv4ZBgVIf1Iwtovgjaw/GiKJo8M8yD/fhyJ8= github.com/google/go-querystring v1.1.0/go.mod h1:Kcdr2DB4koayq7X8pmAG4sNG59So17icRSOU623lUBU= +github.com/google/pprof v0.0.0-20240625030939-27f56978b8b0 h1:e+8XbKB6IMn8A4OAyZccO4pYfB3s7bt6azNIPE7AnPg= +github.com/google/pprof v0.0.0-20240625030939-27f56978b8b0/go.mod h1:K1liHPHnj73Fdn/EKuT8nrFqBihUSKXoLYU0BuatOYo= +github.com/google/s2a-go v0.1.7 h1:60BLSyTrOV4/haCDW4zb1guZItoSq8foHCXrAnjBo/o= +github.com/google/s2a-go v0.1.7/go.mod h1:50CgR4k1jNlWBu4UfS4AcfhVe1r6pdZPygJ3R8F0Qdw= github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= +github.com/google/wire v0.6.0 h1:HBkoIh4BdSxoyo9PveV8giw7ZsaBOvzWKfcg/6MrVwI= +github.com/google/wire v0.6.0/go.mod h1:F4QhpQ9EDIdJ1Mbop/NZBRB+5yrR6qg3BnctaoUk6NA= +github.com/googleapis/enterprise-certificate-proxy v0.3.2 h1:Vie5ybvEvT75RniqhfFxPRy3Bf7vr3h0cechB90XaQs= +github.com/googleapis/enterprise-certificate-proxy v0.3.2/go.mod h1:VLSiSSBs/ksPL8kq3OBOQ6WRI2QnaFynd1DCjZ62+V0= github.com/googleapis/gax-go/v2 v2.13.0 h1:yitjD5f7jQHhyDsnhKEBU52NdvvdSeGzlAnDPT0hH1s= github.com/googleapis/gax-go/v2 v2.13.0/go.mod h1:Z/fvTZXF8/uw7Xu5GuslPw+bplx6SS338j1Is2S+B7A= github.com/hashicorp/golang-lru/v2 v2.0.7 h1:a+bsQ5rvGLjzHuww6tVxozPZFVghXaHOwFs4luLUK2k= github.com/hashicorp/golang-lru/v2 v2.0.7/go.mod h1:QeFd9opnmA6QUJc5vARoKUSoFhyfM2/ZepoAG6RGpeM= +github.com/hinshun/vt10x v0.0.0-20220119200601-820417d04eec h1:qv2VnGeEQHchGaZ/u7lxST/RaJw+cv273q79D81Xbog= github.com/hinshun/vt10x v0.0.0-20220119200601-820417d04eec/go.mod h1:Q48J4R4DvxnHolD5P8pOtXigYlRuPLGl6moFx3ulM68= github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU= github.com/inconshreveable/go-update v0.0.0-20160112193335-8152e7eb6ccf h1:WfD7VjIE6z8dIvMsI4/s+1qr5EL+zoIGev1BQj1eoJ8= github.com/inconshreveable/go-update v0.0.0-20160112193335-8152e7eb6ccf/go.mod h1:hyb9oH7vZsitZCiBt0ZvifOrB+qc8PS5IiilCIb87rg= github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8= github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw= +github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg= +github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 h1:Z9n2FFNUXsshfwJMBgNA0RU6/i7WVaAegv3PtuIHPMs= github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51/go.mod h1:CzGEWj7cYgsdH8dAjBGEr58BoE7ScuLd+fwFZ44+/x8= github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= +github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE= +github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk= github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= +github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= +github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= github.com/labstack/echo/v5 v5.0.0-20230722203903-ec5b858dab61 h1:FwuzbVh87iLiUQj1+uQUsuw9x5t9m5n5g7rG7o4svW4= github.com/labstack/echo/v5 v5.0.0-20230722203903-ec5b858dab61/go.mod h1:paQfF1YtHe+GrGg5fOgjsjoCX/UKDr9bc1DoWpZfns8= github.com/lufia/plan9stats v0.0.0-20240513124658-fba389f38bae h1:dIZY4ULFcto4tAFlj1FYZl8ztUZ13bdq+PLY+NOfbyI= @@ -166,6 +212,8 @@ github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec h1:W09IVJc94 github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec/go.mod h1:qqbHyh8v60DhA7CoWK5oRCqLrMHRGoxYCSS9EjAz6Eo= github.com/rhysd/go-github-selfupdate v1.2.3 h1:iaa+J202f+Nc+A8zi75uccC8Wg3omaM7HDeimXA22Ag= github.com/rhysd/go-github-selfupdate v1.2.3/go.mod h1:mp/N8zj6jFfBQy/XMYoWsmfzxazpPAODuqarmPDe2Rg= +github.com/rogpeppe/go-internal v1.9.0 h1:73kH8U+JUqXU8lRuOHeVHaa/SZPifC7BkcraZVejAe8= +github.com/rogpeppe/go-internal v1.9.0/go.mod h1:WtVeX8xhTBvf0smdhujwtBcq4Qrzq/fJaraNFVN+nFs= github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= github.com/shirou/gopsutil/v4 v4.24.7 h1:V9UGTK4gQ8HvcnPKf6Zt3XHyQq/peaekfxpJ2HSocJk= github.com/shirou/gopsutil/v4 v4.24.7/go.mod h1:0uW/073rP7FYLOkvxolUQM5rMOLTNmRXnFKafpb71rw= @@ -207,6 +255,16 @@ github.com/yusufpapurcu/wmi v1.2.4 h1:zFUKzehAFReQwLys1b/iSMl+JQGSCSjtVqQn9bBrPo github.com/yusufpapurcu/wmi v1.2.4/go.mod h1:SBZ9tNy3G9/m5Oi98Zks0QjeHVDvuK0qfxQmPyzfmi0= go.opencensus.io v0.24.0 h1:y73uSU6J157QMP2kn2r30vwW1A2W2WFwSCGnAVxeaD0= go.opencensus.io v0.24.0/go.mod h1:vNK8G9p7aAivkbmorf4v+7Hgx+Zs0yY+0fOtgBfjQKo= +go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.49.0 h1:4Pp6oUg3+e/6M4C0A/3kJ2VYa++dsWVTtGgLVj5xtHg= +go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.49.0/go.mod h1:Mjt1i1INqiaoZOMGR1RIUJN+i3ChKoFRqzrRQhlkbs0= +go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.49.0 h1:jq9TW8u3so/bN+JPT166wjOI6/vQPF6Xe7nMNIltagk= +go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.49.0/go.mod h1:p8pYQP+m5XfbZm9fxtSKAbM6oIllS7s2AfxrChvc7iw= +go.opentelemetry.io/otel v1.24.0 h1:0LAOdjNmQeSTzGBzduGe/rU4tZhMwL5rWgtp9Ku5Jfo= +go.opentelemetry.io/otel v1.24.0/go.mod h1:W7b9Ozg4nkF5tWI5zsXkaKKDjdVjpD4oAt9Qi/MArHo= +go.opentelemetry.io/otel/metric v1.24.0 h1:6EhoGWWK28x1fbpA4tYTOWBkPefTDQnb8WSGXlc88kI= +go.opentelemetry.io/otel/metric v1.24.0/go.mod h1:VYhLe1rFfxuTXLgj4CBiyz+9WYBA8pNGJgDcSFRKBco= +go.opentelemetry.io/otel/trace v1.24.0 h1:CsKnnL4dUAr/0llH9FKuc698G04IrpWV0MQA/Y1YELI= +go.opentelemetry.io/otel/trace v1.24.0/go.mod h1:HPc3Xr/cOApsBI154IU0OI0HJexz+aw5uPdbs3UCjNU= gocloud.dev v0.37.0 h1:XF1rN6R0qZI/9DYjN16Uy0durAmSlf58DHOcb28GPro= gocloud.dev v0.37.0/go.mod h1:7/O4kqdInCNsc6LqgmuFnS0GRew4XNNYWpA44yQnwco= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= @@ -223,6 +281,8 @@ golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTk golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU= golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4= +golang.org/x/mod v0.17.0 h1:zY54UmvipHiNd+pm+m0x9KhZ9hl1/7QNMyxXbc6ICqA= +golang.org/x/mod v0.17.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180906233101-161cd47e91fd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= @@ -286,6 +346,8 @@ golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3 golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc= +golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d h1:vU5i/LfpvrRCpgM/VPfJLg5KjxD3E+hfT1SH+d9zLwg= +golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d/go.mod h1:aiJjzUbINMkxbQROHiO6hDPo2LHcIPhhQsa9DLh0yGk= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20240716161551-93cc26a95ae9 h1:LLhsEBxRTBLuKlQxFBYUOU8xyFgXv6cOTp2HASDlsDk= @@ -299,6 +361,10 @@ google.golang.org/appengine v1.6.5/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCID google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEYHJ7i3ixzK3sjbqSGDJWnxyFXZblF3eUsNvo= +google.golang.org/genproto v0.0.0-20240722135656-d784300faade h1:lKFsS7wpngDgSCeFn7MoLy+wBDQZ1UQIJD4UNM1Qvkg= +google.golang.org/genproto v0.0.0-20240722135656-d784300faade/go.mod h1:FfBgJBJg9GcpPvKIuHSZ/aE1g2ecGL74upMzGZjiGEY= +google.golang.org/genproto/googleapis/api v0.0.0-20240711142825-46eb208f015d h1:kHjw/5UfflP/L5EbledDrcG4C2597RtymmGRZvHiCuY= +google.golang.org/genproto/googleapis/api v0.0.0-20240711142825-46eb208f015d/go.mod h1:mw8MG/Qz5wfgYr6VqVCiZcHe/GJEfI+oGGDCohaVgB0= google.golang.org/genproto/googleapis/rpc v0.0.0-20240723171418-e6d459c13d2a h1:hqK4+jJZXCU4pW7jsAdGOVFIfLHQeV7LaizZKnZ84HI= google.golang.org/genproto/googleapis/rpc v0.0.0-20240723171418-e6d459c13d2a/go.mod h1:Ue6ibwXGpU+dqIcODieyLOcgj7z8+IcskoNIgZxtrFY= google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= @@ -323,14 +389,22 @@ gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8 gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/fsnotify.v1 v1.4.7/go.mod h1:Tz8NjZHkW78fSQdbUxIjBTcgA1z1m8ZHf0WmKUhAMys= gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7/go.mod h1:dt/ZhP58zS4L8KSrWDmTeBkI65Dw0HsyUHuEVlX15mw= -gopkg.in/yaml.v2 v2.2.1 h1:mUhvW9EsL+naU5Q3cakzfE91YhliOondGd6ZrsDBHQE= gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v2 v2.2.2 h1:ZCJp+EgiOT7lHqUV2J862kp8Qj64Jo6az82+3Td9dZw= gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= +modernc.org/cc/v4 v4.21.4 h1:3Be/Rdo1fpr8GrQ7IVw9OHtplU4gWbb+wNgeoBMmGLQ= +modernc.org/cc/v4 v4.21.4/go.mod h1:HM7VJTZbUCR3rV8EYBi9wxnJ0ZBRiGE5OeGXNA0IsLQ= +modernc.org/ccgo/v4 v4.19.2 h1:lwQZgvboKD0jBwdaeVCTouxhxAyN6iawF3STraAal8Y= +modernc.org/ccgo/v4 v4.19.2/go.mod h1:ysS3mxiMV38XGRTTcgo0DQTeTmAO4oCmJl1nX9VFI3s= +modernc.org/fileutil v1.3.0 h1:gQ5SIzK3H9kdfai/5x41oQiKValumqNTDXMvKo62HvE= +modernc.org/fileutil v1.3.0/go.mod h1:XatxS8fZi3pS8/hKG2GH/ArUogfxjpEKs3Ku3aK4JyQ= +modernc.org/gc/v2 v2.4.1 h1:9cNzOqPyMJBvrUipmynX0ZohMhcxPtMccYgGOJdOiBw= +modernc.org/gc/v2 v2.4.1/go.mod h1:wzN5dK1AzVGoH6XOzc3YZ+ey/jPgYHLuVckd62P0GYU= modernc.org/gc/v3 v3.0.0-20240722195230-4a140ff9c08e h1:WPC4v0rNIFb2PY+nBBEEKyugPPRHPzUgyN3xZPpGK58= modernc.org/gc/v3 v3.0.0-20240722195230-4a140ff9c08e/go.mod h1:Qz0X07sNOR1jWYCrJMEnbW/X55x206Q7Vt4mz6/wHp4= modernc.org/libc v1.55.3 h1:AzcW1mhlPNrRtjS5sS+eW2ISCgSOLLNyFzRh/V3Qj/U= @@ -339,6 +413,10 @@ modernc.org/mathutil v1.6.0 h1:fRe9+AmYlaej+64JsEEhoWuAYBkOtQiMEU7n/XgfYi4= modernc.org/mathutil v1.6.0/go.mod h1:Ui5Q9q1TR2gFm0AQRqQUaBWFLAhQpCwNcuhBOSedWPo= modernc.org/memory v1.8.0 h1:IqGTL6eFMaDZZhEWwcREgeMXYwmW83LYW8cROZYkg+E= modernc.org/memory v1.8.0/go.mod h1:XPZ936zp5OMKGWPqbD3JShgd/ZoQ7899TUuQqxY+peU= +modernc.org/opt v0.1.3 h1:3XOZf2yznlhC+ibLltsDGzABUGVx8J6pnFMS3E4dcq4= +modernc.org/opt v0.1.3/go.mod h1:WdSiB5evDcignE70guQKxYUl14mgWtbClRi5wmkkTX0= +modernc.org/sortutil v1.2.0 h1:jQiD3PfS2REGJNzNCMMaLSp/wdMNieTbKX920Cqdgqc= +modernc.org/sortutil v1.2.0/go.mod h1:TKU2s7kJMf1AE84OoiGppNHJwvB753OYfNl2WRb++Ss= modernc.org/sqlite v1.31.1 h1:XVU0VyzxrYHlBhIs1DiEgSl0ZtdnPtbLVy8hSkzxGrs= modernc.org/sqlite v1.31.1/go.mod h1:UqoylwmTb9F+IqXERT8bW9zzOWN8qwAIcLdzeBZs4hA= modernc.org/strutil v1.2.0 h1:agBi9dp1I+eOnxXeiZawM8F4LawKv4NzGWSaLfyeNZA= diff --git a/internal/agent/agent.go b/beszel/internal/agent/agent.go similarity index 100% rename from internal/agent/agent.go rename to beszel/internal/agent/agent.go diff --git a/internal/alerts/alerts.go b/beszel/internal/alerts/alerts.go similarity index 100% rename from internal/alerts/alerts.go rename to beszel/internal/alerts/alerts.go diff --git a/internal/entities/container/stats.go b/beszel/internal/entities/container/stats.go similarity index 100% rename from internal/entities/container/stats.go rename to beszel/internal/entities/container/stats.go diff --git a/internal/entities/email/email.go b/beszel/internal/entities/email/email.go similarity index 100% rename from internal/entities/email/email.go rename to beszel/internal/entities/email/email.go diff --git a/internal/entities/server/server.go b/beszel/internal/entities/server/server.go similarity index 100% rename from internal/entities/server/server.go rename to beszel/internal/entities/server/server.go diff --git a/internal/entities/system/stats.go b/beszel/internal/entities/system/stats.go similarity index 100% rename from internal/entities/system/stats.go rename to beszel/internal/entities/system/stats.go diff --git a/internal/entities/system/system.go b/beszel/internal/entities/system/system.go similarity index 100% rename from internal/entities/system/system.go rename to beszel/internal/entities/system/system.go diff --git a/internal/hub/hub.go b/beszel/internal/hub/hub.go similarity index 100% rename from internal/hub/hub.go rename to beszel/internal/hub/hub.go diff --git a/internal/records/records.go b/beszel/internal/records/records.go similarity index 100% rename from internal/records/records.go rename to beszel/internal/records/records.go diff --git a/internal/update/update.go b/beszel/internal/update/update.go similarity index 100% rename from internal/update/update.go rename to beszel/internal/update/update.go diff --git a/migrations/1722186612_collections_snapshot.go b/beszel/migrations/1722186612_collections_snapshot.go similarity index 100% rename from migrations/1722186612_collections_snapshot.go rename to beszel/migrations/1722186612_collections_snapshot.go diff --git a/migrations/initial-settings.go b/beszel/migrations/initial-settings.go similarity index 100% rename from migrations/initial-settings.go rename to beszel/migrations/initial-settings.go diff --git a/site/.gitignore b/beszel/site/.gitignore similarity index 100% rename from site/.gitignore rename to beszel/site/.gitignore diff --git a/site/bun.lockb b/beszel/site/bun.lockb old mode 100644 new mode 100755 similarity index 99% rename from site/bun.lockb rename to beszel/site/bun.lockb index 6588bda..92418a3 Binary files a/site/bun.lockb and b/beszel/site/bun.lockb differ diff --git a/site/components.json b/beszel/site/components.json similarity index 100% rename from site/components.json rename to beszel/site/components.json diff --git a/site/embed.go b/beszel/site/embed.go similarity index 100% rename from site/embed.go rename to beszel/site/embed.go diff --git a/site/index.html b/beszel/site/index.html similarity index 100% rename from site/index.html rename to beszel/site/index.html diff --git a/site/package-lock.json b/beszel/site/package-lock.json similarity index 100% rename from site/package-lock.json rename to beszel/site/package-lock.json diff --git a/site/package.json b/beszel/site/package.json similarity index 100% rename from site/package.json rename to beszel/site/package.json diff --git a/site/postcss.config.js b/beszel/site/postcss.config.js similarity index 100% rename from site/postcss.config.js rename to beszel/site/postcss.config.js diff --git a/site/public/static/apple.svg b/beszel/site/public/static/apple.svg similarity index 100% rename from site/public/static/apple.svg rename to beszel/site/public/static/apple.svg diff --git a/site/public/static/bitbucket.svg b/beszel/site/public/static/bitbucket.svg similarity index 100% rename from site/public/static/bitbucket.svg rename to beszel/site/public/static/bitbucket.svg diff --git a/site/public/static/discord.svg b/beszel/site/public/static/discord.svg similarity index 100% rename from site/public/static/discord.svg rename to beszel/site/public/static/discord.svg diff --git a/site/public/static/facebook.svg b/beszel/site/public/static/facebook.svg similarity index 100% rename from site/public/static/facebook.svg rename to beszel/site/public/static/facebook.svg diff --git a/site/public/static/favicon-green.svg b/beszel/site/public/static/favicon-green.svg similarity index 100% rename from site/public/static/favicon-green.svg rename to beszel/site/public/static/favicon-green.svg diff --git a/site/public/static/favicon-red.svg b/beszel/site/public/static/favicon-red.svg similarity index 100% rename from site/public/static/favicon-red.svg rename to beszel/site/public/static/favicon-red.svg diff --git a/site/public/static/favicon.svg b/beszel/site/public/static/favicon.svg similarity index 100% rename from site/public/static/favicon.svg rename to beszel/site/public/static/favicon.svg diff --git a/site/public/static/gitea.svg b/beszel/site/public/static/gitea.svg similarity index 100% rename from site/public/static/gitea.svg rename to beszel/site/public/static/gitea.svg diff --git a/site/public/static/gitee.svg b/beszel/site/public/static/gitee.svg similarity index 100% rename from site/public/static/gitee.svg rename to beszel/site/public/static/gitee.svg diff --git a/site/public/static/github.svg b/beszel/site/public/static/github.svg similarity index 100% rename from site/public/static/github.svg rename to beszel/site/public/static/github.svg diff --git a/site/public/static/gitlab.svg b/beszel/site/public/static/gitlab.svg similarity index 100% rename from site/public/static/gitlab.svg rename to beszel/site/public/static/gitlab.svg diff --git a/site/public/static/google.svg b/beszel/site/public/static/google.svg similarity index 100% rename from site/public/static/google.svg rename to beszel/site/public/static/google.svg diff --git a/site/public/static/instagram.svg b/beszel/site/public/static/instagram.svg similarity index 100% rename from site/public/static/instagram.svg rename to beszel/site/public/static/instagram.svg diff --git a/site/public/static/lock.svg b/beszel/site/public/static/lock.svg similarity index 100% rename from site/public/static/lock.svg rename to beszel/site/public/static/lock.svg diff --git a/site/public/static/oidc.svg b/beszel/site/public/static/oidc.svg similarity index 100% rename from site/public/static/oidc.svg rename to beszel/site/public/static/oidc.svg diff --git a/site/public/static/patreon.svg b/beszel/site/public/static/patreon.svg similarity index 100% rename from site/public/static/patreon.svg rename to beszel/site/public/static/patreon.svg diff --git a/site/public/static/spotify.svg b/beszel/site/public/static/spotify.svg similarity index 100% rename from site/public/static/spotify.svg rename to beszel/site/public/static/spotify.svg diff --git a/site/public/static/strava.svg b/beszel/site/public/static/strava.svg similarity index 100% rename from site/public/static/strava.svg rename to beszel/site/public/static/strava.svg diff --git a/site/public/static/twitch.svg b/beszel/site/public/static/twitch.svg similarity index 100% rename from site/public/static/twitch.svg rename to beszel/site/public/static/twitch.svg diff --git a/site/public/static/twitter.svg b/beszel/site/public/static/twitter.svg similarity index 100% rename from site/public/static/twitter.svg rename to beszel/site/public/static/twitter.svg diff --git a/site/src/components/add-system.tsx b/beszel/site/src/components/add-system.tsx similarity index 100% rename from site/src/components/add-system.tsx rename to beszel/site/src/components/add-system.tsx diff --git a/site/src/components/charts/bandwidth-chart.tsx b/beszel/site/src/components/charts/bandwidth-chart.tsx similarity index 100% rename from site/src/components/charts/bandwidth-chart.tsx rename to beszel/site/src/components/charts/bandwidth-chart.tsx diff --git a/site/src/components/charts/chart-time-select.tsx b/beszel/site/src/components/charts/chart-time-select.tsx similarity index 100% rename from site/src/components/charts/chart-time-select.tsx rename to beszel/site/src/components/charts/chart-time-select.tsx diff --git a/site/src/components/charts/container-cpu-chart.tsx b/beszel/site/src/components/charts/container-cpu-chart.tsx similarity index 100% rename from site/src/components/charts/container-cpu-chart.tsx rename to beszel/site/src/components/charts/container-cpu-chart.tsx diff --git a/site/src/components/charts/container-mem-chart.tsx b/beszel/site/src/components/charts/container-mem-chart.tsx similarity index 100% rename from site/src/components/charts/container-mem-chart.tsx rename to beszel/site/src/components/charts/container-mem-chart.tsx diff --git a/site/src/components/charts/container-net-chart.tsx b/beszel/site/src/components/charts/container-net-chart.tsx similarity index 100% rename from site/src/components/charts/container-net-chart.tsx rename to beszel/site/src/components/charts/container-net-chart.tsx diff --git a/site/src/components/charts/cpu-chart.tsx b/beszel/site/src/components/charts/cpu-chart.tsx similarity index 100% rename from site/src/components/charts/cpu-chart.tsx rename to beszel/site/src/components/charts/cpu-chart.tsx diff --git a/site/src/components/charts/disk-chart.tsx b/beszel/site/src/components/charts/disk-chart.tsx similarity index 100% rename from site/src/components/charts/disk-chart.tsx rename to beszel/site/src/components/charts/disk-chart.tsx diff --git a/site/src/components/charts/disk-io-chart.tsx b/beszel/site/src/components/charts/disk-io-chart.tsx similarity index 100% rename from site/src/components/charts/disk-io-chart.tsx rename to beszel/site/src/components/charts/disk-io-chart.tsx diff --git a/site/src/components/charts/mem-chart.tsx b/beszel/site/src/components/charts/mem-chart.tsx similarity index 100% rename from site/src/components/charts/mem-chart.tsx rename to beszel/site/src/components/charts/mem-chart.tsx diff --git a/site/src/components/charts/swap-chart.tsx b/beszel/site/src/components/charts/swap-chart.tsx similarity index 100% rename from site/src/components/charts/swap-chart.tsx rename to beszel/site/src/components/charts/swap-chart.tsx diff --git a/site/src/components/command-palette.tsx b/beszel/site/src/components/command-palette.tsx similarity index 100% rename from site/src/components/command-palette.tsx rename to beszel/site/src/components/command-palette.tsx diff --git a/site/src/components/login/auth-form.tsx b/beszel/site/src/components/login/auth-form.tsx similarity index 100% rename from site/src/components/login/auth-form.tsx rename to beszel/site/src/components/login/auth-form.tsx diff --git a/site/src/components/login/forgot-pass-form.tsx b/beszel/site/src/components/login/forgot-pass-form.tsx similarity index 100% rename from site/src/components/login/forgot-pass-form.tsx rename to beszel/site/src/components/login/forgot-pass-form.tsx diff --git a/site/src/components/login/login.tsx b/beszel/site/src/components/login/login.tsx similarity index 100% rename from site/src/components/login/login.tsx rename to beszel/site/src/components/login/login.tsx diff --git a/site/src/components/logo.tsx b/beszel/site/src/components/logo.tsx similarity index 100% rename from site/src/components/logo.tsx rename to beszel/site/src/components/logo.tsx diff --git a/site/src/components/mode-toggle.tsx b/beszel/site/src/components/mode-toggle.tsx similarity index 100% rename from site/src/components/mode-toggle.tsx rename to beszel/site/src/components/mode-toggle.tsx diff --git a/site/src/components/router.tsx b/beszel/site/src/components/router.tsx similarity index 100% rename from site/src/components/router.tsx rename to beszel/site/src/components/router.tsx diff --git a/site/src/components/routes/home.tsx b/beszel/site/src/components/routes/home.tsx similarity index 100% rename from site/src/components/routes/home.tsx rename to beszel/site/src/components/routes/home.tsx diff --git a/site/src/components/routes/system.tsx b/beszel/site/src/components/routes/system.tsx similarity index 100% rename from site/src/components/routes/system.tsx rename to beszel/site/src/components/routes/system.tsx diff --git a/site/src/components/spinner.tsx b/beszel/site/src/components/spinner.tsx similarity index 100% rename from site/src/components/spinner.tsx rename to beszel/site/src/components/spinner.tsx diff --git a/site/src/components/systems-table/columns.tsx b/beszel/site/src/components/systems-table/columns.tsx similarity index 100% rename from site/src/components/systems-table/columns.tsx rename to beszel/site/src/components/systems-table/columns.tsx diff --git a/site/src/components/systems-table/systems-table.tsx b/beszel/site/src/components/systems-table/systems-table.tsx similarity index 100% rename from site/src/components/systems-table/systems-table.tsx rename to beszel/site/src/components/systems-table/systems-table.tsx diff --git a/site/src/components/table-alerts.tsx b/beszel/site/src/components/table-alerts.tsx similarity index 100% rename from site/src/components/table-alerts.tsx rename to beszel/site/src/components/table-alerts.tsx diff --git a/site/src/components/theme-provider.tsx b/beszel/site/src/components/theme-provider.tsx similarity index 100% rename from site/src/components/theme-provider.tsx rename to beszel/site/src/components/theme-provider.tsx diff --git a/site/src/components/ui/alert-dialog.tsx b/beszel/site/src/components/ui/alert-dialog.tsx similarity index 100% rename from site/src/components/ui/alert-dialog.tsx rename to beszel/site/src/components/ui/alert-dialog.tsx diff --git a/site/src/components/ui/button.tsx b/beszel/site/src/components/ui/button.tsx similarity index 100% rename from site/src/components/ui/button.tsx rename to beszel/site/src/components/ui/button.tsx diff --git a/site/src/components/ui/card.tsx b/beszel/site/src/components/ui/card.tsx similarity index 100% rename from site/src/components/ui/card.tsx rename to beszel/site/src/components/ui/card.tsx diff --git a/site/src/components/ui/chart.tsx b/beszel/site/src/components/ui/chart.tsx similarity index 100% rename from site/src/components/ui/chart.tsx rename to beszel/site/src/components/ui/chart.tsx diff --git a/site/src/components/ui/command.tsx b/beszel/site/src/components/ui/command.tsx similarity index 100% rename from site/src/components/ui/command.tsx rename to beszel/site/src/components/ui/command.tsx diff --git a/site/src/components/ui/dialog.tsx b/beszel/site/src/components/ui/dialog.tsx similarity index 100% rename from site/src/components/ui/dialog.tsx rename to beszel/site/src/components/ui/dialog.tsx diff --git a/site/src/components/ui/dropdown-menu.tsx b/beszel/site/src/components/ui/dropdown-menu.tsx similarity index 100% rename from site/src/components/ui/dropdown-menu.tsx rename to beszel/site/src/components/ui/dropdown-menu.tsx diff --git a/site/src/components/ui/input.tsx b/beszel/site/src/components/ui/input.tsx similarity index 100% rename from site/src/components/ui/input.tsx rename to beszel/site/src/components/ui/input.tsx diff --git a/site/src/components/ui/label.tsx b/beszel/site/src/components/ui/label.tsx similarity index 100% rename from site/src/components/ui/label.tsx rename to beszel/site/src/components/ui/label.tsx diff --git a/site/src/components/ui/select.tsx b/beszel/site/src/components/ui/select.tsx similarity index 100% rename from site/src/components/ui/select.tsx rename to beszel/site/src/components/ui/select.tsx diff --git a/site/src/components/ui/separator.tsx b/beszel/site/src/components/ui/separator.tsx similarity index 100% rename from site/src/components/ui/separator.tsx rename to beszel/site/src/components/ui/separator.tsx diff --git a/site/src/components/ui/slider.tsx b/beszel/site/src/components/ui/slider.tsx similarity index 100% rename from site/src/components/ui/slider.tsx rename to beszel/site/src/components/ui/slider.tsx diff --git a/site/src/components/ui/switch.tsx b/beszel/site/src/components/ui/switch.tsx similarity index 100% rename from site/src/components/ui/switch.tsx rename to beszel/site/src/components/ui/switch.tsx diff --git a/site/src/components/ui/table.tsx b/beszel/site/src/components/ui/table.tsx similarity index 100% rename from site/src/components/ui/table.tsx rename to beszel/site/src/components/ui/table.tsx diff --git a/site/src/components/ui/toast.tsx b/beszel/site/src/components/ui/toast.tsx similarity index 100% rename from site/src/components/ui/toast.tsx rename to beszel/site/src/components/ui/toast.tsx diff --git a/site/src/components/ui/toaster.tsx b/beszel/site/src/components/ui/toaster.tsx similarity index 100% rename from site/src/components/ui/toaster.tsx rename to beszel/site/src/components/ui/toaster.tsx diff --git a/site/src/components/ui/tooltip.tsx b/beszel/site/src/components/ui/tooltip.tsx similarity index 100% rename from site/src/components/ui/tooltip.tsx rename to beszel/site/src/components/ui/tooltip.tsx diff --git a/site/src/components/ui/use-toast.ts b/beszel/site/src/components/ui/use-toast.ts similarity index 100% rename from site/src/components/ui/use-toast.ts rename to beszel/site/src/components/ui/use-toast.ts diff --git a/site/src/index.css b/beszel/site/src/index.css similarity index 100% rename from site/src/index.css rename to beszel/site/src/index.css diff --git a/site/src/lib/stores.ts b/beszel/site/src/lib/stores.ts similarity index 100% rename from site/src/lib/stores.ts rename to beszel/site/src/lib/stores.ts diff --git a/site/src/lib/utils.ts b/beszel/site/src/lib/utils.ts similarity index 100% rename from site/src/lib/utils.ts rename to beszel/site/src/lib/utils.ts diff --git a/site/src/main.tsx b/beszel/site/src/main.tsx similarity index 100% rename from site/src/main.tsx rename to beszel/site/src/main.tsx diff --git a/site/src/types.d.ts b/beszel/site/src/types.d.ts similarity index 100% rename from site/src/types.d.ts rename to beszel/site/src/types.d.ts diff --git a/site/src/vite-env.d.ts b/beszel/site/src/vite-env.d.ts similarity index 100% rename from site/src/vite-env.d.ts rename to beszel/site/src/vite-env.d.ts diff --git a/site/tailwind.config.js b/beszel/site/tailwind.config.js similarity index 100% rename from site/tailwind.config.js rename to beszel/site/tailwind.config.js diff --git a/site/tsconfig.app.json b/beszel/site/tsconfig.app.json similarity index 100% rename from site/tsconfig.app.json rename to beszel/site/tsconfig.app.json diff --git a/site/tsconfig.json b/beszel/site/tsconfig.json similarity index 100% rename from site/tsconfig.json rename to beszel/site/tsconfig.json diff --git a/site/tsconfig.node.json b/beszel/site/tsconfig.node.json similarity index 100% rename from site/tsconfig.node.json rename to beszel/site/tsconfig.node.json diff --git a/site/vite.config.ts b/beszel/site/vite.config.ts similarity index 100% rename from site/vite.config.ts rename to beszel/site/vite.config.ts diff --git a/version.go b/beszel/version.go similarity index 100% rename from version.go rename to beszel/version.go