GabrielCousin / ouistiti

Photobooth powered with express.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ouistiti πŸ™ˆ

A PhotoBooth running from the browser! This is more a packaged version of great ideas grabbed on the Internet. Those are listed below πŸ‘‡.

Sources

About

  • Server running with Node.js + Express
  • Based on MediaDevices Web API and Canvas
  • Webcam is needed
  • Can either be use on touch screens or with a Bluetooth remote
  • Printer is optional

Notes

# action browser server notes
1 capture photo βœ” getUserMedia
2 validate or retry βœ”
3 send photo to server βœ” Canvas + Fetch
4 photo saved βœ” Watching files
5 photo printed βœ” CUPS

Running

# Run in parallel
# Start express
$ yarn serve
# Watch new photos and print them
$ yarn print

Installation

$ yarn
$ yarn start

Development

# Run in parallel
$ yarn start:dev
$ yarn serve:dev
$ yarn print

Customization

Add following files in /public:

  • watermark.png
  • favicon.ico

About

Photobooth powered with express.js


Languages

Language:JavaScript 50.6%Language:CSS 31.2%Language:Pug 14.7%Language:Shell 3.5%