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 photosAll times are UTC
Ukraine
Port details on branch 2025Q4
imaginary HTTP microservice for high-level image processing
20250114_4 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_4Version of this port present on the latest quarterly branch.
Maintainer: skozlov@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2025-11-01 15:53:31
Last Update: 2025-11-01 15:48:35
Commit Hash: ae07b4c
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_4/catalog.mk
  3. /usr/local/share/licenses/imaginary-20250114_4/LICENSE
  4. /usr/local/share/licenses/imaginary-20250114_4/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.


No package information for this port in our database
Sometimes this happens. Not all ports have packages. Perhaps there is a build error. Check the fallout link: pkg-fallout
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. gettext-runtime>=0.22_1 : 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: 1

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
20250114_4
01 Nov 2025 15:48:35
commit hash: ae07b4cd9e5d2da82d1b03dfbd103c951d7a9114commit hash: ae07b4cd9e5d2da82d1b03dfbd103c951d7a9114commit hash: ae07b4cd9e5d2da82d1b03dfbd103c951d7a9114commit hash: ae07b4cd9e5d2da82d1b03dfbd103c951d7a9114 files touched by this commit
Adam Weinberger (adamw) search for other commits by this committer
various: Bump Go ports for 1.24.9

This is a direct commit to 2025Q4. It'll definitely bring things (esp.
PORTREVISION lines) out of sync with main, but trying to MFH the
associated bump commit would bring in a massive quantity of conflicts.

Number of commits found: 1