Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 984 Bytes

README.md

File metadata and controls

33 lines (23 loc) · 984 Bytes

moabit-sky

Take a picture every 5 minutes with a webcam, make a video out of the images every 24 hours and upload it into a Telegram channel.

Requirements

  • node and npm
  • ffmpeg
  • imagesnap (MacOS) or fswebcam (Linux)
  • Telegram Bot running inside channel

Usage

# Install dependencies
npm install

# Run program with configuration arguments
node index.js --device "USB Camera" --token "Telegram Token" --chat "Telegram Chat ID"

Arguments

  • --device Name of camera device, for example /dev/video0. Leave empty to get a list of options
  • --token API Token for Telegram Bot uploading video to channel
  • --chat Identifier of the Telegram chat
  • --timezone IANA Timezone name, for example Europe/Berlin (optional)
  • --folder Path of folder where photos and images are stored (optional)
  • --framerate Frames per second in generated video (optional)

License

UNLICENSE