Skip to content

BetterCorp/simple-coming-soon-site

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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/.

To enable publishing, add the following Repository Secrets:

  • DOCKER_HUB_USER: your Docker Hub username
  • DOCKER_HUB_TOKEN: a Docker Hub access token with write permission

License

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published