Skip to content
@go-thumbnail

go‑thumbnail

go-thumbnail

go-thumbnail

Pure-Go implementation of the freedesktop.org Thumbnail Managing Standard — no cgo, no external tools.

docs site Go license


What is this?

go-thumbnail is a pure-Go (CGO_ENABLED=0) implementation of the freedesktop.org Thumbnail Managing Standard. It generates and caches file thumbnails exactly where and how the standard prescribes, so thumbnails it writes are visible to other compliant tools — file managers, image viewers — and vice-versa.

Module

Module freedesktop specification What it gives you
thumbnail Thumbnail Managing Standard Canonical cache under $XDG_CACHE_HOME/thumbnails/{normal,large,x-large,xx-large} (128 / 256 / 512 / 1024 px), the required PNG metadata (Thumb::URI, Thumb::MTime, …), fail markers, and shared-repository handling.

Design

  • Pure Go, CGO_ENABLED=0 — a single portable module; cross-compiles to a static binary.
  • Spec-faithful cache — canonical directory layout, PNG tEXt metadata and fail-marker semantics, so the cache interoperates with existing desktop tools.
  • 100% test coverage is the bar, error branches included.
  • BSD-3-Clause.

Links


Branding in go-thumbnail/brand.

Popular repositories Loading

  1. thumbnail thumbnail Public

    Pure-Go implementation of the freedesktop Thumbnail Managing Standard (CGO_ENABLED=0)

    Go

  2. brand brand Public

    Brand assets — logos & icons

  3. .github .github Public

    Organization profile & community health files

  4. go-thumbnail.github.io go-thumbnail.github.io Public

    go-thumbnail organization landing page (Hugo)

    CSS

  5. docs docs Public

    go-thumbnail documentation (MkDocs Material + mike)

Repositories

Showing 5 of 5 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…