suinevere-site

🌐 geocities-boilerplate

Scaffold a complete 1990s Geocities-themed static website in seconds.

npm version npm downloads License: MIT Demo

  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—
 β–ˆβ–ˆβ•”β•β•β•β•β• β–ˆβ–ˆβ•”β•β•β•β•β•β–ˆβ–ˆβ•”β•β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ•”β•β•β•β•β•β–ˆβ–ˆβ•‘β•šβ•β•β–ˆβ–ˆβ•”β•β•β•β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β•β•β•β–ˆβ–ˆβ•”β•β•β•β•β•
 β–ˆβ–ˆβ•‘  β–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—  β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘     β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—
 β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β•  β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘     β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β•  β•šβ•β•β•β•β–ˆβ–ˆβ•‘
 β•šβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β•šβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•β•šβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•‘
  β•šβ•β•β•β•β•β• β•šβ•β•β•β•β•β•β• β•šβ•β•β•β•β•β•  β•šβ•β•β•β•β•β•β•šβ•β•   β•šβ•β•   β•šβ•β•β•šβ•β•β•β•β•β•β•β•šβ•β•β•β•β•β•β•

         geocities-boilerplate  ✨  Welcome to 1996  ✨

🌐 View Live Demo


What is this?

geocities-boilerplate is a CLI tool that generates a fully self-contained, retro 1990s Geocities-style personal website. Think neon colors, blinking text, animated star trails, marquee banners, visitor counters, and guestbooks β€” all of it, generated instantly with a single command.

The generated site is pure static HTML, CSS, and vanilla JavaScript. No build tools, no frameworks, no dependencies. Just open index.html in any browser and relive the golden age of the web.


Quick Start

npx create-geocities-app my-site

Then open my-site/index.html in your browser. That’s it!


Every Way to Run It

Pick your language or runtime β€” all produce the same site.

Node.js / npm

# one-shot, no install
npx create-geocities-app my-site

# or install globally
npm install -g create-geocities-app
create-geocities-app my-site

Python / PyPI

# one-shot with pipx (recommended)
pipx run create-geocities-app my-site

# or install permanently
pip install create-geocities-app
create-geocities-app my-site

Ruby / RubyGems

gem install create-geocities-app
create-geocities-app my-site

Rust / Cargo

cargo install create-geocities-app
create-geocities-app my-site

PHP / Composer

# global install
composer global require geocities-app/create-geocities-app
create-geocities-app my-site

# or as a project scaffold
composer create-project geocities-app/create-geocities-app my-site

Deno / JSR

# run without installing
deno run --allow-read --allow-write jsr:@geocities/create-app my-site

# or compile to a native binary first
deno compile --allow-read --allow-write --output create-geocities-app jsr:@geocities/create-app
./create-geocities-app my-site

Go

# run without installing
go run github.com/sugardaddyapp/geocities-boilerplate/go@latest my-site

# or install the binary
go install github.com/sugardaddyapp/geocities-boilerplate/go@latest
create-geocities-app my-site

All variants accept the same flags:

Flag Meaning
my-site Output directory name (default: my-geocities-site)
-y / --yes Skip all prompts and use defaults

Demo

Live demo: https://sugardaddyapp.github.io/geocities-boilerplate/

The demo is generated with all options enabled (neon theme, sparkle cursor, falling stars, all 5 pages). It is automatically rebuilt and deployed to GitHub Pages on every push to main.


Interactive Setup

When you run npx create-geocities-app my-site, you’ll be walked through a series of prompts:

# Prompt Type Description
1 Site name text Your homepage title, e.g. CoolDude's Homepage
2 Your name text Displayed in headers, footers, and contact sections
3 Color theme select Choose from 5 retro color palettes (see below)
4 Extra pages multi About, Gallery, Guestbook, Cool Links
5 Cursor effect select Sparkle, Star Trail, Comet, Rainbow, or None
6 Falling effect select Stars, Snow, or None
7 Welcome alert yes/no Show a alert() greeting when the page loads
8 Auto-play music yes/no Play a Web Audio API 8-bit jingle on load
9 Fake high count yes/no Start visitor counter at ~10,000 (looks popular!)

Skip prompts (use all defaults)

npx create-geocities-app my-site --yes

Generated Output

my-site/
β”œβ”€β”€ index.html        ← Homepage
β”œβ”€β”€ about.html        ← About Me (if selected)
β”œβ”€β”€ gallery.html      ← Photo Gallery with lightbox (if selected)
β”œβ”€β”€ guestbook.html    ← Guestbook (if selected)
β”œβ”€β”€ links.html        ← Cool Links (if selected)
β”œβ”€β”€ css/
β”‚   └── style.css     ← Full retro stylesheet (theme-specific)
└── js/
    └── main.js       ← All JS effects (counter, cursor, music, etc.)

Zero runtime dependencies in the generated output. Every file is self-contained and works offline.


Color Themes

Choose a theme during setup. Each theme controls background, text, link, and accent colors throughout the entire site.

Theme Background Primary Text Headings Links Feel
neon #000000 #00FF00 #FFFF00 #FF00FF Hacker/Matrix vibes
space #000033 #CCCCFF #FFDD00 #00FFFF Deep space explorer
candy #FF69B4 #FFFFFF #FFFF00 #00FFFF Sweet and electric
forest #003300 #CCFFCC #FFDD00 #99FF99 Dark enchanted forest
windows #008080 #000000 #000080 #000080 Classic Windows 95

Pages

🏠 index.html β€” Homepage

Every generated site includes a homepage with:

πŸ‘€ about.html β€” About Me

πŸ“– guestbook.html β€” Guestbook


Effects Reference

Cursor Effects

Effect What it does
Sparkle ✨ Random glitter glyphs (✦, ✧, β˜…, Β·) spawn at your cursor and float upward
Star Trail β˜… Yellow β˜… characters follow the cursor and fade out with a scale-down animation
Comet β˜„οΈ An orange-to-white horizontal streak trails behind cursor movement
Rainbow 🌈 Colored dots cycle through the full hue spectrum as you move the cursor
None No cursor effect

Falling Background Effects

Effect What it does
Stars ⭐ 60 colored star characters (β˜…) fall from top of screen with random sizes, speeds, and drift
Snow ❄️ 40 white circular snowflakes drift downward with random horizontal drift
None No falling effect

Other Effects

Effect Details
Visitor counter Odometer-style LCD digit boxes, animates on load, persists via localStorage
Live clock HH:MM:SS display in the sidebar, updated every second
Marquee banner CSS @keyframes scroll animation β€” pauses on hover
Blinking text CSS @keyframes blink β€” used on NEW badges, bullet points, and decorations
Rainbow headings CSS filter: hue-rotate() animation cycles through all colors
Neon glow pulse text-shadow breathes in/out on all major headings
Spinning globe 🌍 emoji spins continuously via CSS rotate animation
Under construction Yellow/black diagonal-stripe caution tape with a spinning 🚧 icon
Page entry animation Content fades and slides up on load
8-bit music jingle Square-wave melody via Web Audio API β€” plays on first interaction; toggle with the PLAY/STOP button
Matrix rain Press M on any page to toggle a green Matrix-style canvas rain effect
Custom scrollbar Themed scrollbar matching the color palette (Chrome/Edge/Safari)
Gallery lightbox Click-to-expand image viewer with caption, close button, and ESC key support

GitHub Pages Setup (for your generated site)

To host your generated site on GitHub Pages:

  1. Create a new GitHub repository
  2. Copy the contents of your generated folder into it
  3. Push to main
  4. Go to Settings β†’ Pages β†’ Source β†’ Deploy from a branch β†’ main β†’ / (root)
  5. Your site is live at https://<username>.github.io/<repo-name>/

Project Structure (for contributors)

geocities-boilerplate/
β”œβ”€β”€ .github/workflows/
β”‚   └── deploy-demo.yml    # Auto-deploys demo/ to GitHub Pages
β”œβ”€β”€ bin/
β”‚   └── cli.js             # CLI entry point with ASCII banner
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ generator.js       # Core: reads templates, interpolates vars, writes files
β”‚   β”œβ”€β”€ prompts.js         # Interactive prompts using `prompts` package
β”‚   └── themes.js          # 5 color palette definitions
β”œβ”€β”€ templates/             # Source templates (shared across all ports)
β”‚   β”œβ”€β”€ index.html
β”‚   β”œβ”€β”€ about.html
β”‚   β”œβ”€β”€ gallery.html
β”‚   β”œβ”€β”€ guestbook.html
β”‚   β”œβ”€β”€ links.html
β”‚   β”œβ”€β”€ css/style.css
β”‚   └── js/main.js
β”œβ”€β”€ python/                # PyPI package (questionary, importlib.resources)
β”œβ”€β”€ ruby/                  # RubyGems gem (tty-prompt)
β”œβ”€β”€ rust/                  # Cargo crate (dialoguer, include_dir β€” single binary)
β”œβ”€β”€ php/                   # Packagist/Composer package (Symfony Console)
β”œβ”€β”€ deno/                  # JSR package (TypeScript, @std/fs)
β”œβ”€β”€ go/                    # Go module (charmbracelet/huh, go:embed β€” single binary)
β”œβ”€β”€ demo/                  # Pre-generated demo (not in npm bundle)
β”œβ”€β”€ scripts/
β”‚   └── build-demo.js      # Regenerates demo/ with all options enabled
β”œβ”€β”€ package.json
β”œβ”€β”€ PLAN.md                # Full project plan and design decisions
└── README.md

Template Variables

Templates use `` placeholders that are replaced by the generator. Key variables:

| Variable | Description | |β€”β€”β€”-|β€”β€”β€”β€”-| | | Site title from user prompt | | | Author name from user prompt | | | Human-readable theme name | |, , etc. | Theme color values (CSS hex) | | | Selected cursor effect key | | | Selected falling effect key | | | "true" or "false" | | | `"true"` or `"false"` | | | "true" or "false" | | | Generated navigation `<a>` tags based on selected pages | | | Current year |


Contributing

  1. Fork the repo
  2. Create a feature branch: git checkout -b feat/my-awesome-feature
  3. Make changes in templates/, src/, or bin/
  4. Test locally: node bin/cli.js test-site --yes && open test-site/index.html
  5. Rebuild the demo: npm run build:demo
  6. Open a pull request

Ideas for contributions


Local Development

# Clone
git clone https://github.com/sugardaddyapp/geocities-boilerplate.git
cd geocities-boilerplate

# Install
npm install

# Test the CLI
node bin/cli.js my-test-site

# Rebuild demo
npm run build:demo

# Open demo
open demo/index.html

License

MIT Β© Jamey Baldwin


Acknowledgements


Also checkout my other projects: Best Sugar Daddy Apps Best Sugar Daddy Apps 2026 Best Sugar Daddy Apps NPM Best Sugar Daddy Apps Socket

Best viewed in Netscape Navigator 4.0 at 800Γ—600 resolution.