Skip to content

docker-compose stack that runs magicmirror and puppeteer to serve up a static screenshot of your magicmirror

Notifications You must be signed in to change notification settings

thehonker/magicmirror-static

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

magicmirror-static

What is this?

Magicmirror running in server mode coupled with
Puppeteer to take a screenshot on an interval
and nginx to serve that screenshot as a static page

Why?

I recently acquired a 2nd gen iPad
The JS on it is too old to run MM
But it can fetch an image on an interval!

How do I use this?

Clone the repo, setup your magicmirror stuff in:

./config    <- config.js
./css       <- custom css
./modules   <- custom modules

You'll want to edit docker-compose to remove the traefik-backend network.
I have everything at home behind a single traefik in a seperate compose stack.

Change '--window-size=768,1024', in screenshot.js to suit your target device

After that, setup your magicmirror config.js and docker compose up -d

About

docker-compose stack that runs magicmirror and puppeteer to serve up a static screenshot of your magicmirror

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published