{"id":27245267,"url":"https://github.com/davidcornu/thumbnailer","last_synced_at":"2025-10-08T13:42:42.058Z","repository":{"id":2368367,"uuid":"3332632","full_name":"davidcornu/Thumbnailer","owner":"davidcornu","description":"Generate a thumbnail of an image on the fly while you defer processing.","archived":false,"fork":false,"pushed_at":"2012-02-02T07:18:01.000Z","size":2252,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-10T21:11:04.883Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/davidcornu.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-02-02T06:54:01.000Z","updated_at":"2014-03-13T00:53:45.000Z","dependencies_parsed_at":"2022-08-25T07:34:00.101Z","dependency_job_id":null,"html_url":"https://github.com/davidcornu/Thumbnailer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/davidcornu/Thumbnailer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidcornu%2FThumbnailer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidcornu%2FThumbnailer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidcornu%2FThumbnailer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidcornu%2FThumbnailer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/davidcornu","download_url":"https://codeload.github.com/davidcornu/Thumbnailer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidcornu%2FThumbnailer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272766533,"owners_count":24989404,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-29T02:00:10.610Z","response_time":87,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-04-10T21:10:48.478Z","updated_at":"2025-10-08T13:42:37.006Z","avatar_url":"https://github.com/davidcornu.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Thumbnailer\n\n## Description\n\nAfter messing around with [CarrierWave](https://github.com/jnicklas/carrierwave) using [Rackspace CloudFiles](http://www.rackspace.com/cloud/cloud_hosting_products/files/) for storage, I toyed around with the idea of deferring image processing and transfer to speed things up for the user using something like [carrierwave_backgrounder](https://github.com/lardawge/carrierwave_backgrounder). \n\nHowever, this solution would prevent users from seeing any thumbnails once their are done uploading, which is where something like this could help, serving a thumbnail or two to the user while processing and uploading takes place.\n\nInspired by\n\n- https://github.com/xxx/fakeimage\n- http://placehold.it\n- http://dummyimage.com\n\n## Requirements\n\nThumbnailer handles routing with [Sinatra](https://github.com/sinatra/sinatra), IO operations with [kgio](http://bogomips.org/kgio/) and image processing with [GraphicsMagick](http://www.graphicsmagick.org/).\n\n## Installation\n\n```\n  # Mac OS X\n  brew install graphicsmagick\n  \n  # Debian/Ubuntu\n  apt-get install graphicsmagick\n  \n  # Setup\n  git clone git@github.com:dcornu/Thumbnailer.git\n  cd Thumbnailer\n  gem install bundler\n  bundle install\n  bundle exec ruby app.rb\n```\n\nPlace any images you would like to serve in /images.\n\nYou can now access them from `http://localhost:4567/image.jpg`.\n\nYou can specify the size you would like by passing `width` and `height` as params: `http://localhost:4567/image.jpg?width=200\u0026height=200`.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidcornu%2Fthumbnailer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavidcornu%2Fthumbnailer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidcornu%2Fthumbnailer/lists"}