Skip to content


Folders and files

Last commit message
Last commit date

Latest commit



85 Commits

Repository files navigation


This uses your Raspberry Pi and its camera to take a bunch of pictures every minutes and serves them via a small website. At the end of the day, it will generate a timelapse in mp4 format


There are configuration files for

  • nginx
  • systemd
  • cloudflare DNS/cache
  • crontab


Here is the list of the required dependencies

To take pictures

  • raspistill (should already be installed)
  • imagemagick

To generate the timelapse

  • ffmpeg
  • libomxil-bellagio-bin (for GPU accelerated encoding)

To serve the site:

  • nginx

To setup your own DNS entry and SSL cert

  • certbot
  • curl
  • jq
  • dnsutils
sudo apt-get update
sudo apt install -y nginx git ffmpeg libomxil-bellagio-bin imagemagick dnsutils jq curl certbot

Create the isitfoggy user and home directories

sudo useradd -d /opt/isitfoggy -m -G video -s /bin/nologin isitfoggy
sudo chmod -R g+w /opt/isitfoggy

Add yourself to the isitfoggy group so you can write stuff in that dir

sudo usermod -G isitfoggy -a $USER

Logout and log in to get the new group ownership Clone the repo and edit the configuration file

git clone /opt/isitfoggy/
cd /opt/isitfoggy/

Edit the configuration file

cp conf/isitfoggy.conf.example conf/isitfoggy.conf
vim conf/isitfoggy.conf

Run the installer that will create a bunch of symlinks, services and stuff

sudo ./

Getting SSL certificate

sudo utils/

Cloudflare setup

If you are serving this via your home broadband connection, It's highly recommended that you use a CDN to cache the static content. Once you bought a domain (via or for example) you can use Cloudflare manage it. Cloudflare provide "protection" for your server but also caching which comes handy for timelapse videos. Users will send requests to and Cloudflare will send you the requests to After you transfer your domain to Cloudflare, create the first A record for you public and private fqdn (full qualified domain names) And get an API key (in your profile section). Fill all this information in /etc/isitfoggy.conf and run utils/

cd utils/




  • Add a javascript realtime fog/visibility analysis


  • Package everything into a .deb
  • Allow people to write their own camera wrapper
  • Implement zone defined whitebalance


  • Remove/template all the things to prevent any hardocded values specific to my setup
  • Add steps to compile the mozjpeg libraries


Few scripts to setup a timelapse camera






No releases published