Bun Standalone HTML

Bundle a single-page app into a single self-contained .html file with no external dependencies

9 stars 1 forksOther

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add jarle/bun-skills --skill Bun Standalone HTML
Manual install
git clone --depth 1 https://github.com/jarle/bun-skills.git /tmp/bun-skills
mkdir -p ~/.claude/skills
cp -r /tmp/bun-skills/skills/bun-bundler-standalone-html ~/.claude/skills/Bun-Standalone-HTML

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# Standalone HTML

> Bundle a single-page app into a single self-contained .html file with no external dependencies

Bun can bundle your entire frontend into a **single `.html` file** with zero external dependencies. JavaScript, TypeScript, JSX, CSS, images, fonts, videos, WASM — everything gets inlined into one file.

```bash terminal icon="terminal" theme={"theme":{"light":"github-light","dark":"dracula"}}
bun build --compile --target=browser ./index.html --outdir=dist
```

The output is a completely self-contained HTML document. No relative paths. No external files. No server required. Just one `.html` file that works anywhere a browser can open it.

## One file. Upload anywhere. It just works.

The output is a single `.html` file you can put anywhere:

* **Upload it to S3** or any static file host — no directory structure to maintain, just one file
* **Double-click it from your desktop** — it opens in the browser and works offline, no localhost server needed
* **Embed it in your webview** — No need to deal with relative files
* **Insert it in an `<iframe>`** — embed interactive content in another page with a single file URL
* **Serve it from anywhere** — any HTTP server, CDN, or file share. One file, zero configuration.

There's nothing to install, no `node_modules` to deploy, no build artifacts to coordinate, no relative paths to think about. The entire app — framework code, stylesheets, images, everything — lives in that one file.

## Truly one file
Read the full skill on GitHub

Details

Skill name
Bun Standalone HTML
Path
skills/bun-bundler-standalone-html/SKILL.md
License
MIT
Repo updated
24 February 2026

FAQ

What does the Bun Standalone HTML skill do?

Bundle a single-page app into a single self-contained .html file with no external dependencies

How do I install the Bun Standalone HTML skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add jarle/bun-skills --skill Bun Standalone HTML. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Bun Standalone HTML popular?

It lives in jarle/bun-skills, which has 9 GitHub stars and 1 forks.

Related skills

Browse the most popular Claude skills, all other skills, or write your own with the skills generator.