{"id":20643649,"url":"https://github.com/bitzart/blazor.cookies","last_synced_at":"2025-04-16T02:05:21.366Z","repository":{"id":225489133,"uuid":"766092635","full_name":"BitzArt/Blazor.Cookies","owner":"BitzArt","description":"Working with browser cookies in Blazor United","archived":false,"fork":false,"pushed_at":"2025-03-03T16:37:04.000Z","size":157,"stargazers_count":56,"open_issues_count":0,"forks_count":11,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-16T02:05:00.046Z","etag":null,"topics":["blazor","blazor-server","blazor-webassembly","browser-cookies","cookie","cookies","csharp","dotnet","js-interop","jsruntime"],"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/BitzArt.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-03-02T10:15:25.000Z","updated_at":"2025-04-03T17:27:47.000Z","dependencies_parsed_at":"2024-10-28T12:38:16.482Z","dependency_job_id":"86846643-53ea-45cd-b7ed-db24f07a0f31","html_url":"https://github.com/BitzArt/Blazor.Cookies","commit_stats":null,"previous_names":["bitzart/blazor.cookies"],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BitzArt%2FBlazor.Cookies","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BitzArt%2FBlazor.Cookies/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BitzArt%2FBlazor.Cookies/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BitzArt%2FBlazor.Cookies/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BitzArt","download_url":"https://codeload.github.com/BitzArt/Blazor.Cookies/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249183103,"owners_count":21226141,"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":["blazor","blazor-server","blazor-webassembly","browser-cookies","cookie","cookies","csharp","dotnet","js-interop","jsruntime"],"created_at":"2024-11-16T16:13:31.009Z","updated_at":"2025-04-16T02:05:21.343Z","avatar_url":"https://github.com/BitzArt.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Tests](https://github.com/BitzArt/Blazor.Cookies/actions/workflows/Tests.yml/badge.svg)\n\n[![NuGet version](https://img.shields.io/nuget/v/BitzArt.Blazor.Cookies.svg)](https://www.nuget.org/packages/BitzArt.Blazor.Cookies/)\n[![NuGet downloads](https://img.shields.io/nuget/dt/BitzArt.Blazor.Cookies.svg)](https://www.nuget.org/packages/BitzArt.Blazor.Cookies/)\n\n## Overview\n\n**BitzArt.Blazor.Cookies** is a nuget package that simplifies working with browser cookies in Blazor applications.\n\n\u003e 🍪\n\u003e We also have an [authentication package](https://github.com/BitzArt/Blazor.Auth) for Blazor that simplifies implementing custom JWT-based authentication \u0026 authorization in your Blazor applications while using this package under the hood.\n\nYou can use cookies in your Blazor applications as a way to store user's unique information, such as preferences, settings, or session / authentication data.\n\n- Built for dotnet 8+\n- Supports all Blazor United render modes\n- Supports Blazor prerendering\n\n| Blazor Rendermode       | Support |\n|-------------------------|:-------:|\n| Static SSR              | ✔️     |\n| Interactive Server      | ✔️     |\n| Interactive WebAssembly | ✔️     |\n| Interactive Auto        | ✔️     |\n\n### Installation\n\n- Install the following package in your Blazor Server project:\n\n```\ndotnet add package BitzArt.Blazor.Cookies.Server\n```\n\n- Add this line to your Server project `program.cs`:\n\n```csharp\nbuilder.AddBlazorCookies();\n```\n\n- Install the following package in your Blazor Client project:\n\n```\ndotnet add package BitzArt.Blazor.Cookies.Client\n```\n\n- Add this line to your Client project `program.cs`:\n\n```csharp\nbuilder.AddBlazorCookies();\n```\n\n### Usage\n\n- Inject `ICookieService` in any of your Services / Blazor Components\n- Use `ICookieService` to interact with user's cookies.\n\n## License\n\n[![License](https://img.shields.io/badge/mit-%230072C6?style=for-the-badge)](https://github.com/BitzArt/Blazor.Cookies/blob/main/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitzart%2Fblazor.cookies","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbitzart%2Fblazor.cookies","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitzart%2Fblazor.cookies/lists"}