devil

command module
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2026 License: MIT Imports: 20 Imported by: ? 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

devil

Process supervisor for Go development. Watches a binary file and restarts it on recompile. Ships with a web dashboard for inspection, log viewing, environment management, and build control.

Installation

go install github.com/Urethramancer/devil@latest

Usage

devil [flags] <program> [args...]
Flags
Flag Default Description
-e, --envfile (none) File containing KEY=VALUE environment variables
-p, --port 48128 Web dashboard port
-V, --version Print version and exit
Environment file format

KEY=VALUE pairs, one per line. # and ; start comments. Blank lines are ignored. Keys are case-sensitive.

Web dashboard

Devil starts a web server on http://localhost:48128 (customisable with -p):

  • Status bar — PID, uptime, restart count, process state
  • Log viewer — live streaming log output with filter and auto-scroll
  • Environment editor — view current vars, edit pending changes side-by-side, apply & restart
  • Build & restart — define a build command, run it, stream output, restart on success
  • Signal controls — send SIGHUP, SIGUSR1, SIGUSR2 to the child process
  • Screenshot protection — values containing credential patterns (KEY, PASSWORD, SECRET, TOKEN, etc.) are masked by default; toggle to reveal; URL credentials are obfuscated (postgres://***:***@localhost/db)
Build from source
make build      # builds with embedded git version
make install    # installs to $GOPATH/bin

License

MIT

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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