This is a small web application written in HTML and JavaScript that allows you to upload STL files and immediately view them in a STL viewer. I employed the viewstl package.
Here's how to get the site running on your machine:
- Get into a UNIX-like environment (e.g. using a VM or WSL2. If you're already on Linux/Mac, there is no action needed)
You need to employ some kind of http server, e.g. http-server
by npm:
- If necessary, install npm by running
curl https://npmjs.org/install.sh | sh
- Install http-server:
npm install http-server -g
- Clone repository:
git clone [email protected]:lukasboehm97/stl_upload.git
- Move into the directory:
cd stl_upload
- Start server:
http-server ./src
- You can now access the app at
http://127.0.0.1:8080