项目作者: gbourant

项目描述 :
Digital Frame in browser with optional Basic Authentication
高级语言: JavaScript
项目地址: git://github.com/gbourant/slideshow.js.git
创建时间: 2018-10-26T09:27:00Z
项目社区:https://github.com/gbourant/slideshow.js

开源协议:MIT License

下载


slideshow.js

Minimalistic digital frame accessed via web.Fully managed remotely by git with optional Basic Authentication.

Getting Started

  1. Clone this project on your server.

    1. git clone https://github.com/gbourant/slideshow.js
  2. Create .slideshow.conf on your home folder.

    1. touch ~/.slideshow.conf
  3. Add these variables in the file you just created

    1. IMAGE_REPO=https://github.com/gbourant/slideshow.js.git
    2. DEPLOYMENT_DIR=~/.slideshow

    Set IMAGE_REPO with a link of git repository (create one,if you haven’t) where you will store your images. On DEPLOYMENT_DIR set the path of the web server folder.

  4. Run the update.sh script and enjoy

    The digital frame is available on your domain name.

Add images

Create a git repository and push on it images.After that, run the update.sh script.

Enable Basic Authentication

You must have enabled the Basic Authentication on your web server. Access the digital frame via different link which has the username and the password on the query parameters.

  1. wwww.example.com/?username=demo&password=demo