Skip to content

WASM and Svelte based image converter written in Rust and Javascript

License

Notifications You must be signed in to change notification settings

helvete003/toolbelt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

toolbelt - the simple web based image converter

You can find a running version at https://helvete003.github.io/toolbelt/

toolbelt is a simple image converter written in Rust and Javascript using WASM and Svelte. The idea is to provide an image converter for every system that has a modern webbrowser.

Setup

First we need to install all the necessary tools

Clone the repository and download the node modules for svelte

foo@bar:~$ git clone https://github.com/helvete003/toolbelt.git
foo@bar:~$ cd toolbelt/www
foo@bar:~/toolbelt/www$ npm install

Compiling

Warning

Currently you have to manually copy the bootstrap icons fonts folder (node_modules/bootstrap-icons/font/fonts) into the build folder (public/build)

Debug

Build the WASM module

foo@bar:~/toolbelt$ wasm-pack build --target no-modules --out-dir www/public/pkg --no-typescript

Build Svelte and start dev server

foo@bar:~/toolbelt/www$ npm run dev

Release

foo@bar:~/toolbelt$ wasm-pack build --target no-modules --out-dir www/public/pkg --no-typescript --release

Build the Svelte Project

foo@bar:~/toolbelt/www$ npm run build

About

WASM and Svelte based image converter written in Rust and Javascript

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published