Carousel
Serve images via HTML / JavaScript which rotate every N seconds.
Installation
Via Pipx:
pipx install httpcarousel
Sample systemd unit:
sudo tee -a /etc/systemd/system/httpcarousel.service > /dev/null <<EOF
[Unit]
Description=httpcarousel
After=network.target
[Service]
Type=notify
User=debian
Group=debian
ExecStart=/home/debian/.local/pipx/venvs/httpcarousel/bin/carousel
ExecReload=/bin/kill -s HUP $MAINPID
KillMode=mixed
TimeoutStopSec=5
PrivateTmp=true
[Install]
WantedBy=multi-user.target
EOF
sudo systemctl daemon-reload
sudo systemctl start httpcarousel
sudo systemctl enable httpcarousel
Environment Variables
| Name | Description | Default |
|---|---|---|
| CAROUSEL_PORT | The HTTP Port that Carousel should listen on | 6502 |
| CAROUSEL_INTERVAL | How often the displayed image should change in seconds | 45 |
| CAROUSEL_IMAGE_DIRECTORY | The directory to find images | /tmp/images |
Metadata
Release files for httpcarousel 1.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| httpcarousel-1.0.3.tar.gz | 4.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| httpcarousel-1.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.5 kB
Release files / httpcarousel-1.0.3.tar.gz
| Download URL | httpcarousel-1.0.3.tar.gz |
|---|---|
| Size | 4.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c493a83e341029ff2d3c96a248938d23f520b520231d7d104be796431fb71a86
|
|
BLAKE2b-256 checksum How to use checksums |
fa5118bc1bb7370dae3a57c0e45a3faf97cc1a69d37dcb6e605e03ebf7d652a4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.9.18 Linux/6.2.0-1018-azure
|
Release files / httpcarousel-1.0.3-py3-none-any.whl
| Download URL | httpcarousel-1.0.3-py3-none-any.whl |
|---|---|
| Size | 5.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
88197fb41b55d24ee6a429c1e351fe55f1781ec0a78e5d8cebaca14d2234e297
|
|
BLAKE2b-256 checksum How to use checksums |
52c6727597de7f2495e295b222aa679ae80c81b33111235e903872bc3fa7655e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.9.18 Linux/6.2.0-1018-azure
|