{"id":30103503,"url":"https://github.com/fellmonkey/playground-appwrite-unity","last_synced_at":"2026-05-18T09:06:06.105Z","repository":{"id":309092763,"uuid":"1035129476","full_name":"Fellmonkey/playground-appwrite-unity","owner":"Fellmonkey","description":"Simple examples that help you get started with Appwrite + Unity(=❤️)","archived":false,"fork":false,"pushed_at":"2026-02-07T08:59:25.000Z","size":54073,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-02-07T18:15:47.855Z","etag":null,"topics":["appwrite","demo","playground","unity","webgl"],"latest_commit_sha":null,"homepage":"https://fellmonkey.github.io/playground-appwrite-unity/","language":"ShaderLab","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/Fellmonkey.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-08-09T18:04:29.000Z","updated_at":"2026-01-17T19:32:34.000Z","dependencies_parsed_at":"2025-08-09T20:48:07.045Z","dependency_job_id":null,"html_url":"https://github.com/Fellmonkey/playground-appwrite-unity","commit_stats":null,"previous_names":["fellmonkey/playground-appwrite-unity"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Fellmonkey/playground-appwrite-unity","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fellmonkey%2Fplayground-appwrite-unity","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fellmonkey%2Fplayground-appwrite-unity/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fellmonkey%2Fplayground-appwrite-unity/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fellmonkey%2Fplayground-appwrite-unity/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Fellmonkey","download_url":"https://codeload.github.com/Fellmonkey/playground-appwrite-unity/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fellmonkey%2Fplayground-appwrite-unity/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33172173,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-18T05:43:36.989Z","status":"ssl_error","status_checked_at":"2026-05-18T05:43:19.133Z","response_time":71,"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":["appwrite","demo","playground","unity","webgl"],"created_at":"2025-08-09T22:00:43.375Z","updated_at":"2026-05-18T09:06:06.063Z","avatar_url":"https://github.com/Fellmonkey.png","language":"ShaderLab","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n**You can view the demo in your browser:**\n👉 [Open the Unity WebGL Playground Demo](https://fellmonkey.github.io/playground-appwrite-unity/)\n\n# Appwrite's Unity Playground 🎮\n\nThis Unity project is a simple way to explore the Appwrite API with the Appwrite C# SDK in Unity. Use it to learn how to integrate Appwrite into a Unity app and try common features end‑to‑end.\n\nThe main sample script lives at `Assets/Scripts/AppwriteUnityPlayground.cs` and wires up UI buttons to SDK calls (Auth, Databases, Storage, Functions, Teams, Locale, Realtime).\n\n![Appwrite Playground](.media/preview.png)\n\n## Get Started\n\nThe scene in `Assets/Scenes/` includes a demo UI. Enter Play Mode and click buttons to exercise API calls. Make sure your Appwrite instance and project are configured first.\n\n\u003e This playground intentionally favors clarity over best practices. It shows minimal examples of using the API.\n\n## Backend Setup (Appwrite)\n\nWe recommend using the Appwrite Console for setup.\n\n1. Create a Project in the Appwrite Console.\n2. Add a Platform for your target:\n\t- WebGL builds: add a Web platform and set allowed domains (e.g., `http://localhost:8000`, your dev hostname).\n\t- Desktop builds: add the corresponding desktop platform(s) in Console.\n3. Create resources you want to test and note their IDs:\n\t- Database and Collection (IDs will be used from the script constants)\n\t- Storage Bucket\n\t- (Optional) Function\n\t- (Optional) OAuth providers (Google, GitHub, Apple, Facebook) if you plan to test OAuth\n4. Create a test user (email/password) for quick sign‑in.\n\nIn `Assets/Scripts/AppwriteUnityPlayground.cs`, update the test IDs at the top of the file to match your Console resources:\n\n- `TEST_DATABASE_ID`\n- `TEST_COLLECTION_ID`\n- `TEST_BUCKET_ID`\n- `TEST_FUNCTION_ID`\n\nThese are used by the buttons that list/create/update/delete data.\n\n## Unity Client Setup\n\n1. Open the project in Unity.\n2. Open a scene from `Assets/Scenes/` (the demo scene contains the UI and script hook‑ups).\n3. In Hierarchy, select the object with `AppwriteUnityPlayground`.\n4. In the Inspector:\n\t- Assign or create an `AppwriteConfig` asset (or fill the serialized fields) and set:\n\t  - Endpoint (e.g., `https://cloud.appwrite.io/v1` or your self‑hosted URL)\n\t  - Project ID\n\t  - Optional: Dev Key (for admin‑level endpoints in editor/testing)\n\t  - Optional: Realtime Endpoint (if different)\n\t- Toggle “Use Appwrite Manager” if you want to initialize via `AppwriteManager`.\n\n\u003e You can also switch off the manager and let the script initialize the `Client` directly using the same config values.\n\n## Run in Editor\n\n1. Press Play in the Unity Editor.\n2. Use the UI to:\n\t- Register/Login/Logout\n\t- List/Create/Update/Delete Documents\n\t- Upload/Download/List/Delete Files\n\t- Execute Functions and view Executions\n\t- Manage Teams and Memberships\n\t- Query Locale info\n\t- Subscribe to Realtime events\n\nAll responses get printed to the on‑screen log.\n\n## Build for WebGL (optional)\n\n1. File → Build Settings → WebGL, add your scene(s), then Build to `./build`.\n2. Serve the `build/` folder with any static server (example using PowerShell + Node):\n\n```powershell\n# Optional if you have Node and npx available\nnpx serve ./build -l 8000\n# Then open http://localhost:8000\n```\n\nEnsure your Appwrite project allows this origin in the Web platform’s allowed domains and CORS.\n\n## Notes \u0026 Troubleshooting\n\n- CORS/Origins: For WebGL, add your local dev origin (e.g., `http://localhost:8000`) to the Web platform and configure CORS in Appwrite.\n- Cookies/Sessions: Some auth flows require secure contexts; ensure correct domain/protocol settings.\n- OAuth: Enable and configure each provider in Appwrite before using OAuth buttons.\n- Network/SSL: If self‑hosting with self‑signed certs, Unity WebGL or desktop may block requests; use valid certificates.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffellmonkey%2Fplayground-appwrite-unity","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffellmonkey%2Fplayground-appwrite-unity","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffellmonkey%2Fplayground-appwrite-unity/lists"}