Open flewid opened 3 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
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.
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.