🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more

httpcarousel

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

httpcarousel

Simple HTTP Server to serve a directory of images which frequently rotate

1.0.3
100

Supply Chain Security

100

Vulnerability

98

Quality

100

Maintenance

100

License

Maintainers
1

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

NameDescriptionDefault
CAROUSEL_PORTThe HTTP Port that Carousel should listen on6502
CAROUSEL_INTERVALHow often the displayed image should change in seconds45
CAROUSEL_IMAGE_DIRECTORYThe directory to find images/tmp/images

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts