|
Download agentos-frontend/README.md from Snapkitty/agentos: direct link, hf CLI and curl.
- Browser
- Download file 1.5 kB
-
https://huggingface.co/Snapkitty/agentos/resolve/main/agentos-frontend/README.md
- Command line
-
hf download hf://Snapkitty/agentos/agentos-frontend/README.md
-
curl -L -o README.md https://huggingface.co/Snapkitty/agentos/resolve/main/agentos-frontend/README.md
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 | |
| ```bash | |
| npm run build:frontend | |
| ``` | |
| ### URL | |
| After deploy: `https://snapkittywest.github.io/snapkitty-agentos/` | |