nekoimagegallery

An AI-powered natural language & reverse Image Search Engine powered by CLIP & qdrant.

20 articles 183 View on GitHub ↗
20 articles
How to Add a Custom Storage Backend Implementation in NekoImageGallery

Learn how to add a custom storage backend implementation in NekoImageGallery. Inherit from BaseStorage, implement methods, and register your class in StorageService for seamless integration.

how-to-guide
Mar 3, 2026
How Presigned URL Generation Works for Image Retrieval in NekoImageGallery

Learn how NekoImageGallery generates presigned URLs for secure image retrieval. Download images directly from storage without exposing credentials or routing traffic.

how-to-guide
Mar 3, 2026
MappedImage Structure and Vector Storage in NekoImageGallery: A Complete Technical Guide

Understand the MappedImage structure for image metadata and dual 768-dimensional vector storage in NekoImageGallery. Learn how vectors are persisted in Qdrant.

deep-dive
Mar 3, 2026
How the Admin API Handles Image Upload and Metadata Management in NekoImageGallery

Discover how the NekoImageGallery admin API manages image uploads and metadata with SHA-1 ID generation, duplicate protection, and async processing for efficient gallery management.

how-to-guide
Mar 3, 2026
NekoImageGallery Model Selection and Device Allocation: A Complete Configuration Guide

Configure NekoImageGallery models CLIP BERT EasyPaddleOCR and device allocation CPU GPU auto for optimal image encoding and text embedding performance. Learn easy setup.

configuration-guide
Mar 3, 2026
How the FastAPI Application Is Mounted with an Optional Frontend in NekoImageGallery

Discover how the NekoImageGallery codebase conditionally mounts a React frontend alongside the FastAPI application, enabling dual-mode deployment with API routes prefixed by /api.

internals
Mar 3, 2026
How the `/search/similar` Endpoint Finds Visually Similar Images

Discover how the "/search/similar" endpoint finds visually similar images using vector embeddings and Qdrant for efficient nearest-neighbor searches with cosine similarity.

how-to-guide
Mar 3, 2026
Database Error Handling Patterns in NekoImageGallery: Domain-Driven Exception Design

Discover NekoImageGallery's domain-driven error handling for database operations. Learn how custom exceptions and ID validation ensure robust error management.

best-practices
Mar 3, 2026
NekoImageGallery Lifespan Management: FastAPI Startup and Shutdown Architecture

Explore the NekoImageGallery lifespan management with FastAPI startup and shutdown. Discover how the ServiceProvider and LifespanService orchestrate application lifecycle hooks in this three-tier architecture.

architecture
Mar 3, 2026
How to Configure Qdrant in Server, Local, or Memory Mode

Learn to configure Qdrant in server, local, or memory mode for Neko Image Gallery using the APP_QDRANT__MODE variable for flexible vector storage options.

how-to-guide
Mar 3, 2026
Filter Parameters for Search Results in Neko Image Gallery: Complete API Reference

Explore Neko Image Gallery API filter parameters to refine vector search results. Discover eight filters including aspect ratio, dimensions, starred status, and categories.

api-reference
Mar 3, 2026
How NekoImageGallery's Indexing Pipeline Processes and Vectorizes Images

Discover how NekoImageGallery's async indexing pipeline processes images through four stages: upload, preparation, CLIP/BERT vector generation, and Qdrant persistence, creating searchable embeddings.

internals
Mar 3, 2026

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:

Share the following with your agent to get started:
curl -s "https://instagit.com/install.md"

Works with
Claude Codex Cursor VS Code OpenClaw Any MCP Client

Maintain an open-source project? Get it listed too →