hydrus
A personal booru-style media tagger that can import files and tags from your hard drive and popular websites. Content can be shared with other users via user-run servers.
Discover how Hydrus networking sessions manage cookies and authentication using access keys and session cookies for secure, persistent connections. Learn about client-side cleanup and server account resolution.
How Hydrus Persists and Loads Configuration Using Its Serializable Data SystemDiscover how Hydrus uses its serializable data system to persist and load configuration via JSON objects and SQLite tuples. Learn about versioned data and type ID mapping.
How Hydrus Implements a Threading Model for Background Tasks and UI ResponsivenessDiscover how Hydrus manages background tasks and UI responsiveness using dedicated Python threads, daemons, and a job scheduler to ensure smooth operation and prevent overload.
How Hydrus Client-Server Networking Handles HTTP/HTTPS RequestsDiscover how Hydrus client-server networking manages HTTP/HTTPS requests using Python requests and Twisted. Understand its dual-layer architecture for efficient API handling.
How the Hydrus Metadata Migration Exporter/Importer System WorksExplore the Hydrus metadata migration exporter importer system. Understand its modular node-based architecture for seamless bidirectional metadata transfer between media files and side-car files.
How the Hydrus URL Mapping System Associates URLs with FilesDiscover how the Hydrus URL mapping system associates URLs with files using hash IDs and an SQLite table. Learn about this core feature of the Hydrus network repository.
How the Hydrus Content Update System Batches and Processes Tag ChangesLearn how Hydrus batches and processes tag changes efficiently. Discover how ContentUpdate objects and packages minimize database trips for faster synchronization.
How Media Results Caching Improves Search Performance in HydrusDiscover how Hydrus caching dramatically speeds up searches. Learn how media results caching uses in-memory storage to eliminate redundant queries and boost performance.
How the Hydrus Tag Search System Optimizes Queries with CachingDiscover how Hydrus optimizes tag searches with four specialized SQLite caches. Learn how pre-computed sub-tags and wildcard expansions boost performance and eliminate slow table scans.
How Hydrus Manages Physical File Storage Locations: A Deep Dive into Hash-Based Directory TreesLearn how Hydrus manages physical file storage with hash-based directory trees. Explore deterministic folder generation and file distribution across storage locations.
Hydrus Service System Architecture: Local Repository Server DesignExplore the Hydrus service system architecture. Learn how the local repository server design uses Twisted HTTP/HTTPS, a ServerController, SQLite, and networking for administration and data management.
How the Hydrus Maintenance Daemon Schedules and Executes Background TasksLearn how the Hydrus maintenance daemon schedules and executes background tasks using CallRepeating, ManagerWithMainLoop, and clean thread stopping for efficient operations. Optimize your Hydra network.
Have a question about this repo?
These articles cover the highlights, but your codebase questions are specific. Give your agent direct access to the source. Share this with your agent to get started:
curl -s "https://instagit.com/install.md" Maintain an open-source project? Get it listed too →