Vladimir Zagainov c7b2777b68
Some checks failed
continuous-integration/drone/push Build is failing
added droneCI badge
2025-03-22 23:53:47 +03:00
2025-03-22 23:38:15 +03:00
2025-03-22 18:27:58 +03:00
2025-03-22 18:27:58 +03:00
2025-03-22 18:27:58 +03:00
2025-03-22 23:53:47 +03:00
2025-03-22 18:27:58 +03:00
2025-03-22 18:27:58 +03:00

Teapot Server

Build Status

Description

This is a simple "teapot server" project, inspired by the classic XKCD comic. It's designed to be a minimal HTTP server that responds with a 418 I'm teapot status and a humorous message about quantum fluctuations. The primary purpose is for demonstration and learning purposes, showcasing basic Go web development concepts.

Usage

  1. Clone the repository:

    git clone https://gitea.mrixs.me/Mrixs/teapot-server.git
    cd teapot-server
    
  2. Build the server:

    go build .
    
  3. Run the server:

    ./teapot-server
    
  4. Access the server: Open your web browser and navigate to http://localhost:8080. You should see a message about quantum fluctuations.

Technical Details

  • Language: Go (Golang)
  • Dependencies: None (uses standard library only)
  • Port: The server listens on port 8080 by default. This can be configured via command line argument --port <port>.
  • Error Handling: Basic error handling is implemented to catch potential issues during startup and runtime.

Contributing

Feel free to contribute by submitting bug reports or feature requests. Pull requests are welcome!

License

This project is licensed under the WTFPL License. See the LICENSE file for details.

Description
Simple GO server that answers 418 to all requests
Readme 224 KiB
Languages
HTML 99.6%
Go 0.4%