Pictures!
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mortie 527846c629 fixed bug related to running behind a proxy 7 年之前
exampleSlides admin can now control if slide is disabled or not, new slides are disabled by default 7 年之前
js admin can now control if slide is disabled or not, new slides are disabled by default 7 年之前
web fixed bug related to running behind a proxy 7 年之前
.gitignore now uses markdown, and admin interface mostly done 7 年之前
README.md Cleaned up the code a bunch, and added a slide specific meta.json 7 年之前
conf.json.example added password to example config 7 年之前
package.json fixed bug related to running behind a proxy 7 年之前
server.js can now delete and create slides. Auth tokens now also use cookies instead of headers. 7 年之前

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.