A collection of scripts & documentation for HorrificDev hosting.
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
James Fenn 5c619e2a11 add properties to instance model 4 miesięcy temu
.github/workflows update workflow again 6 miesięcy temu
source add properties to instance model 4 miesięcy temu
systemd modify dbus rules 6 miesięcy temu
.gitignore switch json library, fix compilation errors 6 miesięcy temu
Makefile update workflow 6 miesięcy temu
README.md add example yml to readme 5 miesięcy temu
dub.json add crypto library, begin writing createUser function 6 miesięcy temu
dub.selections.json add crypto library, begin writing createUser function 6 miesięcy temu


Usage: horrific <command> [options...]

Where <command> is one of:

This ridiculous program is used to manage the projects that run on HorrificDev servers, create CI workflows based on webhooks, and track resource usage.

Each repository should contain a horrific.yml configuration file that specifies how it should be deployed on the server.


The horrific CLI actually runs as two processes; a systemd service running with root permissions, and a client process started by the user. These processes communicate through a D-Bus interface configured in source/daemon.d.

The configuration for this service is defined in systemd/horrific.service; the horrific.conf file defines its D-Bus configuration, and dev.horrific.daemon.service allows it to be recognized and started by the system D-Bus session whenever a message is sent.

Config Files

In each repo the program is configured for must be a horrific.yml file that details how the program should be invoked.

Here's an overcomplicated example of a potential configuration, hosting a static site (compiled with [arbitrary site generator in the form of a Jenkins pipeline]) at horrific.dev and a NodeJS app at api.horrific.dev.

  - name: Website
	type: static
	  - preset: jekyll
	    working_dir: /web
	  ssl: certbot
	    - horrific.dev
  - name: Backend / API
	type: docker
	  - preset: nodejs
	    working_dir: /api
	      - 8080
	  ssl: certbot
	    - api.horrific.dev