{"id":29563611,"url":"https://github.com/pscourtney/pocketbasesharp","last_synced_at":"2025-07-18T18:36:28.857Z","repository":{"id":302815863,"uuid":"1013397942","full_name":"PSCourtney/PocketBaseSharp","owner":"PSCourtney","description":"Community-maintained C# SDK for PocketBase","archived":false,"fork":false,"pushed_at":"2025-07-08T19:30:44.000Z","size":12993,"stargazers_count":10,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-07-08T20:38:17.024Z","etag":null,"topics":["sdk-c-sharp"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PSCourtney.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,"zenodo":null}},"created_at":"2025-07-03T20:45:00.000Z","updated_at":"2025-07-08T19:30:49.000Z","dependencies_parsed_at":"2025-07-08T20:41:36.712Z","dependency_job_id":null,"html_url":"https://github.com/PSCourtney/PocketBaseSharp","commit_stats":null,"previous_names":["pscourtney/pocketbase-csharp-sdk-next","pscourtney/pocketbasesharp"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/PSCourtney/PocketBaseSharp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PSCourtney%2FPocketBaseSharp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PSCourtney%2FPocketBaseSharp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PSCourtney%2FPocketBaseSharp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PSCourtney%2FPocketBaseSharp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PSCourtney","download_url":"https://codeload.github.com/PSCourtney/PocketBaseSharp/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PSCourtney%2FPocketBaseSharp/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265810399,"owners_count":23831951,"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":["sdk-c-sharp"],"created_at":"2025-07-18T18:36:28.353Z","updated_at":"2025-07-18T18:36:28.843Z","avatar_url":"https://github.com/PSCourtney.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\u003cdiv style=\"display: flex; align-items: center; gap: 10px; flex-wrap: wrap;\"\u003e\n  \u003cimg src=\"https://i.imgur.com/ZVBiUo5.png\" alt=\"PBSharp\" width=\"150\"/\u003e\n  \u003cimg src=\"https://img.shields.io/badge/pocketbase-%23b8dbe4.svg?style=for-the-badge\u0026logo=Pocketbase\u0026logoColor=black\" alt=\"PocketBase\"/\u003e\n  \u003cimg src=\"https://img.shields.io/badge/built%20with-Blazor-purple?style=for-the-badge\u0026logo=dotnet\u0026logoColor=white\" alt=\"Blazor\"/\u003e\n  \u003cimg src=\"https://img.shields.io/badge/MudBlazor-%231e88e5.svg?style=for-the-badge\u0026logo=mudblazor\u0026logoColor=white\" alt=\"MudBlazor\"/\u003e\n\u003c/div\u003e\n\n\n## **PocketBaseSharp**\nCommunity-developed, open-source C# SDK for [PocketBase](https://pocketbase.io/) — the lightweight, real-time backend for your apps.\n\n\n\n### Features\n\n\n-  Authentication (user/admin)\n-  Real-time subscriptions\n-  Batch operations (create/update/delete) **(NEW)**\n-  File uploads/downloads\n-  Blazor \u0026 .NET 9 compatible **(NEW)**\n-  Mudblazor demo Blazor WASM app **(NEW)**\n-  Pocketbase v0.28.4 **(NEW)**\n\n\n## Acknowledgments\n\nSpecial thanks to [**PRCV1** for creating the original PocketBase C# SDK](https://github.com/PRCV1/pocketbase-csharp-sdk) and laying the groundwork for this project. His excellent work made this continuation possible. \n\nThis fork exists with his approval. \n\n## Installation\n\n**Structure:**\n\n - Example (Blazor demo site)\n - PocketBaseSharp (The SDK) \n - PocketBaseSharp.Tests\n - PocketBase (Database \u0026 windows binary)\n\n**Running the demo project:** \n - Set `example.csproj` as startup project\n - Open `\\PocketBase\\pocketbase.exe` in terminal and run the following\n   command to start the PocketBase instance: `pocketbase.exe serve`\n - Visit `http://127.0.0.1:8090/_/` to access the database directly\n\n**Pocketbase admin login:** \nEmail: `admin@admin.com`\nPW: `demo123456`\n\n**Example blazor demo login:** \nEmail: `admin@admin.com`\nPW: `demo1234`\n\n`example/wwwroot/appsettings.json` to change PocketBase instance address.\n\n**Using the SDK:**\n\n - Add PocketSharpSDK to your solution\n - Add PocketSharpSDK to your project as a reference\n - *Nuget package coming in the future*\n\n## Getting Started\nusing PocketBaseSharp;\n\nCreate a new client which connects to your PocketBase API\n\n    var client = new PocketBase(\"http://127.0.0.1:8090\");\n\nAuthenticate as an Admin\n\n    var admin = await client.Admin.AuthWithPasswordAsync(\"admin@admin.com\", \"demo123456\");\n\nOr as a User\n\n    var user = await client.User.AuthWithPasswordAsync(\"admin@admin.com\", \"demo1234\");\n\nQuery some data (for example, some ToDo items)\nNote: Each CRUD action requires a data type which inherits from the base class 'BaseModel'.\n\n    var restaurantList = await client.Collection(\"todos\").GetFullListAsync\u003ctodos\u003e();\n\n\n## Development\n\n### Requirements\n- .NET 9 \n\n\n## Contributing\n\nContributions are welcome! Please open issues or pull requests.\n\n1. Fork the repo\n2. Create your feature branch (`git checkout -b feature/YourFeature`)\n3. Commit your changes (`git commit -am 'Add new feature'`)\n4. Push to the branch (`git push origin feature/YourFeature`)\n5. Open a pull request\n\n---\n\n## License\n\n[MIT](LICENSE)\n\n---\n\nThis project is currently still under development. It is not recommended to use it in a production environment. Things can and will change. This also applies to PocketBase\n\n\n\n\u003e Built with 💘 for the PocketBase community. \n\u003e Continued development of the original PocketBase C# SDK by PRCV1 - I can't thank you enough for your work! This project is tested with BrowserStack.\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpscourtney%2Fpocketbasesharp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpscourtney%2Fpocketbasesharp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpscourtney%2Fpocketbasesharp/lists"}