<commit_before># sideshow

**A minimalistic dashboard-as-a-service**

Sideshow is like a dashboard application, where instead of adding widgets you can have it show the sites you choose. It's perfect for showing bus timetables, weather and server status pages on your office kitchen, or funny GIFs in your screen saver.

Sideshow is easy to use and customize. Just open the HTML page with a number of parameters and you're done. Should work with any modern browser.

![Screenshot](https://github.com/mieky/sideshow/raw/master/sideshow-example.gif)

## Live examples

Three sites, 5-second delay, 30-second refresh:<br /> [delay=5&refresh=30&sites=url1,url2](http://mike.fi/sideshow/?delay=5&refresh=30&sites=http://chilicorn.org,http://www.futurice.com)

Two sites, one-minute delay, half-an-hour refresh (default):<br /> [delay=60&sites=url1,url2](http://mike.fi/sideshow/?delay=60&sites=http://chilicorn.org,http://www.futurice.com)

Showing URLs with special characters by URI-encoding them:<br />
[delay=60&sites=someEncodedUrl](http://mike.fi/sideshow/?delay=5&sites=http://mike.fi/sideshow/?delay=5&sites=https://www.djangopackages.com/search/%3Fq%3D%F0%9F%98%80%20emojis%2C%20baby) (*see link source*)

You can also link to a .gif to have it display fullscreen!<br />
[delay=3&sites=gif1,gif2](http://mike.fi/sideshow/?delay=3&sites=http://cdn.gifbay.com/2013/01/1_for_perfect_loop-26256.gif,http://38.media.tumblr.com/aed842e1fa863d6e991def1b9505d77f/tumblr_nx1lhqQZDl1rxpytqo1_400.gif)

## Usage

Navigate to the index.html, setting some query parameters:

```
http://mike.fi/sideshow/?
    delay=5
    &refresh=900
    &sites=&sites=http://chilicorn.org,http://www.futurice.com
```

- `delay` specifies seconds to wait before changing tab (defaults to 10)
- `refresh` specifies seconds between reloading all pages (defaults to 1800, set 0 to disable)
- `sites` is a comma-separated list of sites to cycle. URI encoding is supported.

You can actually use the URL http://mike.fi/sideshow for your needs, because no data gets saved on a server. It's just static HTML files served via GitHub pages.

Also see the note on [browser security restrictions.](#work-around-security-restrictions)

## How to...

### Install on my own server?

Just drop the files to a web server. That's it. You might as well use it from the live demo at http://mike.fi/sideshow, because your local data isn't saved anywhere (there's Google Analytics installed, though.)

### Work around security restrictions?
<commit_msg>I don't think you need `&sites=` twice there?<commit_after># sideshow

**A minimalistic dashboard-as-a-service**

Sideshow is like a dashboard application, where instead of adding widgets you can have it show the sites you choose. It's perfect for showing bus timetables, weather and server status pages on your office kitchen, or funny GIFs in your screen saver.

Sideshow is easy to use and customize. Just open the HTML page with a number of parameters and you're done. Should work with any modern browser.

![Screenshot](https://github.com/mieky/sideshow/raw/master/sideshow-example.gif)

## Live examples

Three sites, 5-second delay, 30-second refresh:<br /> [delay=5&refresh=30&sites=url1,url2](http://mike.fi/sideshow/?delay=5&refresh=30&sites=http://chilicorn.org,http://www.futurice.com)

Two sites, one-minute delay, half-an-hour refresh (default):<br /> [delay=60&sites=url1,url2](http://mike.fi/sideshow/?delay=60&sites=http://chilicorn.org,http://www.futurice.com)

Showing URLs with special characters by URI-encoding them:<br />
[delay=60&sites=someEncodedUrl](http://mike.fi/sideshow/?delay=5&sites=http://mike.fi/sideshow/?delay=5&sites=https://www.djangopackages.com/search/%3Fq%3D%F0%9F%98%80%20emojis%2C%20baby) (*see link source*)

You can also link to a .gif to have it display fullscreen!<br />
[delay=3&sites=gif1,gif2](http://mike.fi/sideshow/?delay=3&sites=http://cdn.gifbay.com/2013/01/1_for_perfect_loop-26256.gif,http://38.media.tumblr.com/aed842e1fa863d6e991def1b9505d77f/tumblr_nx1lhqQZDl1rxpytqo1_400.gif)

## Usage

Navigate to the index.html, setting some query parameters:

```
http://mike.fi/sideshow/?
    delay=5
    &refresh=900
    &sites=http://chilicorn.org,http://www.futurice.com
```

- `delay` specifies seconds to wait before changing tab (defaults to 10)
- `refresh` specifies seconds between reloading all pages (defaults to 1800, set 0 to disable)
- `sites` is a comma-separated list of sites to cycle. URI encoding is supported.

You can actually use the URL http://mike.fi/sideshow for your needs, because no data gets saved on a server. It's just static HTML files served via GitHub pages.

Also see the note on [browser security restrictions.](#work-around-security-restrictions)

## How to...

### Install on my own server?

Just drop the files to a web server. That's it. You might as well use it from the live demo at http://mike.fi/sideshow, because your local data isn't saved anywhere (there's Google Analytics installed, though.)

### Work around security restrictions?

{'fraction_non_alphanumeric': 0.12428032559062935, 'fraction_numerical': 0.034544371649791544, 'mean_word_length': 4.913145539906103, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 4, 'lorem ipsum': 0, 'www.': 8, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3154711', 'n_tokens_mistral': 1838, 'n_tokens_neox': 1650, 'n_words': 501}