chellmann/sad-server

A Laravel package that replaces the default 404 page with a terminal animation featuring a depressed web server.

Maintainers

Package info

github.com/chellmann/sad-server

Language:Blade

pkg:composer/chellmann/sad-server

Statistics

Installs: 4

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v1.0.0 2026-04-12 09:49 UTC

This package is auto-updated.

Last update: 2026-04-12 09:53:12 UTC


README

A Laravel package that replaces the default 404 error page with a terminal animation featuring a depressed web server.

Inspired by wachwerk.de/404. Original text by Sebastian Lübcke, circa 2000.

Installation

composer require chellmann/sad-server

That's it. The package auto-discovers and immediately replaces your 404 page.

Configuration

Publish the config to customize the terminal title, typing speed, or messages:

php artisan vendor:publish --tag=sad-server-config

This creates config/sad-server.php where you can change:

  • title — The terminal window title bar text
  • type_speed — Typing speed in milliseconds per character
  • strings — Array of messages the server types out

Customizing the View

php artisan vendor:publish --tag=sad-server-views

This publishes the Blade template to resources/views/vendor/sad-server/errors/404.blade.php.

How It Works

The package registers a renderable callback for NotFoundHttpException. HTML requests get the terminal 404 page, JSON/API requests are unaffected.

License

MIT