Skip to content

Web server for full-custom images conversion on-the-fly. Fast cache, low resources consumption. Production/high-load-ready version. Written in Go.

License

Notifications You must be signed in to change notification settings

imconfly/imconfly-go

Repository files navigation

imconfly-go

Web server for full-custom images conversion on-the-fly. Fast cache, low resources consumption. Production/high-load-ready version. Written in Go.

Status

Mostly works, but tools and docs needed.

Configuration

Environment variables

Deployment-specific configuration (ENV vars):

  • IF_TRANSFORMS_CONCURRENCY - count of parallel transforms processes. Numeric, default: CPU cores count (runtime.NumCPU()).
  • IF_RELATIVE_PATHS_FROM - relatives paths start directory. Default process work dir.
  • IF_CONFIG_FILE - path to config YAML file.

YAML file

Project-specific configuration.

YAML file like this:

containers:
  wikimedia:
    # https://upload.wikimedia.org/wikipedia/commons/4/41/Inter-Con_Kabul.jpg
    origin:
      source: https://upload.wikimedia.org/wikipedia/commons
      access: true
    transforms:
      dummy: 'cp "{source}" "{target}"'

See also

https://github.com/imconfly/imconfly

License

MIT

About

Web server for full-custom images conversion on-the-fly. Fast cache, low resources consumption. Production/high-load-ready version. Written in Go.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published