Customize Bulma without installing anything

Note: Bulma On Demand is not affiliated with Jeremy Thomas.

Documentation

Deployment

Bulma On Demand can be deployed pretty much anywhere you can run SvelteKit. However, environments that limit execution-time/request to under ~1 second (eg: Cloudflare Workers free tier) will not work.

Docker

docker run -p 3000:3000/tcp --rm --name bulma-on-demand ghcr.io/wakeful-cloud/bulma-on-demand:latest

Note: because no data is persisted, attaching a volume is not necessary or even recommended.

Vercel

Note: you need to use npm run build:vercel for the build command.

Environment Variables

Name Required/Default Description
CACHE_MAX 2560 Maximum number of cached Bulma compilations (Each compilation is ~210 KiB)
CACHE_TTL 1 hour Cached Bulma compilation Time To Live in milliseconds
VITE_CANONICAL_URL https://bulma-on-demand.vercel.app HTML/OpenGraph canonical URL

Development

  1. Install prerequisites:
  2. Run in development:
    npm run dev
    

Top categories

svelte logo

Want a Svelte site built?

Hire a Svelte developer
Loading Svelte Themes