Skip to content

A tiny SvelteKit app used to convert a Levlogger .xle file to a .csv file of log values

License

Notifications You must be signed in to change notification settings

sdunham/xle-to-csv

Repository files navigation

XLE to CSV

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.

Developing

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 -- --open

Building

To create a production version of your app:

npm run build

You can preview the production build with npm run preview.

Deploying to Cloudflare Pages

This app is configured to deploy to Cloudflare Pages.

Deploy via Git Integration (Recommended)

  1. Push your code to a Git repository (GitHub, GitLab, etc.)
  2. Log in to Cloudflare Pages
  3. Click "Create a project" and connect your repository
  4. Configure the build settings:
    • Build command: npm run build
    • Build output directory: .svelte-kit/cloudflare
    • Node.js version: 18 or higher
  5. Click "Save and Deploy"

Deploy via Wrangler CLI

Alternatively, you can deploy directly using Wrangler:

npm install -g wrangler
npm run build
npx wrangler pages deploy .svelte-kit/cloudflare

About

A tiny SvelteKit app used to convert a Levlogger .xle file to a .csv file of log values

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published