WikiSubmission Library

High-performance backend services powering the indexing and delivery of WikiSubmission assets.

High Speed

PostgreSQL B-Tree and Trigram indices ensure metadata retrieval in milliseconds.

Smart Caching

Multi-layer caching using Cloudflare Edge and Singleflight request deduplication.

Secure Delivery

Automated CloudFront URL signing for private content with 1-hour expiration.

System Architecture

This API bridges the gap between massive S3 Storage and the need for Real-time Search.

API Endpoints

GET /explorer Web interface for file browsing
GET /file/*filepath Direct access with smart redirect & cache
GET /search?q={query} Fuzzy search for S3 metadata
GET /health System health & DB connectivity