Categorygithub.com/imconfly/imconfly_go
modulepackage
0.0.0-20240604132412-6e609ba0fff3
Repository: https://github.com/imconfly/imconfly_go.git
Documentation: pkg.go.dev

# README

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

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author