# thumbs **Repository Path**: mirrors_fogleman/thumbs ## Basic Information - **Project Name**: thumbs - **Description**: Go binary that watches a folder for images and generates thumbnails of them. - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-11-23 - **Last Updated**: 2026-07-05 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Thumbs Go binary that watches a folder for images and generates thumbnails of them. ### Install $ go get github.com/fogleman/thumbs ### Run The app will run forever, watching the `src` folder for images. $ thumbs You should probably use something like [supervisor](http://supervisord.org/) to launch and monitor the `thumbs` process. Want to generate thumbnails for images that already exist? Just do this while `thumbs` is running: $ touch *.jpg *.png ### Arguments $ thumbs -src IMAGE_FOLDER -dst THUMB_FOLDER -w MAX_WIDTH -h MAX_HEIGHT -q JPG_QUALITY All arguments are optional. See the defaults below. | Flag | Default | Description | | --- | --- | --- | | -src | `.` | directory to watch for images | | -dst | `thumbs` | directory to place thumbnails | | -w | 1024 | max thumbnail width | | -h | 1024 | max thumbnail height | | -q | 95 | thumbnail jpeg quality |