feat: Implement image fetching and storage system
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.
This commit is contained in:
2026-02-12 13:13:36 -05:00
parent ea6cc3fc85
commit 9c72b00b1b
19 changed files with 3004 additions and 71 deletions

View File

@@ -8,8 +8,13 @@ RUN npm install --omit=dev
COPY . .
# Ensure proper permissions for node user
RUN chown -R node:node /app
# Create data directory for persistent storage
RUN mkdir -p /app/data/images && \
chown -R node:node /app && \
chmod -R 755 /app/data
# Install avahi for mDNS support (.local hostname resolution)
RUN apk add --no-cache avahi avahi-tools libc6-compat
EXPOSE 3001