{"id":18292544,"url":"https://github.com/tinode/tinode-js","last_synced_at":"2025-04-04T09:08:05.591Z","repository":{"id":3725092,"uuid":"49085949","full_name":"tinode/tinode-js","owner":"tinode","description":"Tinode javascript bindings","archived":false,"fork":false,"pushed_at":"2025-03-02T15:08:44.000Z","size":26825,"stargazers_count":53,"open_issues_count":3,"forks_count":45,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-03-28T08:08:46.823Z","etag":null,"topics":["chat","chat-application","javascript"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tinode.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,"publiccode":null,"codemeta":null}},"created_at":"2016-01-05T18:55:16.000Z","updated_at":"2025-03-25T21:31:27.000Z","dependencies_parsed_at":"2023-07-05T18:17:31.014Z","dependency_job_id":"328d39ae-27dc-45e7-94be-78c8cf4cd308","html_url":"https://github.com/tinode/tinode-js","commit_stats":{"total_commits":839,"total_committers":9,"mean_commits":93.22222222222223,"dds":0.0715137067938022,"last_synced_commit":"244f84281f96a0f557641e78c36f27883851acc8"},"previous_names":[],"tags_count":66,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinode%2Ftinode-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinode%2Ftinode-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinode%2Ftinode-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinode%2Ftinode-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tinode","download_url":"https://codeload.github.com/tinode/tinode-js/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247149501,"owners_count":20891954,"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":["chat","chat-application","javascript"],"created_at":"2024-11-05T14:18:31.304Z","updated_at":"2025-04-04T09:08:05.564Z","avatar_url":"https://github.com/tinode.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Javascript bindings for Tinode\n\nThis SDK implements [Tinode](https://github.com/tinode/chat) client-side protocol for the browser based applications. See it in action\nat https://web.tinode.co/ and https://sandbox.tinode.co/ ([full source](https://github.com/tinode/webapp)).\n\nThis is **not** a standalone project. It can only be used in conjunction with the [Tinode server](https://github.com/tinode/chat).\n\nRegularly released NPM packages are at https://www.npmjs.com/package/tinode-sdk\n\nYou may include the latest standalone minified SDK into your html file as\n```html\n\u003cscript crossorigin=\"anonymous\"\n  src=\"https://cdn.jsdelivr.net/npm/tinode-sdk/umd/tinode.prod.js\"\u003e\n\u003c/script\u003e\n```\nor while developing as\n```html\n\u003cscript crossorigin=\"anonymous\"\n  src=\"https://cdn.jsdelivr.net/npm/tinode-sdk/umd/tinode.dev.js\"\u003e\n\u003c/script\u003e\n```\n\n## Getting support\n\n* Read [client-side](http://tinode.github.io/js-api/) and [server-side](https://github.com/tinode/chat/blob/master/docs/API.md) API documentation.\n* For support, general questions, discussions post to [https://groups.google.com/d/forum/tinode](https://groups.google.com/d/forum/tinode).\n* For bugs and feature requests [open an issue](https://github.com/tinode/tinode-js/issues/new).\n* Use https://tinode.co/contact for commercial inquiries.\n\n## Helping out\n\n* If you appreciate our work, please help spread the word! Sharing on Reddit, HN, and other communities helps more than you think.\n* Consider buying paid support: https://tinode.co/support.html\n* If you are a software developer, send us your pull requests with bug fixes and new features.\n* If you use the SDK and discover bugs or missing features, let us know by filing bug reports and feature requests. Vote for existing [feature requests](https://github.com/tinode/chat/issues?q=is%3Aissue+is%3Aopen+sort%3Areactions-%2B1-desc+label%3A%22feature+request%22) you find most valuable.\n\n## Node JS compatibility\n\nThis SDK is intended to be used in a browser. To use `tinode-sdk` in Node JS environment (such as on a server), you have to polyfill network providers, for example with [ws](https://www.npmjs.com/package/ws) and [xmlhttprequest](https://www.npmjs.com/package/xmlhttprequest) or [xhr](https://www.npmjs.com/package/xhr), as well as `indexedDB` with something like [fake-indexeddb](https://www.npmjs.com/package/fake-indexeddb):\n\n```js\n  Tinode.setNetworkProviders(require('ws'), require('xmlhttprequest'));\n  Tinode.setDatabaseProvider(require('fake-indexeddb'));\n  this.tinode = new Tinode(...);\n```\n\n`URL.createObjectURL()` and related methods were added in Node v16.7.0. The SDK is unlikely to work correctly with earlier versions of Node.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftinode%2Ftinode-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftinode%2Ftinode-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftinode%2Ftinode-js/lists"}