Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
flewid opened this issue Aug 15, 2024 · 3 comments
Open

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

flewid opened this issue Aug 15, 2024 · 3 comments

Comments

@flewid
Copy link

flewid commented Aug 15, 2024

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
Copy link

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
Copy link
Author

flewid commented Sep 17, 2024

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.

@Nachtzuster
Copy link
Owner

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.

I imagine having a sufficiently complex BirdNET-Pi Password would get you most of what you want, unauthorised users not able to mess with the system.
Tools->Settings->Advanced

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants