autonot Svelte Themes

Autonot

A calculator based on xkcd #1205

autonot

Short for "automate or not", this web app is:

  • A calculator based on xkcd #1205
  • An excuse to learn some SvelteKit, Tailwind, and Cloudflare Pages

The source code here is MIT licensed. The xkcd web comic is a work by Randall Monroe under a Creative Commons Attribution-NonCommercial 2.5 License. The favicon is from Twemoji by Twitter under a Creative Commons Attribution 4.0 International License.

Prerequisites

  • Node.js 22 (.nvmrc and package.json#engines are pinned to >=22 <23)
  • npm

Local Development

npm install
npm run dev

Quality Checks

npm run lint
npm run check
npm run build

Deployment (Cloudflare Pages)

This app uses the SvelteKit Cloudflare adapter (@sveltejs/adapter-cloudflare) and includes a wrangler.toml with an explicit compatibility date and Worker entrypoint.

Cloudflare Pages should build with standard npm install/build steps and does not require --force/--legacy-peer-deps.

Top categories

Loading Svelte Themes