Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gravityblast/matrioska
A thumbnails generator server written in Go.
https://github.com/gravityblast/matrioska
Last synced: about 10 hours ago
JSON representation
A thumbnails generator server written in Go.
- Host: GitHub
- URL: https://github.com/gravityblast/matrioska
- Owner: gravityblast
- License: mit
- Created: 2014-02-04T17:08:46.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2014-11-22T23:22:09.000Z (almost 10 years ago)
- Last Synced: 2023-07-11T21:14:41.879Z (over 1 year ago)
- Language: Go
- Homepage:
- Size: 184 KB
- Stars: 6
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Matrioska
A thumbnails generator server.
## Installation
go get github.com/pilu/matrioska
## Usage
PUBLIC_PATH=/path/to/images matrioska
If you have an image like:
http://localhost:7000/foo.png
You can request a thumbnail with:
http://localhost:7000/foo-300x250.png
### Geometry format
* WIDTHxHEIGHT
* WIDTHx
* xHEIGHT### Options
Options are taken from env variables.
Defaults are:* PUBLIC_PATH (./public)
* GEOMETRIES ("\*")
* PORT (7000)
* HOST (127.0.0.1)### Restricting valid geometries
GEOMETRIES="200x300, 500x, x200" matrioska
## Author
Andrea Franz (http://gravityblast.com)