Nachtzuster / BirdNET-Pi

A realtime acoustic bird classification system for the Raspberry Pi 5, 4B 3B+ 0W2 and more. Built on the TFLite version of BirdNET.
https://birdnetpi.com
Other
169 stars 24 forks source link

FEATURE REQUEST: rsync/scp site to remote server #173

Open flewid opened 3 months ago

flewid commented 3 months ago

I run a variety of other similar things (AllSky, WeeWX Weather) and I'm able to rsync/scp/ftp the website to an external server. It would be really nice if we could do this with Birdnet-PI instead of having to port forward on our internal network. Thought this would be a a neat addition to this project. Happy to help with it if need be.

tomtom215 commented 2 months ago

Not sure if many people would benefit from such a feature, but an alternative approach you could take is replicating the sqlite DB to another installation and streaming the DB updates via SFTP with LiteStream https://github.com/benbjohnson/litestream

flewid commented 2 months ago

Oh this is interesting! Thank you. My purpose was to not have to port forward or have dyn-dns setup so people could access the site, as well as I was thinking that the 'synced' site would not have any admin interface, solely the front-end so friends/family could view the birds captured at my location. Though this would require 'two sets of files' for the different site types so more complex. This is how weewx does it for the weather info I push and thought it'd be cool for this as well. I'll take a look at LiteStream for now though, since the site doesn't change very often I can probably create my own copy of it without the admin side, and just sync the database.