{"id":32303947,"url":"https://github.com/leftyio/talkjs","last_synced_at":"2026-02-22T18:03:12.037Z","repository":{"id":56841067,"uuid":"120431249","full_name":"leftyio/talkjs","owner":"leftyio","description":null,"archived":false,"fork":false,"pushed_at":"2021-12-28T13:33:06.000Z","size":35,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2026-02-19T08:10:45.588Z","etag":null,"topics":["browser","dart","javascript-interop"],"latest_commit_sha":null,"homepage":null,"language":"Dart","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/leftyio.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-02-06T09:25:05.000Z","updated_at":"2023-12-04T06:30:30.000Z","dependencies_parsed_at":"2022-08-29T06:50:33.735Z","dependency_job_id":null,"html_url":"https://github.com/leftyio/talkjs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/leftyio/talkjs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leftyio%2Ftalkjs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leftyio%2Ftalkjs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leftyio%2Ftalkjs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leftyio%2Ftalkjs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leftyio","download_url":"https://codeload.github.com/leftyio/talkjs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leftyio%2Ftalkjs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29721056,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-22T15:10:41.462Z","status":"ssl_error","status_checked_at":"2026-02-22T15:10:04.636Z","response_time":110,"last_error":"SSL_read: 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":["browser","dart","javascript-interop"],"created_at":"2025-10-23T06:13:51.133Z","updated_at":"2026-02-22T18:03:12.026Z","avatar_url":"https://github.com/leftyio.png","language":"Dart","readme":"# TalkJs\n\nJavascript interop for [TalkJs](https://talkjs.com)\n\nSee TalkJs [documentations](https://talkjs.com/docs/Getting_Started/index.html) documentations more infos\n\n## Example\n\n```dart\nimport 'dart:html';\n\nimport 'package:talkjs/talkjs.dart';\n\nFuture\u003cvoid\u003e main() async {\n  addTalkJsScript();\n  await TalkJs.ready;\n  createInbox();\n}\n\nvoid createInbox() {\n  final me = User(\n    UserOptions()\n      ..id = '12345'\n      ..name = 'George Looney'\n      ..email = 'george@looney.net'\n      ..photoUrl = 'https://talkjs.com/docs/img/george.jpg'\n      ..welcomeMessage = 'Hey there! How are you? :-)',\n  );\n\n  final talkSession = Session(\n    SessionOptions()\n      ..appId = '\u003cAPP_ID\u003e'\n      ..me = me,\n  );\n\n  final other = User(\n    UserOptions()\n      ..id = '54321'\n      ..name = 'Ronald Raygun'\n      ..email = 'ronald@teflon.com'\n      ..photoUrl = 'https://talkjs.com/docs/img/ronald.jpg'\n      ..welcomeMessage = 'Hey there! Love to chat :-)',\n  );\n\n  final conversationId = TalkJs.oneOnOneId(me, other);\n  final conversation = talkSession.getOrCreateConversation(conversationId);\n  conversation.setParticipant(me);\n  conversation.setParticipant(other);\n\n  final inbox = TalkJsInbox(\n    talkSession.createInbox(\n      InboxOptions()..selected = conversation,\n    ),\n  );\n\n  final el = document.getElementById('talkjs-container');\n  if (el == null) return;\n\n  inbox.mount(el);\n}\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleftyio%2Ftalkjs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleftyio%2Ftalkjs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleftyio%2Ftalkjs/lists"}