4.0.0 • Published 3 years ago

flamingo v4.0.0

Weekly downloads
3
License
MIT
Repository
github
Last release
3 years ago

Flamingo - Image processing server

npm version MIT licensed

Flamingo is a simple, hapi based, HTTP server that allows you to convert media files to images. Internally it uses sharp, gm and ffmpeg to convert image and video files.

Documentation

Flamingo uses jsdoc docs and tutorials for detailed usage information.

Requirements

Architecture

Flamingo provides a server and route class. In addition to that, there are a couple mixins that make it easy to add image conversion to routes. The default image conversion route is a route created by mixing ImageStream, ProfileOperation and Convert with the route class.

This allows for easy composition and creation of new functionality by overriding route hooks. See Tutorial: Basic usage and other documented tutorials on how to write your own, or modify existing routes. All custom image conversion routes should mix in Convert because it exposes enough hooks for most use-cases (If your use-case isn't implementable, open an issue).

Data is passed through the route in FlamingoOperation instances which hold request related metadata. Image data is transformed using node streams. This means flamingo can convert anything as long as it's available/transformable as image stream (i.e. a markdown string can be transformed to a html page which in turn allows the creation of a screenshot which can be streamed into flamingo).

Contributing

4.0.0

3 years ago

3.1.1

3 years ago

3.1.0

4 years ago

3.0.5

4 years ago

3.0.4

4 years ago

3.0.3

4 years ago

3.0.2

4 years ago

3.0.1

4 years ago

3.0.0

4 years ago

2.1.11

5 years ago

2.1.10

5 years ago

2.1.9

5 years ago

2.1.8

5 years ago

2.1.7

5 years ago

2.1.6

6 years ago

2.1.5

6 years ago

2.1.4

6 years ago

2.1.3

6 years ago

2.1.3-alpha.1

7 years ago

2.1.2

7 years ago

2.1.1

7 years ago

2.1.0

7 years ago

2.0.2

7 years ago

2.0.1

8 years ago

2.0.0

8 years ago

2.0.0-alpha.17

8 years ago

2.0.0-alpha.15

8 years ago

2.0.0-alpha.10

8 years ago

2.0.0-alpha.4

8 years ago

2.0.0-alpha.3

8 years ago

1.6.0

8 years ago

1.5.0

8 years ago

1.5.0-rc.1

8 years ago

1.4.0

8 years ago

1.3.0

8 years ago

1.2.0

8 years ago

1.0.0

9 years ago

1.0.0-rc.7

9 years ago

1.0.0-rc.6

9 years ago

1.0.0-rc.3

9 years ago

1.0.0-rc.1

9 years ago

0.13.2

9 years ago

0.13.1

9 years ago

0.13.0

9 years ago