This is a tiny app built as an excuse to explore Svelte and SvelteKit. It allows users to upload a .xle file generated by a Solinst Levelogger and download a .csv file of the relevant log data it contains.
Once you've created a project and installed dependencies with npm install (or pnpm install or yarn), start a development server:
npm run dev
# or start the server and open the app in a new browser tab
npm run dev -- --openTo create a production version of your app:
npm run buildYou can preview the production build with npm run preview.
This app is configured to deploy to Cloudflare Pages.
- Push your code to a Git repository (GitHub, GitLab, etc.)
- Log in to Cloudflare Pages
- Click "Create a project" and connect your repository
- Configure the build settings:
- Build command:
npm run build - Build output directory:
.svelte-kit/cloudflare - Node.js version: 18 or higher
- Build command:
- Click "Save and Deploy"
Alternatively, you can deploy directly using Wrangler:
npm install -g wrangler
npm run build
npx wrangler pages deploy .svelte-kit/cloudflare