go-doxy

Self-Hosted

Lightweight, fast static web server written in Go

Visit Website

Overview

go-doxy is a high-performance, minimalistic web server built in Go, optimized for serving static content with low resource usage. It supports gzip compression, directory listing, custom error pages, and CORS configuration. Deployed as a single binary (no external dependencies), it works across Linux, macOS, and Windows. Configure via CLI flags or YAML to set root directories, port numbers, and compression levels. Ideal for self-hosting static sites, documentation portals, or small projects without the overhead of heavier servers like Nginx.

Self-Hosting Resources

Below is a reference structure for docker-compose.yml. ⚠️ Do NOT run blindly. Replace placeholders with official values.

docker-compose.template.yml TEMPLATE

version: '3'
services:
  go_doxy:
    image: <OFFICIAL_IMAGE_NAME>:latest
    container_name: go-doxy
    ports:
      - "8080:<APP_INTERNAL_PORT>"
    volumes:
      - ./data:/app/data
    restart: unless-stopped

Key Features

  • Single binary deployment (no dependencies)
  • Fast static content serving with gzip compression
  • Customizable (directory listing, error pages, CORS support)

Frequently Asked Questions

? Is go-doxy hard to install?

No—go-doxy is distributed as a single binary with no dependencies. Download the appropriate binary for your OS from the GitHub repository, make it executable, and run it with flags to specify your static content directory and port.

? Can go-doxy handle dynamic content like PHP or Python?

No—go-doxy is designed exclusively for serving static files (HTML, CSS, JS, images, etc.). For dynamic content, you’ll need to use a dedicated backend server or a full-featured web server like Apache or Nginx.

? Is go-doxy completely free and open source?

Yes—go-doxy is licensed under the MIT License, which means it’s free to use, modify, and distribute for both personal and commercial purposes without any cost.

Top Alternatives

Microsoft IIS Search Google
LiteSpeed Web Server (Proprietary Edition) Search Google

People Also Ask about go-doxy

go-doxy vs Microsoft IISgo-doxy vs LiteSpeed Web Server (Proprietary Edition) go-doxy 2025 review go-doxy docker-compose example

Tool Info

Pricing Free/Open Source
Category Web Servers
Platform Self-Hosted

Pros

  • Minimal resource footprint (great for low-spec servers)
  • Zero dependencies for hassle-free deployment

Cons

  • Limited to static content (no dynamic processing)
  • Less feature-rich than full-featured servers like Nginx

More Web Servers Tools