https://github.com/mapgie/static-site
https://github.com/mapgie/static-site
Last synced: 4 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/mapgie/static-site
- Owner: mapgie
- License: mit
- Created: 2025-04-26T12:32:35.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-05-03T16:19:54.000Z (about 1 year ago)
- Last Synced: 2025-05-03T16:48:23.746Z (about 1 year ago)
- Language: JavaScript
- Size: 122 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## 8008: [Visit](https://8008.netlify.app/) ##
Minimal static site.
[](https://app.netlify.com/sites/8008/deploys)
## Structure
- `index.html` – Home page
- `ant-farm.html` – Ant Farm simulation
- `memory-maze.html` – Memory Maze demo
- `art.html` – Procedural art generator
- `rps.html` – Rock–Paper–Scissors game
- `global.css` – Global styles
- `ant-farm.css` – Ant Farm specific styles
- `js/` – JavaScript modules
- `build-header.sh` – Generate `header-snippet.html`
- `check-and-inject.sh` – Inject header snippet into each HTML
- `.github/workflows/build-header.yaml` – CI task for header injection
## Usage
1. Install Netlify CLI (optional).
2. Run `./build-header.sh`.
3. Run `./check-and-inject.sh`.
4. Deploy via Netlify or any static host.
## CI
On push to `main`, GitHub Actions regenerates and reinjects header.
## File Structure
``` sh
├── Human-Test.html
├── LICENSE
├── README.md
├── ant-farm.css
├── ant-farm.html
├── art.html
├── check-and-inject.sh
├── global.css
├── header-snippet.html
├── header.html
├── index.html
├── memory-maze.html
├── rps.html
├── .github
│ └── workflows
│ └── build-header.yaml
├── .header_checksum
├── ant-control-panel.html
├── build-header.sh
├── js
│ ├── ant-constants.js
│ ├── ant-core.js
│ ├── ant-farm.js
│ ├── ant-storage.js
│ ├── ant-ui.js
│ └── ant-utils.js
└── .gitignore
```