{"id":18103205,"url":"https://github.com/averagemarcus/twitter-profile-pic","last_synced_at":"2025-04-06T05:43:24.287Z","repository":{"id":67322445,"uuid":"319958188","full_name":"AverageMarcus/twitter-profile-pic","owner":"AverageMarcus","description":null,"archived":false,"fork":false,"pushed_at":"2021-03-21T16:02:24.000Z","size":76,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-12T11:24:09.407Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","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/AverageMarcus.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-12-09T13:02:18.000Z","updated_at":"2021-03-21T16:02:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"3211dda9-f605-4f71-8199-073c03aef472","html_url":"https://github.com/AverageMarcus/twitter-profile-pic","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AverageMarcus%2Ftwitter-profile-pic","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AverageMarcus%2Ftwitter-profile-pic/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AverageMarcus%2Ftwitter-profile-pic/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AverageMarcus%2Ftwitter-profile-pic/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AverageMarcus","download_url":"https://codeload.github.com/AverageMarcus/twitter-profile-pic/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247441007,"owners_count":20939235,"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-10-31T22:10:58.755Z","updated_at":"2025-04-06T05:43:24.260Z","avatar_url":"https://github.com/AverageMarcus.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"![twitter-profile-pic](logo.png)\n\n\u003e Get a twitter profile pic using a given handle\n\nAvailable at https://twitter-profile-pic.cluster.fun/\n\n## Features\n\n* Multiple image size support (currently supported: `normal`, `bigger`, `mini`, `original`, `200x200`, `400x400`)\n* JSON support using `application/json` content type header\n* Returns a default profile pic for unknown users\n\n## Example: HTML\n\nCode:\n```\n\u003cimg src=\"https://twitter-profile-pic.cluster.fun/marcus_noble_?size=normal\" /\u003e\n```\nResult:\n\n![](https://twitter-profile-pic.cluster.fun/marcus_noble_?size=normal)\n\n## Example: JSON\ncURL Request:\n```\ncurl -X GET \\\n  https://twitter-profile-pic.cluster.fun/marcus_noble_ \\\n  -H 'cache-control: no-cache' \\\n  -H 'content-type: application/json' \\\n  -H 'postman-token: 680d968e-9b13-85c8-f7d5-9b48a333702f'\n```\n\nResult:\n```\n{\n    \"normal\": \"https://pbs.twimg.com/profile_images/776738772759277569/hfaM5zhA_normal.jpg\",\n    \"bigger\": \"https://pbs.twimg.com/profile_images/776738772759277569/hfaM5zhA_bigger.jpg\",\n    \"mini\": \"https://pbs.twimg.com/profile_images/776738772759277569/hfaM5zhA_mini.jpg\",\n    \"original\": \"https://pbs.twimg.com/profile_images/776738772759277569/hfaM5zhA.jpg\",\n    \"200x200\": \"https://pbs.twimg.com/profile_images/776738772759277569/hfaM5zhA_200x200.jpg\",\n    \"400x400\": \"https://pbs.twimg.com/profile_images/776738772759277569/hfaM5zhA_400x400.jpg\"\n}\n```\n\n## Requirements\n\n[Redis](https://redis.io/) is required if caching is wanted. You will also need Twitter credentials that can be created here: [https://apps.twitter.com/](https://apps.twitter.com/)\n\nEnvironment Variables:\n```\nTWITTER_CONSUMER_KEY=\nTWITTER_CONSUMER_SECRET=\nTWITTER_ACCESS_TOKEN_KEY=\nTWITTER_ACCESS_TOKEN_SECRET=\nREDIS_URL=\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faveragemarcus%2Ftwitter-profile-pic","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faveragemarcus%2Ftwitter-profile-pic","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faveragemarcus%2Ftwitter-profile-pic/lists"}