{"id":19222640,"url":"https://github.com/pboardman/koboldsharp","last_synced_at":"2025-07-03T11:04:01.622Z","repository":{"id":182609818,"uuid":"668807557","full_name":"pboardman/KoboldSharp","owner":"pboardman","description":"koboldcpp REST API wrapper for C#","archived":false,"fork":false,"pushed_at":"2023-07-21T20:32:15.000Z","size":9,"stargazers_count":5,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-23T20:52:19.719Z","etag":null,"topics":["ai","koboldcpp","llama","llm","text-generation"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pboardman.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2023-07-20T16:25:38.000Z","updated_at":"2025-01-16T15:15:28.000Z","dependencies_parsed_at":"2024-08-03T08:00:31.949Z","dependency_job_id":null,"html_url":"https://github.com/pboardman/KoboldSharp","commit_stats":{"total_commits":3,"total_committers":1,"mean_commits":3.0,"dds":0.0,"last_synced_commit":"2504d19afe5017a63ea34bf2749bad150bf2d37c"},"previous_names":["pboardman/koboldsharp"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pboardman/KoboldSharp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pboardman%2FKoboldSharp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pboardman%2FKoboldSharp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pboardman%2FKoboldSharp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pboardman%2FKoboldSharp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pboardman","download_url":"https://codeload.github.com/pboardman/KoboldSharp/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pboardman%2FKoboldSharp/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263314105,"owners_count":23447292,"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":["ai","koboldcpp","llama","llm","text-generation"],"created_at":"2024-11-09T15:05:03.128Z","updated_at":"2025-07-03T11:04:01.602Z","avatar_url":"https://github.com/pboardman.png","language":"C#","readme":"# KoboldSharp\n\nA C# package for interfacing with [koboldcpp](https://github.com/LostRuins/koboldcpp)'s REST API\n\n# Installation\n\n## With .NET CLI\n```\ndotnet add package KoboldSharp\n```\n\n## With Package Manager\n```\nNuGet\\Install-Package KoboldSharp\n```\n\n# Usage\n\n```csharp\nusing KoboldSharp;\n\n// Replace 127.0.0.1 with the ip/hostname of the host running Koboldcpp\nKoboldClient client = new KoboldClient(\"http://127.0.0.1:5001\");\n\nvar parameters = new GenParams(\"Hello my name is \");\n\n// multiple parameters can be adjusted, such as max length, temperature etc...\nparameters.MaxLength = 10;\n\nvar result = await client.Generate(paramaters);\n\nConsole.WriteLine(result.Results[0].Text);\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpboardman%2Fkoboldsharp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpboardman%2Fkoboldsharp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpboardman%2Fkoboldsharp/lists"}