Some checks failed
Deploy to BeePC / deploy (push) Has been cancelled
- Add image-fetcher module for downloading and saving images from various sources. - Create storage module for managing image files, including downloading, verifying integrity, and cleaning up orphaned files. - Develop gallery HTML page for displaying images with sorting and filtering options. - Set up RESTful API routes for image management, including fetching, adding tags, and deleting images. - Introduce setup script for initializing the database and configuring image sources. - Implement a batch process for verifying image integrity and cleaning up old images. - Add setup batch script for easy installation and configuration of the image storage system.
20 lines
662 B
JSON
20 lines
662 B
JSON
{
|
|
"sources": [
|
|
{
|
|
"name": "Bedroom Exterior",
|
|
"url": "http://192.168.254.66:8080/",
|
|
"tags": ["lake", "road"],
|
|
"enabled": true
|
|
}
|
|
],
|
|
"fetchInterval": 0.033,
|
|
"comments": {
|
|
"sources": "Array of image sources to fetch from",
|
|
"name": "Human-readable name for the source",
|
|
"url": "Full URL to the image",
|
|
"tags": "Array of tags to apply to fetched images (useful for ML training)",
|
|
"enabled": "Set to true to include this source in fetching",
|
|
"fetchInterval": "Minutes between fetch cycles. Examples: 0.033 = 2 seconds, 0.05 = 3 seconds, 0.083 = 5 seconds, 1 = 1 minute, 2.5 = 2.5 minutes (default)"
|
|
}
|
|
}
|