Skip to content

tals/magic-mirror

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

image

Made for a party in San Francisco's 20 Misson and The Archive.

It continuesly captures and indexes what it sees, and displays the closeset matches from the recent past :)

How to use:

  1. Bring up the server (see below)
  2. locate it's IP. Lets assume xxx.xxx.xxx.xxx
  3. Ensure the computer running the browse can hit the server. Try hitting http://xxx.xxx.xxx.xxx:9999
  4. and then visit https://party.photoboo.app/. Final url should be something like https://party.photoboo.app/?http://xxx.xxx.xxx.xxx:9999

Components

Server

$ cd server
$ pip install -r requirements.txt
$ python app.py

Frontend

This is the web client, based on Svelte + Vite + Tailwind.

$ cd website
$ npm i
$ npm run dev

Caddy

Proxies everything. Does SSL termination

$ cd server
$ sudo caddy run