notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photos
All times are UTC
Ukraine
The recently imposed "must be logged in" restriction is a response to increased bot traffic on the site. This affects search, commits, and vuxml pages.
Search engines are not blocked. Try using "site:www.freshports.org" and your search terms.
Port details on branch 2026Q1
imaginary HTTP microservice for high-level image processing
20250114_10 www on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 20250114_14Version of this port present on the latest quarterly branch.
Maintainer: skozlov@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2026-01-25 01:42:26
Last Update: 2026-03-06 03:52:43
Commit Hash: ef8f442
License: MIT
WWW:
https://github.com/h2non/imaginary
Description:
Fast HTTP microservice written in Go for high-level image processing backed by bimg and libvips. imaginary can be used as private or public HTTP service for massive image processing with first-class support for Docker & Fly.io. It's almost dependency-free and only uses net/http native package without additional abstractions for better performance. Supports multiple image operations exposed as a simple HTTP API, with additional optional features such as API token authorization, URL signature protection, HTTP traffic throttle strategy and CORS support for web clients. imaginary can read images from HTTP POST payloads, server local path or remote HTTP servers, supporting JPEG, PNG, WEBP, HEIF, and optionally TIFF, PDF, GIF and SVG formats. imaginary is able to output images as JPEG, PNG and WEBP formats, including transparent conversion across them.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (4 items)
Collapse this list.
  1. bin/imaginary
  2. /usr/local/share/licenses/imaginary-20250114_10/catalog.mk
  3. /usr/local/share/licenses/imaginary-20250114_10/LICENSE
  4. /usr/local/share/licenses/imaginary-20250114_10/MIT
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • imaginary
Dependency lines:
  • imaginary>0:www/imaginary
To install the port:
cd /usr/ports/www/imaginary/ && make install clean
To add the package, run one of these commands:
  • pkg install www/imaginary
  • pkg install imaginary
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: imaginary
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1751718612 SHA256 (h2non-imaginary-20250114-1d4e251cfcd58ea66f8361f8721d7b8cc85002a3_GH0.tar.gz) = 99b3b1669934520f7ea06d7f11dcf06ecffa6df8d7c636666cb20429a922853b SIZE (h2non-imaginary-20250114-1d4e251cfcd58ea66f8361f8721d7b8cc85002a3_GH0.tar.gz) = 2023334

Expand this list (12 items)

Collapse this list.

SHA256 (garyburd-redigo-v1.6.0_GH0.tar.gz) = 6a17aedbaea7737637ecc0ff90812c169cf1c2b51dfd0809df6998295abb8f19 SIZE (garyburd-redigo-v1.6.0_GH0.tar.gz) = 42765 SHA256 (h2non-bimg-v1.1.7_GH0.tar.gz) = 845226edf322704d751095a7d7d60c86ac38f450c1d72237545299852b1c498a SIZE (h2non-bimg-v1.1.7_GH0.tar.gz) = 23702365 SHA256 (h2non-filetype-v1.1.0_GH0.tar.gz) = 6dcbe6e6b6f0a0571843ebdedb33daacde3bb6ef1196797879587a3e4cf8052b SIZE (h2non-filetype-v1.1.0_GH0.tar.gz) = 3632778 SHA256 (hashicorp-golang-lru-0a025b7e63ad_GH0.tar.gz) = aaacd79222707a796c4c2b1c974c6c206b8492ace08f44f672ac1dd2c64c178b SIZE (hashicorp-golang-lru-0a025b7e63ad_GH0.tar.gz) = 12304 SHA256 (rs-cors-7af7a1e09ba3_GH0.tar.gz) = 032d689446a8f30e563c5977518db6873a44d05ef31f41f2666d991923fca536 SIZE (rs-cors-7af7a1e09ba3_GH0.tar.gz) = 9968 SHA256 (throttled-throttled-v2.0.3_GH0.tar.gz) = fe9ec9469c0f9ef0fba16178bc5dcc5c30026e99b29ea2adceee71150d4a9e2e SIZE (throttled-throttled-v2.0.3_GH0.tar.gz) = 15514

Collapse this list.


Packages (timestamps in pop-ups are UTC):
imaginary
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest20250114_1220250114_12--20250114_12n/an/an/a
FreeBSD:13:quarterly20250114_1220250114_12--20250114_12n/an/an/a
FreeBSD:14:latest20250114_1420250114_14-20250114_2----
FreeBSD:14:quarterly20250114_1420250114_14--20250114_14---
FreeBSD:15:latest20250114_1420250114_14n/a-n/an/a--
FreeBSD:15:quarterly20250114_1420250114_14n/a-n/an/a--
FreeBSD:16:latest20250114_1420250114_14n/a-n/an/a--
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. gettext-runtime>=0.26 : devel/gettext-runtime
  2. go124 : lang/go124
  3. pkgconf>=1.3.0_1 : devel/pkgconf
Library dependencies:
  1. libvips.so : graphics/vips
  2. libintl.so : devel/gettext-runtime
  3. libglib-2.0.so : devel/glib20
  4. libintl.so : devel/gettext-runtime
There are no ports dependent upon this port

Configuration Options:
No options to configure
Options name:
www_imaginary
USES:
gettext-runtime gnome go:modules pkgconfig
pkg-message:
For install:
If you're running imaginary as a part of Nextcloud installation - configure it using: # sysrc imaginary_flags="-return-size -max-allowed-resolution 222.2" Then add this to your Nextcloud's config.php: 'enabledPreviewProviders' => [ 'OC\Preview\MP3', 'OC\Preview\TXT', 'OC\Preview\MarkDown', 'OC\Preview\OpenDocument', 'OC\Preview\Krita', 'OC\Preview\Imaginary', ], 'preview_imaginary_url' => 'http://<url of imaginary>:<port>',
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/h2non/imaginary/tar.gz/1d4e251cfcd58ea66f8361f8721d7b8cc85002a3?dummy=/
Collapse this list.

Number of commits found: 3

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
20250114_10
06 Mar 2026 03:52:43
commit hash: ef8f442a3f6b40cbf3668a21fe541ebe8c8a07c9commit hash: ef8f442a3f6b40cbf3668a21fe541ebe8c8a07c9commit hash: ef8f442a3f6b40cbf3668a21fe541ebe8c8a07c9commit hash: ef8f442a3f6b40cbf3668a21fe541ebe8c8a07c9 files touched by this commit
Adam Weinberger (adamw) search for other commits by this committer
various: Bump ports for Go 1.25.8

This is a direct commit to 2026Q1.
20250114_9
05 Feb 2026 18:02:36
commit hash: 010c6554e1ed5ef4312705d922e942eb4b0edc1dcommit hash: 010c6554e1ed5ef4312705d922e942eb4b0edc1dcommit hash: 010c6554e1ed5ef4312705d922e942eb4b0edc1dcommit hash: 010c6554e1ed5ef4312705d922e942eb4b0edc1d files touched by this commit
Adam Weinberger (adamw) search for other commits by this committer
various: Bump Go ports for 1.24.13

This is a direct commit to 2026Q1.
20250114_8
25 Jan 2026 01:35:05
commit hash: ca7bf6089bffdf18221d51adecc35589d666a2a9commit hash: ca7bf6089bffdf18221d51adecc35589d666a2a9commit hash: ca7bf6089bffdf18221d51adecc35589d666a2a9commit hash: ca7bf6089bffdf18221d51adecc35589d666a2a9 files touched by this commit
Adam Weinberger (adamw) search for other commits by this committer
various: Bump dependent ports for Go 1.24.12.

This is a direct commit to 2026Q1.

Number of commits found: 3