Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build-Shell

Plugin style build shell for static sites behind Apache2 or Nginx.

When a push event arrives, the app switches to a build shell page, replays blocks from the final site top to bottom, types text into each block, and then marks the site as ready.

This is meant for teams who want a client friendly progress view during delivery. Instead of a hard refresh from old page to new page, clients can watch the page shape itself commit by commit. The same stream can also be used by project managers who want a visual checkpoint of progress.

Project showcase

Build-Shell project demo

Why teams use it

  • Show live progress to clients during demos
  • Give project managers a visible commit flow view
  • Keep a clean "site is building" shell while deploy steps run

Run local

npm install
npm run dev

Open http://localhost:8787.

Trigger a demo replay:

curl -X POST http://localhost:8787/plugin/demo

The demo site now includes eight common page elements so the replay is easier to evaluate:

  • Header with nav links
  • Hero with headline and image
  • Checklist list section
  • Data table section
  • Feature card grid
  • Three image gallery strip
  • Timeline list section
  • Footer with form controls

Images in the shell replay use a simulated dialup scanline load effect before they resolve.

GitHub webhook

Use POST /plugin/webhook and select push events.

Environment

  • PORT default 8787
  • SITE_ROOT default example-site
  • SITE_ENTRY default index.html
  • BUILD_COMMAND optional command to run before replay

Apache2 / Nginx placement

Common setup is proxying your domain to this plugin process. Keep your built site in SITE_ROOT.

Nginx minimal example:

location / {
  proxy_pass http://127.0.0.1:8787;
}

Apache2 minimal example:

ProxyPass / http://127.0.0.1:8787/
ProxyPassReverse / http://127.0.0.1:8787/

Endpoints

  • GET /plugin/state
  • GET /plugin/stream
  • POST /plugin/demo
  • POST /plugin/webhook

About

Plugin-style deploy shell that lets clients and PMs watch websites take shape live as Git commits arrive.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages