SNAPKITTYWEST's picture
push from SNAPKITTYWEST/agentos
c5f93fc verified
|
Raw
History Blame Contribute Delete
1.5 kB

AgentOS Frontend

Pure HTML + CSS + JavaScript frontend for the AgentOS swarm platform.

Tech Stack

  • HTML β€” Semantic structure
  • CSS β€” Pure CSS, no frameworks
  • JavaScript β€” Vanilla JS, no dependencies
  • GitHub Pages β€” Autonomous static hosting

Why No Frameworks?

GitHub Pages allows any interface. We use pure web standards:

  • Faster load times
  • No build step required
  • Zero dependencies
  • Works forever

Structure

agentos-frontend/
β”œβ”€β”€ pages/
β”‚   └── index.html      # Main landing page
β”œβ”€β”€ css/
β”‚   └── agentos.css     # All styles
β”œβ”€β”€ js/
β”‚   └── agentos-live.js # Live data fetcher + terminal animation
└── deploy/
    └── (GitHub Actions handles deployment)

Live Data

The frontend fetches real-time status from the .agentos runtime via GitHub raw content URLs:

  • Git bucket count from gitbucket/index/manifest.json
  • Problem registry from pnp/problem_registry.json
  • Skills registry from skills/registry.json

Autonomous Deploy

GitHub Pages deploys automatically on push to main when agentos-frontend/** changes.

The workflow:

  1. Copies pages/index.html β†’ docs/
  2. Copies css/ and js/ β†’ docs/
  3. Deploys docs/ to gh-pages branch via peaceiris/actions-gh-pages

Manual build

npm run build:frontend

URL

After deploy: https://snapkittywest.github.io/snapkitty-agentos/