{"id":18978068,"url":"https://github.com/simplificator/rwebthumb","last_synced_at":"2025-06-25T08:07:36.069Z","repository":{"id":413578,"uuid":"32969","full_name":"simplificator/rwebthumb","owner":"simplificator","description":"Ruby wrapper for webthumb.bluga.net","archived":false,"fork":false,"pushed_at":"2012-07-27T07:30:22.000Z","size":178,"stargazers_count":46,"open_issues_count":1,"forks_count":13,"subscribers_count":21,"default_branch":"master","last_synced_at":"2025-04-19T19:37:32.212Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://simplificator.com","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/simplificator.png","metadata":{"files":{"readme":"README","changelog":"CHANGES","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":"2008-07-10T11:26:30.000Z","updated_at":"2024-12-18T03:13:18.000Z","dependencies_parsed_at":"2022-08-16T10:21:02.214Z","dependency_job_id":null,"html_url":"https://github.com/simplificator/rwebthumb","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/simplificator/rwebthumb","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simplificator%2Frwebthumb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simplificator%2Frwebthumb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simplificator%2Frwebthumb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simplificator%2Frwebthumb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simplificator","download_url":"https://codeload.github.com/simplificator/rwebthumb/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simplificator%2Frwebthumb/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261832678,"owners_count":23216497,"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","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":"2024-11-08T15:32:06.061Z","updated_at":"2025-06-25T08:07:36.035Z","avatar_url":"https://github.com/simplificator.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"== rwebthumb\n\n= what is it\nA Ruby wrapper for the webthumb API from http://webthumb.bluga.net and a generator\nfor the easythumb API\n\n= Installation\nsudo gem update --system (in case you are not yet on version 1.2.0 or higher)\nsudo gem sources -a http://gems.github.com (only once)\nsudo gem install simplificator-rwebthumb\n\n\n= Usage\n# require the libs\nrequire 'rubygems'\nrequire 'rwebthumb'\ninclude Simplificator::Webthumb\n\n# Creating a Webthumb Object. This is used as your main access point.\nwt = Webthumb.new('YOUR API KEY')\n\n# Create a new thumbnail job\njob = wt.thumbnail(:url =\u003e 'http://simplificator.com')\n\n# fetch the thumbnail. this might throw an exception from server side\n# if thumb is not ready yet\njob.fetch(:large)\n\n# you can check the status of a job\njob.check_status()\n\n# or fetch the thumbnail when it is complete\njob.fetch_when_complete(:large)\n\n# once thumbnails are fetched they are cached within the job. so a new fetch will not go to the server again\n\n# there is a helper method to write the images to disk\njob.write_file(job.fetch(:custom), '/tmp/test.jpg')\n\n# if you have a job ID then you can use this to get a Job object and then use the fetch_xyz methods\nwt.job_status(JOB_ID)\n\n# generate a Easythumb URL\net = Easythumb.new('YOUR_API_KEY', 'YOUR_USER_ID')\n# This returns an URL which you can directly use in your webpage\net.build_url(:url =\u003e 'http://simplificator.com', :size =\u003e :large, :cache =\u003e 1)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimplificator%2Frwebthumb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimplificator%2Frwebthumb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimplificator%2Frwebthumb/lists"}