Skip to content

Feature: watcher based bulk uploads#886

Open
Flomp wants to merge 6 commits intomainfrom
feature/upload-file-watcher
Open

Feature: watcher based bulk uploads#886
Flomp wants to merge 6 commits intomainfrom
feature/upload-file-watcher

Conversation

@Flomp
Copy link
Collaborator

@Flomp Flomp commented Mar 11, 2026

This PR proposes a new method of bulk uploading trails. Instead of running a cron bash script every 15 minutes to check for new trails, we run a file watcher sidecar alongside the main node process. This script monitors the user-defined UPLOAD_FOLDER and uploads new files directly when they are detected.

Furthermore, this makes use of the newly introduced API tokens. The watcher expects the file(s) to be in a subfolder whose name is a valid API token. This way, we can facilitate bulk uploading for multiple users.

Further testing and documentation are required.

@Flomp Flomp marked this pull request as ready for review March 20, 2026 11:43
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

Successfully merging this pull request may close these issues.

1 participant