SvelteKit API endpoint to upload to BackBlaze

Upload to BackBlaze B2 using from any part of your SvelteKit app or external app using API endpoint /api/upload.

Installation

  1. Install dependencies: npm i axios js-sha1
  2. Get the files from this commit
  3. Update src/lib/config/backblaze-upload.js and move the API keys to ENV variables
  4. Update the missing types if I haven't done yet🙂

Top categories

svelte logo

Need a Svelte website built?

Hire a professional Svelte developer today.
Loading Svelte Themes