Sign inSign up

betterweb/simple-coming-soon-site

By betterweb

Updated about 1 year ago

Image
0

701

betterweb/simple-coming-soon-site repository overview

Coming Soon Page

A beautiful, minimal, dependency-free Coming Soon page.

  • Auto-branding: Uses the current domain to set the brand
  • Accent + favicon: Generates a matching accent color and SVG favicon
  • Adaptive: Dark/light mode aware, responsive, fast
  • Production-ready: Nginx Docker image, perfect for Coolify

Repository links:

Preview locally
  • Open src/index.html directly in a browser, or run a quick server:
python3 -m http.server 8080 -d src
# Visit http://localhost:8080
Docker (production)
# Build
docker build -t coming-soon .

# Run
docker run --rm -p 8080:80 coming-soon
# Visit http://localhost:8080

Or use the published image:

docker run --rm -p 8080:80 betterweb/simple-coming-soon-site:latest
Deploy with Coolify
  1. Create a new “Docker” application
  2. Point Coolify at this repository
  3. Use the default Dockerfile at the repo root
  4. Expose port 80
  5. Deploy

The included nginx.conf enables gzip, immutable caching for assets (and no-cache for HTML), and security headers by default.

Customize
  • Text: edit src/index.html (.hero-title, .hero-sub, footer attribution)
  • Styles: edit src/styles.css (colors, spacing, typography)
  • Behavior: edit src/script.js
    • Brand name derived from window.location.hostname
    • Accent color + favicon derived from the domain (see stringToHsl)
Project structure
src/
  index.html     # Markup
  styles.css     # Styles (no external dependencies)
  script.js      # Small progressive enhancement for branding/accent
Dockerfile       # Nginx Alpine image serving from /usr/share/nginx/html
nginx.conf       # Gzip, caching, security headers
CI/CD

This repo can build and publish the Docker image to Docker Hub (betterweb/simple-coming-soon-site). See the GitHub Actions workflows in .github/workflows/.

License

Licensed under the AGPL-3.0-only. See LICENSE for the full text.

Tag summary

Content type

Image

Digest

sha256:6ac88108f

Size

20 MB

Last updated

about 1 year ago

docker pull betterweb/simple-coming-soon-site