pardnio/node-image-server

Last updated

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


RESIZE ONCE, SERVE FROM CACHE EVERYWHERE!

Version License


A Node.js image resizing server with on-the-fly WebP/AVIF conversion, Nginx and CDN caching, and date-sorted trash

Table of Contents

Features

docker compose up -d · Documentation

Architecture

Full Architecture

graph TB
    Client[Client] --> Worker[Cloudflare Worker<br>CDN cache]
    Client --> Nginx[Nginx<br>proxy_cache]
    Worker --> Nginx
    Nginx --> App[Express Cluster]
    App --> GET[GET /c/img<br>sharp conversion]
    App --> POST[POST /upload]
    App --> DEL[DELETE /del]
    GET --> Storage[(storage/image<br>upload · cache)]
    POST --> Storage
    DEL --> Trash[(upload/.trash)]

License

This project is licensed under the MIT LICENSE.

Author

Just open an issue to share an idea.

node-image-server contributors

©️ 2025 邱敬幃 Pardn Chiu

中文