{"id":20826141,"url":"https://github.com/gorse-io/gorse-js","last_synced_at":"2026-03-05T07:32:03.434Z","repository":{"id":54243294,"uuid":"499970163","full_name":"gorse-io/gorse-js","owner":"gorse-io","description":"TypeScript SDK for gorse recommender system","archived":false,"fork":false,"pushed_at":"2025-11-24T13:46:03.000Z","size":45226,"stargazers_count":11,"open_issues_count":5,"forks_count":11,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-28T02:47:39.048Z","etag":null,"topics":["gorse","nodejs","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/gorse-io.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-06-05T01:03:15.000Z","updated_at":"2025-11-24T13:44:18.000Z","dependencies_parsed_at":"2023-12-17T04:53:47.280Z","dependency_job_id":"2456222a-05d0-40e5-bca4-514fc63ba8fc","html_url":"https://github.com/gorse-io/gorse-js","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/gorse-io/gorse-js","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gorse-io%2Fgorse-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gorse-io%2Fgorse-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gorse-io%2Fgorse-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gorse-io%2Fgorse-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gorse-io","download_url":"https://codeload.github.com/gorse-io/gorse-js/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gorse-io%2Fgorse-js/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30114184,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-05T03:40:26.266Z","status":"ssl_error","status_checked_at":"2026-03-05T03:39:15.902Z","response_time":93,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["gorse","nodejs","typescript"],"created_at":"2024-11-17T23:08:09.783Z","updated_at":"2026-03-05T07:32:03.408Z","avatar_url":"https://github.com/gorse-io.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gorse.js\n\nTypeScript SDK for Gorse recommender system.\n\n[![CI](https://github.com/gorse-io/gorse-js/actions/workflows/ci.yml/badge.svg)](https://github.com/gorse-io/gorse-js/actions/workflows/ci.yml)\n[![](https://img.shields.io/npm/v/gorsejs)](https://www.npmjs.com/package/gorsejs)\n[![npm](https://img.shields.io/npm/dm/gorsejs)](https://www.npmjs.com/package/gorsejs)\n\n## Install\n\n- Install with npm:\n\n```bash\nnpm install gorsejs\n```\n- Install with yarn:\n\n```bash\nyarn add gorsejs\n```\n\n## Usage\n\nCreate a client by the entrypoint and api key.\n\n```js\nimport { Gorse } from \"gorsejs\";\n\nconst client = new Gorse({ endpoint: \"http://127.0.0.1:8087\", secret: \"api_key\" });\n\nawait client.insertFeedbacks([\n    { FeedbackType: 'star', UserId: 'bob', ItemId: 'vuejs:vue', Timestamp: '2022-02-24' },\n    { FeedbackType: 'star', UserId: 'bob', ItemId: 'd3:d3', Timestamp: '2022-02-25' },\n    { FeedbackType: 'star', UserId: 'bob', ItemId: 'dogfalo:materialize', Timestamp: '2022-02-26' },\n    { FeedbackType: 'star', UserId: 'bob', ItemId: 'mozilla:pdf.js', Timestamp: '2022-02-27' },\n    { FeedbackType: 'star', UserId: 'bob', ItemId: 'moment:moment', Timestamp: '2022-02-28' }\n]);\n\nawait client.getRecommend({ userId: 'bob', cursorOptions: { n: 10 } });\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgorse-io%2Fgorse-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgorse-io%2Fgorse-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgorse-io%2Fgorse-js/lists"}