🚀simple server that returns error codes with their respective messages and debug information, written in rust 🦀

Overview

ErrorServer

Screenshot 🚀 A simple & lightweight server that returns a HTML page of the error code with its respective message and debug information, written in rust 🦀

Features

  • automatic resolving of error codes to their respective messages
    • if the error code is not found, it will print a generic error message
  • simple, but not eye bleeding design
    • dark mode per default
    • colors follow the dracula theme specifications
  • display debug information
    • the whole request is printed in the debug section
    • hidden behind a dropdown to prevent accidentally leaking sensitive information
  • perfect for traefik (config coming soon!)
  • written in rust 🦀 🚀
  • low-memory footprint
    • ~ 3 MB when idling, benchmarks will follow
  • small binary size
    • ~ 5 MB
  • low-dependency
    • apart from the rust standard library, only one dependency is used (regex)
  • easy to use
    • just run the binary and you're good to go

Contributions

... are welcome! If you have any ideas, feel free to open an issue or a pull request. I'd also appreciate feedback on the code, as I'm still learning rust (this is literally my first project using it 😅 ).

You might also like...
A Rust trait to convert numbers of any type and size to their English representation.

num2english This Rust crate provides the NumberToEnglish trait which can be used to convert any* number to its string representation in English. It us

This blog provides detailed status updates and useful information about Theseus OS and its development

The Theseus OS Blog This blog provides detailed status updates and useful information about Theseus OS and its development. Attribution This blog was

🎨🦀 A system information tool for Rustaceans
🎨🦀 A system information tool for Rustaceans

🎨 🦀 ferris-fetch Inspired by gofetch 💖 🛠️ Cross platfrom System Info Tool for Rustaceans 🦀 Installation 🔨 cargo install ferris-fetch Contributin

A Repo For Storing Information On MacOS' Library Symbols

Library Symbols This repository will be used to store the library symbols from Apple's operating systems. Requirements This tool was designed to run o

VoceChat is a superlight rust written social server. Easy integration to your site/app.

Re-decentralized the Internet through personal cloud computing. VoceChat is the lightest chat server prioritizes private hosting! Easy integratation t

Global-Scale Media Server written in Rust (WebRTC/RTMP/SIP)

8xFF Media Server: Global-Scale Ultra-Low Latency Streaming Server written in Rust A media server that supports multiple protocols, including WebRTC,

Global-Scale Media Server written in Rust (WebRTC/RTMP/SIP)

Decentralized Ultra-Low Latency Streaming Server A decentralized media server designed to handle media streaming at a global-scale, making it suitable

A relatively simple puzzle generator application written in Rust and used via Javascript
A relatively simple puzzle generator application written in Rust and used via Javascript

Puzzlip Basic Overview This is a relatively simple puzzle generator application written in Rust and used via Javascript in https://puzzlip.com. If you

Releases(v3.0.0)
  • v3.0.0(Jan 4, 2023)

  • v2.0.0(Jan 2, 2023)

    If you actually used this project before you might've noticed a good few panics. So far, I just ignored them as my rust skills weren't good enough yet to fix them properly and instead just used a docker restart policy. This version (should) fix those issues, make the binary smaller and the server faster because the request line now isn't being parsed with regex anymore.

    Full Changelog: https://github.com/SIMULATAN/ErrorServer/compare/v1.1.0...v2.0.0 Docker tags: 2, 2.0, 2.0.0

    Source code(tar.gz)
    Source code(zip)
    amd64-musl.zip(230.81 KB)
    arm64-musl.zip(217.85 KB)
  • v1.1.0(Jan 1, 2023)

Owner
Jakob
Hey, I'm Jakob :) I'm a 16 year old programmer from Austria, currently attending a Higher Technical College.
Jakob
A typesafe, flexible, simple, and user-friendly unit system library for Rust that has good error messages.

uy A typesafe, flexible, simple, and user-friendly unit system library for Rust that has good error messages. Usage uy not only stores the unit of a v

Lachlan Sneff 19 Aug 8, 2023
A framebuffer that takes a `&[bool]` slice and returns 2x4 dot (pixel) braille `char`s

A framebuffer that takes a &[bool] slice and returns 2x4 "dot" (pixel) braille chars.

Odin Dutton 3 Mar 28, 2022
Parses a relative time string and returns a `Duration`

humantime_to_duration A Rust crate for parsing human-readable relative time strings and converting them to a Duration. Features Parses a variety of hu

null 5 Apr 25, 2023
Grimsby is an Erlang Port written in Rust that can close its standard input while retaining standard output (and error)

Grimsby An Erlang Port provides the basic mechanism for communication from Erlang with the external world. From the Ports and Port Drivers: Erlang Ref

Peter Morgan 5 May 29, 2023
Converts between country names, ISO 3166-1 codes and flag emojis.

country-emoji Converts between country names, ISO 3166-1 codes and flag emojis. Usage use country_emoji::{flag, code, name, countries}; flag("CL") /

Leo Dutra 4 Oct 25, 2022
example codes for CIS198 https://cis198-2016s.github.io/

CIS198: RUST 编程语言 学习背景 rust 和 c/c++/Java/Python/golang 不太一样 rust 学习曲线比较陡峭 rust 有很多颠覆认知的特性: 所有权,生命周期,借用检测 cargo 工具 函数式+命令式支持 视频讲解见 B站 课程大纲 Timeline Lec

Jinghui Hu 3 Apr 9, 2024
🚃 lib for CLI utilities, printing, and error handling

axocli Common code for setting up a CLI App and handling errors/printing. Example See examples/axoapp.rs for a walkthrough/example. Some various inter

axo 5 Apr 4, 2023
A tray application for Windows that gives you push notifications and instant downloads of new posts, messages and stories posted by models you subscribe to on Onlyfans.

OF-notifier A tray application for Windows that gives you push notifications and instant downloads of new posts, messages and stories posted by models

Gentlemen Mercenary 10 Dec 20, 2022
Simple rust interface to get derived analytical information of algorithmic market making models (M3).

af-rs Interact with the Portfolio protocol using Rust models to abstract the underlying pools. What we want: Given a uniswap pool with two tokens and

Primitive 5 Jul 11, 2023
Fluent assertion library for Rust with readable messages.

Assertor Assertor makes test assertions and failure messages more human-readable. Assertor is heavily affected by Java Truth in terms of API design an

Google 20 Dec 12, 2022