{"id":22800915,"url":"https://github.com/ximaz/kook-js","last_synced_at":"2025-07-15T05:45:08.790Z","repository":{"id":241630879,"uuid":"806462024","full_name":"Ximaz/kook-js","owner":"Ximaz","description":"A Javascript SDK to program bots and webhooks for the Kook (kaiheila) application","archived":false,"fork":false,"pushed_at":"2024-06-03T23:25:21.000Z","size":133,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-28T10:43:00.677Z","etag":null,"topics":["kaiheila","kaiheila-api","kaiheila-bot","kook","kook-api","kook-bot","kookapp","kookapp-bot","sdk","sdk-javascript"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/Ximaz.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,"zenodo":null}},"created_at":"2024-05-27T08:44:30.000Z","updated_at":"2024-06-03T23:25:24.000Z","dependencies_parsed_at":"2025-06-08T01:03:23.378Z","dependency_job_id":null,"html_url":"https://github.com/Ximaz/kook-js","commit_stats":null,"previous_names":["ximaz/kook-js"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Ximaz/kook-js","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ximaz%2Fkook-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ximaz%2Fkook-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ximaz%2Fkook-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ximaz%2Fkook-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ximaz","download_url":"https://codeload.github.com/Ximaz/kook-js/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ximaz%2Fkook-js/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265411668,"owners_count":23760650,"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":["kaiheila","kaiheila-api","kaiheila-bot","kook","kook-api","kook-bot","kookapp","kookapp-bot","sdk","sdk-javascript"],"created_at":"2024-12-12T08:08:25.556Z","updated_at":"2025-07-15T05:45:08.611Z","avatar_url":"https://github.com/Ximaz.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Kook JS\n\nA Javascript SDK to program bots and webhooks for the Kook (kaiheila) application.\n\n# Example :\n\n```js\nimport { KookClient } from \"./src/index.js\";\n\nconst KOOK_WEBSOCKET_TOKEN = process.env.KOOK_WEBSOCKET_TOKEN;\nconst client = new KookClient(KOOK_WEBSOCKET_TOKEN);\n\nclient.once(\"ready\", function () {\n    console.log(\"Bot is ready\");\n});\n\nclient.on(\"message\", function(message) {\n    console.log(message.content);\n});\n\nclient.login().catch(function (err) {\n    console.error(err);\n});\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fximaz%2Fkook-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fximaz%2Fkook-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fximaz%2Fkook-js/lists"}