{"id":13632749,"url":"https://github.com/capaj/react-tweet-embed","last_synced_at":"2025-04-05T02:12:18.865Z","repository":{"id":38961862,"uuid":"50862389","full_name":"capaj/react-tweet-embed","owner":"capaj","description":"react component which takes a tweet id in props and you'll get a tweet embed rendered once the twitter clientside API loads, nothing more","archived":false,"fork":false,"pushed_at":"2023-03-28T05:59:46.000Z","size":1713,"stargazers_count":165,"open_issues_count":9,"forks_count":30,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-27T10:06:48.992Z","etag":null,"topics":["hacktoberfest","react","reactjs","twitter"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/capaj.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2016-02-01T18:50:44.000Z","updated_at":"2024-12-23T07:07:09.000Z","dependencies_parsed_at":"2024-04-16T11:05:38.008Z","dependency_job_id":null,"html_url":"https://github.com/capaj/react-tweet-embed","commit_stats":{"total_commits":53,"total_committers":12,"mean_commits":4.416666666666667,"dds":"0.37735849056603776","last_synced_commit":"469c282f12af67eef96a97ddc21fcb2c2f6deda7"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/capaj%2Freact-tweet-embed","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/capaj%2Freact-tweet-embed/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/capaj%2Freact-tweet-embed/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/capaj%2Freact-tweet-embed/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/capaj","download_url":"https://codeload.github.com/capaj/react-tweet-embed/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246989500,"owners_count":20865306,"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":["hacktoberfest","react","reactjs","twitter"],"created_at":"2024-08-01T22:03:14.116Z","updated_at":"2025-04-05T02:12:18.839Z","avatar_url":"https://github.com/capaj.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"# react-tweet-embed\n\n## Install\n\n```\nnpm i react-tweet-embed\n```\n\n## Quickstart [![Edit react-tweet-embed](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/74rn3r9k0?fontsize=14)\n\n```tsx\nimport React from 'react'\nimport TweetEmbed from 'react-tweet-embed'\n\nexport const App = () =\u003e {\n  return \u003cTweetEmbed tweetId=\"692527862369357824\" /\u003e\n}\n```\n\nYou don't have to put `//platform.twitter.com/widgets.js` script in your index.html as this lib will put it there if `twttr` is not found on `window`.\n\n## Props\n\n### `placeholder`\n\nText to be shown while the tweet is loading:\n```html\n\u003cTweetEmbed id='1186523464712146944' placeholder='Sending this tweet through space via Starlink satellite 🛰'/\u003e\n```\n\n### `options`\n\nKey-value pairs from the [embedded tweet parameter reference](https://developer.twitter.com/en/docs/twitter-for-websites/embedded-tweets/guides/embedded-tweet-parameter-reference):\n\n```html\n\u003cTweetEmbed id='783943172057694208' options={{cards: 'hidden' }}/\u003e\n\u003cTweetEmbed id='771763270273294336' options={{theme: 'dark' }}/\u003e\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcapaj%2Freact-tweet-embed","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcapaj%2Freact-tweet-embed","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcapaj%2Freact-tweet-embed/lists"}