{"id":14961069,"url":"https://github.com/rageagainstthepixel/com.rest.firebase.storage","last_synced_at":"2025-10-24T20:30:53.426Z","repository":{"id":48935068,"uuid":"377362901","full_name":"RageAgainstThePixel/com.rest.firebase.storage","owner":"RageAgainstThePixel","description":"A non-official Firebase RESTful Storage Client for Unity (UPM)","archived":false,"fork":false,"pushed_at":"2024-04-11T19:06:18.000Z","size":275,"stargazers_count":5,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-31T03:58:24.029Z","etag":null,"topics":["firebase","firebase-storage","openupm","unity","unity-asset","unity-scripts","unity3d","upm","upm-package","upm-publisher"],"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/RageAgainstThePixel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"StephenHodgson","patreon":"RageAgainstThePixel"}},"created_at":"2021-06-16T03:46:27.000Z","updated_at":"2024-02-12T05:40:02.000Z","dependencies_parsed_at":"2024-04-04T20:24:58.917Z","dependency_job_id":"a89a655f-8cba-47cc-ab11-df68e1355173","html_url":"https://github.com/RageAgainstThePixel/com.rest.firebase.storage","commit_stats":{"total_commits":34,"total_committers":4,"mean_commits":8.5,"dds":"0.17647058823529416","last_synced_commit":"c2f8d3463e40892b87ad1858224c85506a8656a4"},"previous_names":[],"tags_count":18,"template":false,"template_full_name":"RageAgainstThePixel/upm-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RageAgainstThePixel%2Fcom.rest.firebase.storage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RageAgainstThePixel%2Fcom.rest.firebase.storage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RageAgainstThePixel%2Fcom.rest.firebase.storage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RageAgainstThePixel%2Fcom.rest.firebase.storage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RageAgainstThePixel","download_url":"https://codeload.github.com/RageAgainstThePixel/com.rest.firebase.storage/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238030288,"owners_count":19404859,"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":["firebase","firebase-storage","openupm","unity","unity-asset","unity-scripts","unity3d","upm","upm-package","upm-publisher"],"created_at":"2024-09-24T13:23:45.599Z","updated_at":"2025-10-24T20:30:52.995Z","avatar_url":"https://github.com/RageAgainstThePixel.png","language":"C#","funding_links":["https://github.com/sponsors/StephenHodgson","https://patreon.com/RageAgainstThePixel"],"categories":[],"sub_categories":[],"readme":"# Firebase.Storage\n\n[![Discord](https://img.shields.io/discord/855294214065487932.svg?label=\u0026logo=discord\u0026logoColor=ffffff\u0026color=7389D8\u0026labelColor=6A7EC2)](https://discord.gg/xQgMW9ufN4)\n[![openupm](https://img.shields.io/npm/v/com.rest.firebase.storage?label=openupm\u0026registry_uri=https://package.openupm.com)](https://openupm.com/packages/com.rest.firebase.storage/)\n\nA non-official [Firebase](https://firebase.google.com/) RESTful Storage Client for the [Unity](https://unity.com/) Game Engine.\n\nBased on [FirebaseStorage.net](https://github.com/step-up-labs/firebase-storage-dotnet)\n\n***All copyrights, trademarks, logos, and assets are the property of their respective owners.***\n\n## Installing\n\n### Via Unity Package Manager and OpenUPM\n\n- Open your Unity project settings\n- Add the OpenUPM package registry:\n  - `Name: OpenUPM`\n  - `URL: https://package.openupm.com`\n  - `Scope(s):`\n    - `com.rest.firebase`\n    - `com.utilities`\n\n![scoped-registries](Firebase.Storage/Packages/com.rest.firebase.storage/Documentation~/images/package-manager-scopes.png)\n\n- Open the Unity Package Manager window\n- Change the Registry from Unity to `My Registries`\n- Add the `Firebase.Storage` package\n\n### Via Unity Package Manager and Git url\n\n- Open your Unity Package Manager\n- Add package from git url: `https://github.com/RageAgainstThePixel/com.rest.firebase.storage.git#upm`\n  \u003e Note: this repo has dependencies on other repositories! You are responsible for adding these on your own.\n  - [com.rest.firebase.authentication](https://github.com/RageAgainstThePixel/com.rest.firebase.authentication)\n  - [com.utilities.async](https://github.com/RageAgainstThePixel/com.utilities.async)\n\n---\n\n## Documentation\n\n```csharp\n// Create a firebase authentication client\nvar firebaseClient = new FirebaseAuthenticationClient();\n\n// Create a firebase storage client\nvar firebaseStorageClient = new FirebaseStorageClient(firebaseClient);\n\n// Sign the user in\nawait firebaseClient.SignInWithEmailAndPasswordAsync(email, password);\n\n// Get a reference to the resource using a path.\nvar resource = firebaseStorageClient.Resource(\"root/test.json\");\n\nvar json = \"{\\\"value\\\":\\\"42\\\"}\";\n\nstring downloadUrl;\n\nusing (var stream = new MemoryStream(Encoding.UTF8.GetBytes(json)))\n{\n    // Upload content to storage\n    downloadUrl = await resource.UploadAsync(stream, new Progress\u003cFirebaseStorageProgress\u003e(progress =\u003e Debug.Log(progress.Percentage)));\n}\n\n// Get content public download url (doesn't require authentication)\nvar knownUrl = await resource.GetDownloadUrlAsync();\n\nAssert.IsTrue(downloadUrl == knownUrl);\n\n// Download content\nvar httpClient = new HttpClient();\nvar response = await httpClient.GetAsync(knownUrl);\nvar responseData = await response.Content.ReadAsStringAsync();\nAssert.IsTrue(responseData == json);\n\n// Delete storage content\nawait resource.DeleteAsync();\n```\n\n## Additional Packages\n\n- [Firebase.Authentication](https://github.com/RageAgainstThePixel/com.rest.firebase.authentication)\n- [Firebase.Firestore](https://github.com/RageAgainstThePixel/com.rest.firebase.firestore)\n- [Firebase.Realtime-Database](https://github.com/RageAgainstThePixel/com.rest.firebase.realtime-database)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frageagainstthepixel%2Fcom.rest.firebase.storage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frageagainstthepixel%2Fcom.rest.firebase.storage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frageagainstthepixel%2Fcom.rest.firebase.storage/lists"}