Pictures!
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
mortie 527846c629 fixed bug related to running behind a proxy il y a 7 ans
exampleSlides admin can now control if slide is disabled or not, new slides are disabled by default il y a 7 ans
js admin can now control if slide is disabled or not, new slides are disabled by default il y a 7 ans
web fixed bug related to running behind a proxy il y a 7 ans
.gitignore now uses markdown, and admin interface mostly done il y a 7 ans
README.md Cleaned up the code a bunch, and added a slide specific meta.json il y a 7 ans
conf.json.example added password to example config il y a 7 ans
package.json fixed bug related to running behind a proxy il y a 7 ans
server.js can now delete and create slides. Auth tokens now also use cookies instead of headers. il y a 7 ans

README.md

Pipic

Pipic is software for making slideshows. The idea is that you have one server, running a pipic server, and have as many clients as necessary which just display the website hosted by the pipic server.

Usage

  1. Copy conf.json.example to conf.json, and change the desired preferences. You may for example want to change slides to something other than ‘exampleSlides’.
  2. Run node server.js.
  3. Point your clients to the site hosted by the pipic server.

meta.json

Each slide has a file called meta.json, with some metadata about the slide. It has the following options:

  • disabled: Set to true to disable the slide.
  • interval: Override the interval setting in conf.json.

Automatic fullscreen

There are multiple ways for a client to automatically display the website in fullscreen.

Firefox

The easiest way for Firefox is to go to about:config and change full-screen-api.allow-trusted-requests-only to false, and the website will automatically fullscreen itself. You could also change full-screen-api.warning.timeout to 0 to disable the warning telling you the website is fullscreen.

Chrome/Chromium

You could start Chrome/Chromium with the --start-fullscreen flag, and the browser will automatically start in fullscreen mode. For some reason, Chrome seems to have issues when started from a plain X session without a window manager though, so I would advise using Firefox.