Staxman (Ski-ba-bop-ba-dop-bop) Official Video HD
Go to file
Hamcha 41ca8d15e5
Build and push Docker image / build-and-publish (push) Has been cancelled Details
build: fuck
2024-04-01 12:53:46 +02:00
.forgejo/workflows ci: kaniko! 2024-03-30 19:24:18 +01:00
docs add toxicity 2023-11-30 11:10:21 +01:00
src build: fix arion bin path 2024-03-30 20:35:05 +01:00
static fix: error properly formatted now 2024-03-30 19:49:59 +01:00
templates fix: pass correct editor to pre-submit check 2024-03-30 18:43:38 +01:00
.dockerignore Add flake because I hate myself 2023-11-28 21:55:24 +01:00
.drone.yml add pipeline 2023-11-25 14:11:47 +01:00
.gitignore we typescript now 2023-11-30 10:14:32 +01:00
.swcrc neater tabs 2023-12-03 17:57:12 +01:00
Cargo.lock multi file drifting 2023-12-03 11:36:45 +01:00
Cargo.toml multi file drifting 2023-12-03 11:36:45 +01:00
Dockerfile build: get the proper toolchain ahead of time 2024-03-30 19:28:17 +01:00
LICENSE.txt hello 2023-11-18 12:35:40 +01:00
README.md add toxicity 2023-11-30 11:10:21 +01:00
build.rs it works!! 2023-11-30 10:29:30 +01:00
flake.lock build: I'm following GPT4 advice here, brace for hallucination bingo 2024-03-30 22:00:26 +01:00
flake.nix build: fuck 2024-04-01 12:53:46 +02:00
nixos.nix build: fix systemd dependency 2024-03-30 22:48:11 +01:00
rust-toolchain.toml help 2023-11-27 13:33:52 +01:00
tsconfig.json neater tabs 2023-12-03 17:57:12 +01:00

README.md

staxman (ski-ba-bop-ba-dop-bop)

Fuck you YAML!

If you're dumb enough to play stax at your LGS you're a bigenoughschmuck to cometo try out staxman!

Bad design! Apps that break down! Errors!

If you think you're going to fix up your server good: You can kiss my nix!

It's our belief that you're such a stupid noob sysadmin, you'll fall for this bullshit—guaranteed!

If you find a better tool: Shove it up your ugly ass!
You heard us right! Shove it up your ugly ass!

Bring your configs!
Bring your containers!
Bring your waifu!
We'll fuck her! That's right! We'll fuck your waifu!

Because here at staxman your server's down six ways from Sunday!

Usage

Important disclaimer: It doesn't work!!

Nix channel

Woops "GIF"

Woops you forgot to put flake.nix in your computer

Nix flake

  • Run once: nix run
  • Cute shell with cargo-watch: nix develop

Add these lines to your flake.nix, I dare you:

modules = [
	...
	staxman.nixosModules.default
	({ config, pkgs, ... }: {
		services.staxman = {
			enable = true;
			stackDir = "/path/to/stacks";
			bindAddress = "1.2.3.4:3000";
		};
	})
];

Manual (cringe) install

You'll need:

then cargo run (you want packages? who do you think you are??)

License

AGPL-3.0-only

Questions never asked

Why

I maintain a single box with 30+ services and I refuse to let Kubernetes make my life miserable so I stick with Docker Compose. YAML is a pain in the butt and most of my docker-compose.yml files are full of the same stuff like tons of Traefik tags. Nix is a powerful language that can replace most of the bloat with function calls. It's like Jsonnet or Dhall except harder to learn but someone already put all the work into making it work with Compose so that's why I picked it (also NixOS is dope).

The other part is that using Portainer is handy but it's kinda bloated and full of multi-node mumbo jumbo I really don't care about, staxman focuses on single-node and is a traditional multipage app that loads instantly even without a complex bundling/minimizing pipeline.

Goal for this is to manage docker compose stacks from a web UI with glue code to enable gitops.

Should I use this?

Probably not! This is MY project, built for my needs only, if you haven't been scared off the memey readme and terrible commit message quality, this is your warning that I'm not gonna add features if people ask for them.

If you think you're just as brainrot as me and wanna join my adventure in trying to create a cozy way to manage a remote box and get some services up with all the pain and lack of support it entails, give it a shot I guess??

But kubernetes is awesome!

:)