vpsf-status

command module
v0.0.0-...-4d42550 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 29, 2026 License: MIT Imports: 40 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

vpsFree.cz Status

Status page for vpsFree.cz infrastructure.

Building

Build with make:

make

Git hooks

Inside nix develop, install the pre-commit hook with:

make hooks

The hook runs gofmt on staged Go files and stages formatting changes. If you do not use Nix, install lefthook first.

Run

vpsf-status needs a config file, see config-sample.json:

./vpsf-status config-sample.json

Sample preview

Preview the real pages with synthetic data, without API credentials, a database server or monitoring privileges:

nix develop -c go run -tags preview .

Open http://127.0.0.1:8080/?lang=en or http://127.0.0.1:8080/?lang=cs. The preview uses disposable SQLite history and a frozen clock. Existing CDN styles, scripts and icons need browser network access. See preview scenarios and options. See themes and responsive layout for appearance controls and supported browser behavior.

Automated flake updates

The update-dependencies.yml workflow updates the resolved nixpkgs input using a separately pinned confctl CI tool. It requires ancestry preservation across the changed lock graph and stops publication on rejection or unavailable evidence. It checks the final lock against a saved baseline after hooks and checks, then uses an ordinary non-force push. If the target branch advances, rerun from its new baseline instead of rebasing the old lock update. The CI tool does not become a runtime flake input.

The workflow saves confctl's Git mirrors in ~/.cache/confctl even when an update is rejected. Every update checks ancestry, whether the cache was restored or freshly cloned.

See the shared guard contract for supported sources and failure behavior.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
cmd
i18n command
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址