{"id":15645351,"url":"https://github.com/danielroe/nuxt-web-bundle","last_synced_at":"2026-06-08T14:00:37.615Z","repository":{"id":61481165,"uuid":"551896913","full_name":"danielroe/nuxt-web-bundle","owner":"danielroe","description":"Generate web bundles with Nuxt","archived":false,"fork":false,"pushed_at":"2026-06-08T08:20:30.000Z","size":3290,"stargazers_count":59,"open_issues_count":7,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-06-08T08:21:46.664Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/danielroe.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":["danielroe"]}},"created_at":"2022-10-15T10:41:17.000Z","updated_at":"2026-06-08T08:20:32.000Z","dependencies_parsed_at":"2026-01-05T08:05:36.916Z","dependency_job_id":"d4a40610-7bd7-4f25-a335-8d8785f899f1","html_url":"https://github.com/danielroe/nuxt-web-bundle","commit_stats":{"total_commits":358,"total_committers":2,"mean_commits":179.0,"dds":"0.10893854748603349","last_synced_commit":"699599cc14cee86ecef41809b7abee8707e5fc85"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/danielroe/nuxt-web-bundle","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielroe%2Fnuxt-web-bundle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielroe%2Fnuxt-web-bundle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielroe%2Fnuxt-web-bundle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielroe%2Fnuxt-web-bundle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danielroe","download_url":"https://codeload.github.com/danielroe/nuxt-web-bundle/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielroe%2Fnuxt-web-bundle/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34065354,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-08T02:00:07.615Z","response_time":111,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-03T12:06:43.566Z","updated_at":"2026-06-08T14:00:37.608Z","avatar_url":"https://github.com/danielroe.png","language":"TypeScript","funding_links":["https://github.com/sponsors/danielroe"],"categories":["TypeScript"],"sub_categories":[],"readme":"# Nuxt Web Bundle\n\n[![npm version][npm-version-src]][npm-version-href]\n[![npm downloads][npm-downloads-src]][npm-downloads-href]\n[![Github Actions][github-actions-src]][github-actions-href]\n[![Codecov][codecov-src]][codecov-href]\n\n\u003e Generate web bundles with [Nuxt 3](https://v3.nuxtjs.org)\n\n- [✨ \u0026nbsp;Changelog](https://github.com/danielroe/nuxt-web-bundle/blob/main/CHANGELOG.md)\n- [▶️ \u0026nbsp;Online playground](https://stackblitz.com/github/danielroe/nuxt-web-bundle/tree/main/playground)\n\n## Features\n\n**⚠️ `nuxt-web-bundle` is an experiment. ⚠️**\n\n- 📲 Share your website as a single file over Bluetooth.\n- ✨ Run it offline in your origin's context\n- ⚡️ Try out experimental web features.\n\n## Installation\n\nWith `pnpm`\n\n```bash\npnpm add -D nuxt-web-bundle\n```\n\nOr, with `npm`\n\n```bash\nnpm install -D nuxt-web-bundle\n```\n\nOr, with `yarn`\n\n```bash\nyarn add -D nuxt-web-bundle\n```\n\n## Usage\n\n```js\nexport default defineNuxtConfig({\n  modules: ['nuxt-web-bundle'],\n  webBundle: {\n    baseURL: 'https://my-website.com',\n    // filename: 'bundle.wbn',\n  },\n})\n```\n\nThat's it! Now when you run `nuxi build` or `nuxi generate`, a web bundle will be generated _instead_ of a server or static directory.\n\nAs mentioned earlier, this is an experiment, and in order to experiment with Web Bundles, you can follow [the steps here](https://web.dev/web-bundles/#playing-around-with-web-bundles) to enable usage in your version of Google Chrome.\n\n## 💻 Development\n\n- Clone this repository\n- Enable [Corepack](https://github.com/nodejs/corepack) using `corepack enable`\n- Install dependencies using `pnpm install`\n- Stub module with `pnpm dev:prepare`\n- Run `pnpm dev` to start [playground](./playground) in development mode\n\n## Credits\n\nMuch of the implementation is taken from [rollup-plugin-webbundle](https://github.com/GoogleChromeLabs/rollup-plugin-webbundle) - check it out and try it if you are using Vite or another Rollup-based build system.\n\n## License\n\nMade with ❤️\n\nPublished under the [MIT License](./LICENCE).\n\n\u003c!-- Badges --\u003e\n\n[npm-version-src]: https://npmx.dev/api/registry/badge/version/nuxt-web-bundle\n[npm-version-href]: https://npmx.dev/package/nuxt-web-bundle\n[npm-downloads-src]: https://npmx.dev/api/registry/badge/downloads/nuxt-web-bundle\n[npm-downloads-href]: https://npm.chart.dev/nuxt-web-bundle\n[github-actions-src]: https://img.shields.io/github/actions/workflow/status/danielroe/nuxt-web-bundle/ci.yml?branch=main\u0026style=flat-square\n[github-actions-href]: https://github.com/danielroe/nuxt-web-bundle/actions/workflows/ci.yml\n[codecov-src]: https://img.shields.io/codecov/c/gh/danielroe/nuxt-web-bundle/main?style=flat-square\n[codecov-href]: https://codecov.io/gh/danielroe/nuxt-web-bundle\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielroe%2Fnuxt-web-bundle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanielroe%2Fnuxt-web-bundle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielroe%2Fnuxt-web-bundle/lists"}