# thoas/picfit

An image resizing server written in Go

Repository: https://github.com/thoas/picfit
Canonical: https://ross.abutalabs.com/products/picfit
Homepage: http://bit.ly/1E7rSoi
Language: Go
License: MIT
License Family: permissive
Topics: golang, image, server
Last push: 2026-07-24T13:23:14+00:00

## Health v2 (maintenance only)
Score: 72/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 94, release rhythm 28, longevity 100
- inputs: {"age_days": 4288, "days_push": 40, "days_rel": 496, "gap_med": 58, "n_releases_24m": 4}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2341, forks 188 (observed 2026-08-28T04:06:38.845144+00:00)

## What it is
Picfit is a reusable Go HTTP server that resizes, crops, and generates thumbnails of images on the fly, acting as a proxy over storage backends like S3, GCS, or the filesystem. It caches generated keys in Redis or in-memory stores and is designed to sit behind an HTTP cache such as Varnish.

## Use cases
- serve resized images on the fly from S3
- generate thumbnails for a website without pre-processing
- proxy and transform images stored in Google Cloud Storage
- cache resized image variants with Redis
- offload image resizing from application servers to a dedicated service

## When to choose
- you need on-demand image resizing across multiple storage backends
- you want a standalone image service behind a CDN or Varnish
- your stack is Go or you prefer a single self-hosted binary

## When to avoid
- you only need simple build-time image processing in a script
- you want a UI-driven image editor
- you need advanced editing like filters or face detection

## Facets
- artifact type: service
- maturity: active
- function: image-processing, http-server, proxy, caching
- domain: image-processing, web-development, media
- platform: self-hosted, go
- tags: image-resizing, thumbnail-generation, on-the-fly-image-manipulation, s3, gcs, redis, linux, macos, docker

## Member repositories
- thoas/picfit (main) score 72

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:38.845144+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:37:23.781928+00:00, confidence not recorded.
  - readme: https://github.com/thoas/picfit (fetched 2026-08-28T04:06:38.845144+00:00, sha e8e132bb36e9)
- Data as of 2026-08-30T08:39:29.467469+00:00.
