Skip to content
This repository has been archived by the owner on Jan 30, 2025. It is now read-only.
/ stream-cam-web Public archive

Web app controller for the RPi-based live stream camera.

License

Notifications You must be signed in to change notification settings

JiningLiu/stream-cam-web

Repository files navigation

Web Controller for Stream Cam (Legacy)

For use with the stream-cam-legacy project, install with the script found in that project. The installation steps in the README of that project will guide you through installing all software needed.

⚠️ A new system is under development... Follow JiningLiu/stream-cam for updates.

Developing

Once you've 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

The port is exposed by default with the --host flag.

Building

To create a production version of the app:

npm run build

You can preview the production build with npm run preview.

You can deploy the production build to GitHub Pages with npm run deploy.

  • Make sure to change script build in package.json to use your own domain, or remove the CNAME creation command.