{"id":16506840,"url":"https://github.com/cannikin/twimage","last_synced_at":"2026-03-02T18:39:58.917Z","repository":{"id":1484438,"uuid":"1731455","full_name":"cannikin/twimage","owner":"cannikin","description":"A gem for pulling images from various Twitter image services","archived":false,"fork":false,"pushed_at":"2012-02-08T19:42:51.000Z","size":102,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-05T00:22:28.540Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"akosma/iPhoneWebServicesClient","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cannikin.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":"2011-05-11T03:49:18.000Z","updated_at":"2014-04-17T19:47:25.000Z","dependencies_parsed_at":"2022-08-16T13:25:05.851Z","dependency_job_id":null,"html_url":"https://github.com/cannikin/twimage","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cannikin/twimage","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cannikin%2Ftwimage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cannikin%2Ftwimage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cannikin%2Ftwimage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cannikin%2Ftwimage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cannikin","download_url":"https://codeload.github.com/cannikin/twimage/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cannikin%2Ftwimage/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30014883,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-02T17:00:27.440Z","status":"ssl_error","status_checked_at":"2026-03-02T17:00:03.402Z","response_time":60,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":"2024-10-11T15:22:39.183Z","updated_at":"2026-03-02T18:39:58.851Z","avatar_url":"https://github.com/cannikin.png","language":"Ruby","readme":"# Twimage\n\nTwimage provides an easy way to pull raw images from the various Twitter photo image services (twitpic, yfrog, etc.)\n\n## Usage\n\nAdd twimage to your Gemfile:\n\n    gem 'twimage'\n    \nOf without bundler:\n\n    gem install twimage\n    \nNow simply take the standard URL that is posted to Twitter and tell Twimage to go get it:\n\n    result = Twimage.get('http://instagr.am/p/EHqLG/')\n    \nTwimage will create a Ruby tempfile with the image. To get the tempfile:\n\n    result.tempfile\n    \nSave the image to your local system, upload to S3, etc. As soon as there are no more references to the\ntempfile in your code it will be unlinked (deleted). There are a couple additional instance variables\nyou have access to...try `result.inspect` to take a look.\n\nTwimage will follow any redirects that eventually get you to any of the included services. So, if you\nhave a Instagram image behind a Bitly shortened URL, just give the Bitly link to Twimage and he'll\n(she'll?) take care of the rest.\n\nEnjoy!\n\n## Support\n\nTwimage currently supports the following photo services:\n\n* twitpic - http://twitpic.com\n* yfrog - http://yfrog.com\n* instagram - http://instagr.am\n* twitter - http://twitter.com\n\n## Contributing\n\nTo add a parser, fork this repo and then send me a pull request. You should attempt to get the highest resolution\nversion of the image possible, which isn't always available at the link posted to Twitter. Check out the `SERVICES`\nconstant in `twimage.rb` for examples of `lambda`s used to modify the original `service_url` to get to the full res\nversion's URL.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcannikin%2Ftwimage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcannikin%2Ftwimage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcannikin%2Ftwimage/lists"}