{"id":13808950,"url":"https://github.com/mustafaer/angular-twitter-timeline","last_synced_at":"2025-04-25T10:26:20.284Z","repository":{"id":62355025,"uuid":"499566172","full_name":"mustafaer/angular-twitter-timeline","owner":"mustafaer","description":"Angular Public Twitter Timeline Widget","archived":false,"fork":false,"pushed_at":"2025-02-21T02:48:48.000Z","size":2884,"stargazers_count":3,"open_issues_count":2,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-20T16:24:57.834Z","etag":null,"topics":["angular","angular13","angular2","timeline","twitter","typescript","widget"],"latest_commit_sha":null,"homepage":"https://angular-twitter-timeline.stackblitz.io/","language":"TypeScript","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/mustafaer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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,"publiccode":null,"codemeta":null},"funding":{"patreon":"mustafaer"}},"created_at":"2022-06-03T15:45:35.000Z","updated_at":"2025-01-18T18:37:38.000Z","dependencies_parsed_at":"2024-06-19T03:03:13.193Z","dependency_job_id":"2c212827-2fc7-4429-9c09-ba3bd3c56dcf","html_url":"https://github.com/mustafaer/angular-twitter-timeline","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mustafaer%2Fangular-twitter-timeline","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mustafaer%2Fangular-twitter-timeline/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mustafaer%2Fangular-twitter-timeline/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mustafaer%2Fangular-twitter-timeline/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mustafaer","download_url":"https://codeload.github.com/mustafaer/angular-twitter-timeline/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250285695,"owners_count":21405297,"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":["angular","angular13","angular2","timeline","twitter","typescript","widget"],"created_at":"2024-08-04T01:01:55.808Z","updated_at":"2025-04-25T10:26:20.272Z","avatar_url":"https://github.com/mustafaer.png","language":"TypeScript","readme":"# Angular Twitter Timeline\n\nEmbed Twitter Timeline in Angular application.\n\nSupported version:\n\n```\nAngular 19\n```\n\n## Demo\n\n[Demo](https://angular-twitter-timeline.stackblitz.io)\n\n## Editor\n\n[Editor](https://stackblitz.com/edit/angular-twitter-timeline?file=src/app/app.component.ts)\n\n## Installation\n\nTo install this library, run:\n\n```bash\n$ npm i angular-twitter-timeline\n```\n\n## Usage\n\nImport in your Angular app:\n\n```typescript\n// Import angular-twitter-timeline\nimport { AngularTwitterTimelineModule } from \"angular-twitter-timeline\";\n\n@NgModule({\n  ...\n  imports: [\n    ...,\n    AngularTwitterTimelineModule\n  ],\n    ...\n})\nexport class AppModule { }\n```\n\nOnce the library is imported, you can use its component in your Angular application:\n\n```xml\n\u003c!-- You can now use the library component in app.component.html --\u003e\n\u003cangular-twitter-timeline\n\t[data]=\"{sourceType: 'profile', url: 'mustafaer_dev'}\"\n\t[opts]=\"{tweetLimit: 5}\"\n\u003e\u003c/angular-twitter-timeline\u003e\n```\n\n## Data\n\nData can take value of `url` or `profile`.\nIf `url` is set, you have to provide a valid Twitter URL;\nIf `profile` is set, you have to set `screenName` as a valid Twitter screen name. E.g. `@mustafaer_dev`.\n\n`url` and `screenName` are mutually exclusive.\n\n```ts\nAngularTwitterTimelineDataInterface {\n  /**\n   * profile or URL\n   */\n  sourceType: string;\n  /**\n   * Valid Twitter username\n   */\n  screenName?: string;\n  /**\n   * Absolute URL of a Twitter profile, likes, list, or collection\n   */\n  url: string;\n}\n```\n\n## Options\n\n```ts\nAngularTwitterTimelineOptionsInterface {\n  /**\n   * Render a timeline statically, displaying only n number of Tweets.\n   */\n  tweetLimit?: number;\n  /**\n   * Set a fixed height of the embedded widget\n   * Positive integer\n   */\n  height?: number;\n  /**\n   * Adjust the color of borders inside the widget.\n   * Hexadecimal color\n   */\n  borderColor?: string;\n  /**\n   * Sets the theme of the widget. Default = 'light'.\n   * 'light' or 'dark'\n   */\n  theme?: string;\n  /**\n   * Toggle the display of design elements in the widget. This parameter is a space-separated list of values\n   * Values: noheader, nofooter, noborders, transparent, noscrollbar\n   */\n  chrome?: string[];\n  /**\n   * Apply the specified aria-polite behavior to the rendered timeline.\n   * New Tweets may be added to the top of a timeline, affecting screen readers\n   * Values: polite, assertive, rude\n   */\n  ariaPolite?: string[];\n}\n```\n","funding_links":["https://patreon.com/mustafaer"],"categories":["Framework Interoperability"],"sub_categories":["External Integration"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmustafaer%2Fangular-twitter-timeline","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmustafaer%2Fangular-twitter-timeline","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmustafaer%2Fangular-twitter-timeline/lists"}