No description
  • TypeScript 54.4%
  • Vue 38.1%
  • Shell 6.3%
  • CSS 1.2%
Find a file
2026-05-08 22:04:52 +02:00
.bolt Initial commit 2024-12-07 17:48:13 +01:00
app feat(v3): Forgejo manifests, release selector, chip-based device hint 2026-05-08 22:04:42 +02:00
public chore: add favicon and apple touch icon assets 2026-05-08 22:04:52 +02:00
server Initial commit 2024-12-07 17:48:13 +01:00
types Initial commit 2024-12-07 17:48:13 +01:00
.gitignore Update gitignore 2024-12-07 19:18:19 +01:00
get_latest.sh update get latest script 2024-12-20 02:17:21 +01:00
nuxt.config.ts feat(v3): Forgejo manifests, release selector, chip-based device hint 2026-05-08 22:04:42 +02:00
package.json chore: add Pages deploy scripts and firmware v4 bundles 2026-05-08 20:01:38 +02:00
pnpm-lock.yaml chore: add Pages deploy scripts and firmware v4 bundles 2026-05-08 20:01:38 +02:00
pnpm-workspace.yaml chore: migrate to pnpm and upgrade Nuxt/Tailwind 2026-04-25 15:36:55 +02:00
README.md chore: add Pages deploy scripts and firmware v4 bundles 2026-05-08 20:01:38 +02:00
tailwind.config.ts chore: migrate to pnpm and upgrade Nuxt/Tailwind 2026-04-25 15:36:55 +02:00
tsconfig.json Initial commit 2024-12-07 17:48:13 +01:00
wrangler.toml chore: add Pages deploy scripts and firmware v4 bundles 2026-05-08 20:01:38 +02:00

BTClock Web Flasher

Powered by Nuxt, Vue and esptool-js

Setup

Make sure to install the dependencies:

# pnpm (recommended)
corepack enable
pnpm install

Development Server

Start the development server on http://localhost:3000

pnpm dev

Production

Build the application for production:

pnpm build

Locally preview production build:

pnpm preview

Cloudflare Pages (Wrangler)

This app is a static SPA (nuxt generate.output/public). Deploy with Wrangler:

pnpm exec wrangler login
pnpm exec wrangler pages project create btclock-web-flasher-v3 --production-branch=main
pnpm run cf:pages:v3

If Wrangler reports multiple Cloudflare accounts, set account_id in wrangler.toml or the CLOUDFLARE_ACCOUNT_ID environment variable. The deploy scripts pass --project-name explicitly.

Preview the uploaded bundle locally (after pnpm run generate):

pnpm run cf:pages:preview