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

Bot filter coming soon

To deter bots pegging the database CPU to 100%, a bot testing filter to be added to the website. This should not affect newsfeeds etc. Anubis seems light-weight - it is already in use within the FreeBSD Project. This notice is just a heads up in case you see something odd. This notice will be updated after Anubis is installed.

Port details
imaginary HTTP microservice for high-level image processing
20250114_1 wwwnew! 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 Package not present on quarterly.This port was created during this quarter. It will be in the next quarterly branch but not the current one.
Maintainer: skozlov@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2025-07-06 12:12:05
Last Update: 2025-07-09 16:11:00
Commit Hash: 2759752
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_1/catalog.mk
  3. /usr/local/share/licenses/imaginary-20250114_1/LICENSE
  4. /usr/local/share/licenses/imaginary-20250114_1/MIT
Collapse this list.
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:latest2025011420250114_1-2025011420250114_1---
FreeBSD:13:quarterly--------
FreeBSD:14:latest-20250114_1--20250114_1---
FreeBSD:14:quarterly--------
FreeBSD:15:latest-20250114_1n/a-n/a---
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: 3

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
20250114_1
09 Jul 2025 16:11:00
commit hash: 275975297bc1002e96f88f503cf18dea17df847ecommit hash: 275975297bc1002e96f88f503cf18dea17df847ecommit hash: 275975297bc1002e96f88f503cf18dea17df847ecommit hash: 275975297bc1002e96f88f503cf18dea17df847e files touched by this commit
Adam Weinberger (adamw) search for other commits by this committer
many: Bump PORTREVISION for go-1.24.5 update
20250114
06 Jul 2025 23:03:52
commit hash: bd4004d39eaadf5b89b20894a16c1d00ee2cee67commit hash: bd4004d39eaadf5b89b20894a16c1d00ee2cee67commit hash: bd4004d39eaadf5b89b20894a16c1d00ee2cee67commit hash: bd4004d39eaadf5b89b20894a16c1d00ee2cee67 files touched by this commit
Serhii (Sergey) Kozlov (skozlov) search for other commits by this committer
www/imaginary: fix build

- Add the new port to www/Makefile
- Explicitly depend on pkgconf, which is needed for build
20250114
06 Jul 2025 12:09:44
commit hash: fb1d08af1b3e329cb3615cd1640e437dc49b855fcommit hash: fb1d08af1b3e329cb3615cd1640e437dc49b855fcommit hash: fb1d08af1b3e329cb3615cd1640e437dc49b855fcommit hash: fb1d08af1b3e329cb3615cd1640e437dc49b855f files touched by this commit
Serhii (Sergey) Kozlov (skozlov) search for other commits by this committer
www/imaginary: new port

Used mainly as a high-performance preview generator microservice for
Nextcloud

Number of commits found: 3