Pictures!
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
mortie 527846c629 fixed bug related to running behind a proxy před 7 roky
exampleSlides admin can now control if slide is disabled or not, new slides are disabled by default před 7 roky
js admin can now control if slide is disabled or not, new slides are disabled by default před 7 roky
web fixed bug related to running behind a proxy před 7 roky
.gitignore now uses markdown, and admin interface mostly done před 7 roky
README.md Cleaned up the code a bunch, and added a slide specific meta.json před 7 roky
conf.json.example added password to example config před 7 roky
package.json fixed bug related to running behind a proxy před 7 roky
server.js can now delete and create slides. Auth tokens now also use cookies instead of headers. před 7 roky

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.