{"id":25605989,"url":"https://github.com/jexp/deepseek-r1-hypermode","last_synced_at":"2026-02-18T11:35:51.654Z","repository":{"id":274556271,"uuid":"923301534","full_name":"jexp/deepseek-r1-hypermode","owner":"jexp","description":"Deepseek API / UI on top of HyperMode","archived":false,"fork":false,"pushed_at":"2025-01-28T01:58:53.000Z","size":26,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-13T10:49:10.713Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jexp.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}},"created_at":"2025-01-28T01:25:42.000Z","updated_at":"2025-01-28T02:23:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"157aa659-e3f1-443a-b416-3e084b1297de","html_url":"https://github.com/jexp/deepseek-r1-hypermode","commit_stats":null,"previous_names":["jexp/deepseek-r1-hypermode"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jexp/deepseek-r1-hypermode","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jexp%2Fdeepseek-r1-hypermode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jexp%2Fdeepseek-r1-hypermode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jexp%2Fdeepseek-r1-hypermode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jexp%2Fdeepseek-r1-hypermode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jexp","download_url":"https://codeload.github.com/jexp/deepseek-r1-hypermode/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jexp%2Fdeepseek-r1-hypermode/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29578018,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-18T08:38:15.585Z","status":"ssl_error","status_checked_at":"2026-02-18T08:38:14.917Z","response_time":162,"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":[],"created_at":"2025-02-21T18:26:40.744Z","updated_at":"2026-02-18T11:35:46.646Z","avatar_url":"https://github.com/jexp.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DeepSeek R1 On HyperMode\n\nDeploy a GraphQL API to use the hosted DeepSeek R1 on HyperMode.\n\n- [x] Make it work locally\n- [x] Deploy to HyperMode\n- [ ] Integrate with Neo4j / GraphRAG as a tool\n- [ ] Add the interactive deepseek model\n- [ ] Add a small UI with [needle starterkit chatbot]([url](https://neo4j.com/labs/neo4j-needle-starterkit/2.0/Components/Chatbot/))\n\nI followed the instructions here: https://docs.hypermode.com/modus/deepseek-model\n\nYou can also watch the video by @johnymontana: https://www.youtube.com/watch?v=ICRwZ8ywR9Q\n\n## Local deployment\n\n### Initialize the Repo \u0026 App\n\n#### Install modus\n\n```\nnvm use 22\nnpm install -g @hypermode/modus-cli\n```\n\n#### Run modus new\n\n```\nmodus new \n```\n\n\u003cdetails\u003e\n  \u003csummary\u003eModus New Flow\u003c/summary\u003e\n  \n```\n▗▖  ▗▖ ▗▄▖ ▗▄▄▄ ▗▖ ▗▖ ▗▄▄▖\n▐▛▚▞▜▌▐▌ ▐▌▐▌  █▐▌ ▐▌▐▌   \n▐▌  ▐▌▐▌ ▐▌▐▌  █▐▌ ▐▌ ▝▀▚▖\n▐▌  ▐▌▝▚▄▞▘▐▙▄▄▀▝▚▄▞▘▗▄▄▞▘\n\nModus CLI v0.13.8\n\nCreate a new Modus app\n\n✔ Select a SDK AssemblyScript\n✔ Pick a name for your app: deepseek-r1\n✔ Initialize a git repository? yes\n✔ Continue? yes\n\n✔ You have v0.13.4 of the Modus AssemblyScript SDK.\n  The latest is v0.17.0. Would you like to update? yes\n✔ Installed Modus AssemblyScript SDK v0.17.0\n✔ Installed Modus Runtime v0.17.1\n\nInstallation successful!\n\nUsing Modus AssemblyScript SDK v0.17.0\n\nSuccessfully created a Modus AssemblyScript app!\n\nTo start, run the following command:\n$ cd deepseek-r1 \u0026\u0026 modus dev\n```\n\u003c/details\u003e\n\n#### Add the DeepSeek model to modus.json\n\n```json\n  \"models\": {\n    \"deepseek-reasoner\": {\n      \"sourceModel\": \"deepseek-ai/DeepSeek-R1-Distill-Llama-8B\",\n      \"provider\": \"hugging-face\",\n      \"connection\": \"hypermode\"\n    }\n  },\n```\n\n#### Add Function generateText to index.ts\n  \n```js\nimport { models } from \"@hypermode/modus-sdk-as\"\nimport { OpenAIChatModel,SystemMessage, UserMessage, } from \"@hypermode/modus-sdk-as/models/openai/chat\"\n\nexport function generateText(prompt: string): string {\n  const model = models.getModel\u003cOpenAIChatModel\u003e(\"deepseek-reasoner\")\n  const input = model.createInput([new UserMessage(prompt)])\n  input.temperature = 0.6\n\n  const output = model.invoke(input)\n  return output.choices[0].message.content.trim()\n}\n```\n\n### Run the App\n\n```\nmodus dev\n\n▗▖  ▗▖ ▗▄▖ ▗▄▄▄ ▗▖ ▗▖ ▗▄▄▖\n▐▛▚▞▜▌▐▌ ▐▌▐▌  █▐▌ ▐▌▐▌   \n▐▌  ▐▌▐▌ ▐▌▐▌  █▐▌ ▐▌ ▝▀▚▖\n▐▌  ▐▌▝▚▄▞▘▐▙▄▄▀▝▚▄▞▘▗▄▄▞▘\n\nModus CLI v0.13.8\nBuild succeeded! 🎉\n\nMetadata:\n  Plugin Name:     deepseek-r1\n  Modus SDK:       modus-sdk-as@0.17.0\n  Build ID:        cuc2u8hvclvogv4s6gq0\n  Build Timestamp: 2025-01-28T01:13:06.336Z\n  Git Commit:      b74cf6d78842d9fc1d9ab881b18b35d4f0740c6a\n\nFunctions:\n  generateText(prompt: string): string\n\n02:13:09.746 INF Starting Modus Runtime. environment=dev version=b74cf6d\n02:13:09.750 INF Using local app directory. path=/Users/mh/d/llm/modus/deepseek/deepseek-r1/build\n02:13:09.816 INF Loading manifest file. filename=modus.json\n02:13:09.816 INF Env files changed. Updating environment variables.\n02:13:09.817 INF Registered GraphQL endpoint. url=http://localhost:8686/graphql\n```\n\n![](https://github.com/user-attachments/assets/53e1f951-a692-4c78-9c16-fccf1348bb12)\n\n## Deploy to HyperMode\n\n```\nnpm i -g @hypermode/hyp-cli\nhyp login\nhyp link\ngit add .\ngit commit -m\"add hypermode integration\"\n```\n\n![](https://github.com/user-attachments/assets/8c86e5e8-4bdf-49c8-a8f3-2efc5d9c8f3c)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjexp%2Fdeepseek-r1-hypermode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjexp%2Fdeepseek-r1-hypermode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjexp%2Fdeepseek-r1-hypermode/lists"}