Automatically displays photos from a public Google Drive folder. Set it and forget it.
No API keys. No Google Cloud. No accounts.
git clone https://github.com/PSDTools/science-slideshow.git ~/slideshow
cd ~/slideshow
pip3 install -r requirements.txt --break-system-packages- Right-click your folder → Share
- Change to "Anyone with the link" can view
- Copy the link
Your link looks like: https://drive.google.com/drive/folders/ABC123XYZ
The folder ID is: ABC123XYZ
{
"google_drive": {
"folder_id": "ABC123XYZ"
}
}python3 server.pyOpen http://localhost:5000 — done!
chmod +x ~/slideshow/start_slideshow.sh
mkdir -p ~/.config/lxsession/LXDE-pi
echo "@/home/pi/slideshow/start_slideshow.sh" >> ~/.config/lxsession/LXDE-pi/autostart
sudo rebootNow just add/remove images from your Google Drive folder. The Pi updates automatically every hour.
{
"google_drive": {
"folder_id": "your-folder-id"
},
"weather": {
"api_key": "",
"station_id": ""
},
"slideshow": {
"image_duration_seconds": 10,
"weather_duration_seconds": 15
},
"server": {
"port": 5000
}
}Weather is optional — leave it empty for photos only.
| URL | What it does |
|---|---|
| http://localhost:5000 | Slideshow |
| http://localhost:5000/api/refresh | Force refresh now |
| http://localhost:5000/health | Status |
sudo nano /boot/firmware/config.txtAdd: display_rotate=1 and reboot.
- Pi fetches your public Google Drive folder
- Finds all images (jpg, png, gif, webp)
- Displays them in a fullscreen slideshow
- Auto-refreshes every hour
That's it. No APIs, no tokens, no cloud console.