Documentation

pardnio/go-image-server

[!NOTE] This README was generated by SKILL, get the ZH version from here.


RESIZE ONCE, CACHE EVERYWHERE!

Release License


A Go image caching server with on-the-fly libvips transforms, four-layer caching, and date-based soft-delete trash

Table of Contents

Features

docker compose up -d · Documentation

Architecture

Full Architecture

graph TB
    Client[Client] --> Browser[Browser Cache 7d]
    Browser --> Worker[Cloudflare Worker 7d]
    Browser --> Nginx[Nginx proxy_cache 7d]
    Worker --> Nginx
    Nginx --> Gin[Gin Router]
    Gin --> Get[GET Transform]
    Gin --> Post[POST Upload]
    Gin --> Del[DELETE to Trash]
    Get --> Vips[libvips]
    Get --> Storage[(storage/image<br>upload / cache / .trash)]
    Post --> Storage
    Del --> Storage

License

This project is licensed under the MIT LICENSE.

Author

Just open an issue to share an idea.

go-image-server contributors

©️ 2025 邱敬幃 Pardn Chiu

中文