{"id":47880361,"url":"https://github.com/getditto/demoapp-inventory","last_synced_at":"2026-04-04T01:44:34.643Z","repository":{"id":103146957,"uuid":"595928706","full_name":"getditto/demoapp-inventory","owner":"getditto","description":"Inventory Demo App (iOS and Android)","archived":false,"fork":false,"pushed_at":"2026-02-05T00:50:55.000Z","size":3048,"stargazers_count":4,"open_issues_count":5,"forks_count":5,"subscribers_count":29,"default_branch":"main","last_synced_at":"2026-04-04T01:44:30.821Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Swift","has_issues":false,"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/getditto.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":".github/CODEOWNERS","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":"2023-02-01T05:02:33.000Z","updated_at":"2026-02-05T00:50:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"0321f0d9-d486-4fba-8617-95c67d2d475e","html_url":"https://github.com/getditto/demoapp-inventory","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/getditto/demoapp-inventory","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getditto%2Fdemoapp-inventory","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getditto%2Fdemoapp-inventory/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getditto%2Fdemoapp-inventory/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getditto%2Fdemoapp-inventory/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/getditto","download_url":"https://codeload.github.com/getditto/demoapp-inventory/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getditto%2Fdemoapp-inventory/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31384845,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-04T01:22:39.193Z","status":"ssl_error","status_checked_at":"2026-04-04T01:22:33.970Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":[],"created_at":"2026-04-04T01:44:34.137Z","updated_at":"2026-04-04T01:44:34.627Z","avatar_url":"https://github.com/getditto.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Inventory\n\nDemo app for showcasing Ditto's real-time sync and Conflict Resolution through the use of an inventory counter.\n\nThis inventory demo showcases the smoothness of Ditto's sync and conflict resolution, and how counters work with Ditto. You can also open up the Presence Viewer to see all existing devices and connections in the mesh.\n\nPowered by [Ditto](https://www.ditto.live/).\n\nFor support, please contact Ditto Support (\u003csupport@ditto.live\u003e).\n\n- [Demo Video](https://www.youtube.com/watch?v=1P2bKEJjdec)\n- [iOS Download](https://apps.apple.com/us/app/ditto-inventory/id1449905935)\n- [Android Download](https://play.google.com/store/apps/details?id=live.ditto.inventory)\n\n\n## How to build the apps\n\n### Environment Variables\n1. Copy the `.env.template` file to `.env`.\n   - in a terminal: `cp .env.template .env`.\n   - in a macOS Finder window, press `⇧⌘.` (SHIFT+CMD+period) to show hidden files.\n1. Save your App ID, Online Playground Token, Auth URL, and WebSocket URL in the `.env` file.\n### iOS\n\n1. Open the app project on Xcode and clean (\u003ckbd\u003eCommand\u003c/kbd\u003e + \u003ckbd\u003eShift\u003c/kbd\u003e + \u003ckbd\u003eK\u003c/kbd\u003e)\n2. Build (\u003ckbd\u003eCommand\u003c/kbd\u003e + \u003ckbd\u003eB\u003c/kbd\u003e)\n    - This will generate `Env.swift`\n\n### Android\n\nAndroid looks at the same .env file that iOS does.  When gradle restores packages, it should auto load in the information from the .env file to the BuildConfig.  DittoManager then reads these values and uses them to connect to Ditto.  \n\nFor more information, see the [build.gradle](Android/app/build.gradle#L20) file.\n\nCompatible with Android Automotive OS (AAOS)\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgetditto%2Fdemoapp-inventory","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgetditto%2Fdemoapp-inventory","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgetditto%2Fdemoapp-inventory/lists"}