{"id":26217456,"url":"https://github.com/mrdjohnson/lmstudiojs-sidekick","last_synced_at":"2025-03-12T12:44:47.164Z","repository":{"id":248378559,"uuid":"828524092","full_name":"mrdjohnson/lmstudiojs-sidekick","owner":"mrdjohnson","description":null,"archived":false,"fork":false,"pushed_at":"2024-07-25T13:55:58.000Z","size":24,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-07-25T15:57:39.164Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/mrdjohnson.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":"2024-07-14T12:15:32.000Z","updated_at":"2024-07-25T13:56:02.000Z","dependencies_parsed_at":"2024-07-25T15:49:29.121Z","dependency_job_id":null,"html_url":"https://github.com/mrdjohnson/lmstudiojs-sidekick","commit_stats":null,"previous_names":["mrdjohnson/lmstudiojs-sidekick"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrdjohnson%2Flmstudiojs-sidekick","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrdjohnson%2Flmstudiojs-sidekick/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrdjohnson%2Flmstudiojs-sidekick/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrdjohnson%2Flmstudiojs-sidekick/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mrdjohnson","download_url":"https://codeload.github.com/mrdjohnson/lmstudiojs-sidekick/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243222182,"owners_count":20256220,"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":[],"created_at":"2025-03-12T12:44:46.252Z","updated_at":"2025-03-12T12:44:47.153Z","avatar_url":"https://github.com/mrdjohnson.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# lmstudiojs-sidekick\r\n\r\n#### Created with LM Studio scaffold: node-typescript\r\n\r\nWelcome to your new project! This scaffold is a starting point for building an AI-enabled Node.js project with [LM Studio](https://lmstudio.ai/) SDK. To interact with LM Studio, you should start the LM Studio local server with the command:\r\n\r\n```bash\r\nlms server start\r\n```\r\n\r\n## Running the sidekick\r\n\r\n### Terminal:\r\n\r\nTo prepare your project for production, compile the TypeScript code to JavaScript using:\r\n\r\n```bash\r\nnpm run dev\r\n```\r\n\r\n ### Docker:\r\n\r\n You'll need to change `127.0.0.1` to `host.docker.internal` otherwise the client will not be able to connect (This is a replacement for localhost)\r\n ```bash\r\n docker-compose up -d\r\n ```\r\n\r\n- GET /v1/models returns open ai compatible data for ALL models, as well as if they're loaded\r\n- POST /api/load loads the requested \"model\"\r\n- POST /api/unload unloads the requested \"model\"\r\n- POST /v1/completions open ai compatible completion endpoint, includes the load progress and stats for a generation (does not work with images) \r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrdjohnson%2Flmstudiojs-sidekick","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmrdjohnson%2Flmstudiojs-sidekick","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrdjohnson%2Flmstudiojs-sidekick/lists"}