{"id":48187955,"url":"https://github.com/widgrensit/asobi-dart","last_synced_at":"2026-04-04T17:52:02.735Z","repository":{"id":348053879,"uuid":"1195225346","full_name":"widgrensit/asobi-dart","owner":"widgrensit","description":"Dart/Flutter client SDK for Asobi game backend","archived":false,"fork":false,"pushed_at":"2026-03-30T16:11:17.000Z","size":27,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-30T17:20:20.603Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dart","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/widgrensit.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2026-03-29T11:58:54.000Z","updated_at":"2026-03-30T16:41:03.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/widgrensit/asobi-dart","commit_stats":null,"previous_names":["widgrensit/asobi-dart"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/widgrensit/asobi-dart","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/widgrensit%2Fasobi-dart","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/widgrensit%2Fasobi-dart/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/widgrensit%2Fasobi-dart/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/widgrensit%2Fasobi-dart/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/widgrensit","download_url":"https://codeload.github.com/widgrensit/asobi-dart/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/widgrensit%2Fasobi-dart/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31407655,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-04T10:20:44.708Z","status":"ssl_error","status_checked_at":"2026-04-04T10:20:06.846Z","response_time":60,"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":[],"created_at":"2026-04-04T17:52:02.610Z","updated_at":"2026-04-04T17:52:02.723Z","avatar_url":"https://github.com/widgrensit.png","language":"Dart","readme":"# asobi\n\nDart client SDK for the [Asobi](https://github.com/widgrensit/asobi) game backend. Works with Flutter, Flame, and standalone Dart applications.\n\nPure Dart — no Flutter dependency. Minimal footprint (only `http` + `web_socket_channel`).\n\n## Installation\n\n```bash\ndart pub add asobi\n```\n\n## Quick Start\n\n```dart\nimport 'package:asobi/asobi.dart';\n\nfinal client = AsobiClient('localhost', port: 8080);\n\n// Auth\nawait client.auth.login('player1', 'secret123');\n\n// REST APIs\nfinal player = await client.players.getSelf();\nfinal top = await client.leaderboards.getTop('weekly');\nfinal wallets = await client.economy.getWallets();\n\n// Real-time\nclient.realtime.onMatchState.stream.listen((state) {\n  print('Tick: ${state['tick']}');\n});\n\nawait client.realtime.connect();\nawait client.realtime.addToMatchmaker(mode: 'arena');\n```\n\n## Features\n\n| Feature | REST | WebSocket |\n|---------|------|-----------|\n| Auth | Register, login, token refresh | - |\n| Players | Profiles, updates | - |\n| Matchmaker | Queue, status, cancel | Real-time match found |\n| Matches | List, details | State sync, input, events |\n| Leaderboards | Top scores, around player, submit | - |\n| Economy | Wallets, store, purchases | - |\n| Inventory | Items, consume | - |\n| Social | Friends, groups, chat history | Chat messages, presence |\n| Tournaments | List, join | - |\n| Notifications | List, read, delete | Real-time push |\n| Storage | Cloud saves, key-value | - |\n\n## Flame Integration\n\nFor Flame games, use [flame_asobi](https://github.com/widgrensit/flame_asobi) which provides Flame-native components and mixins on top of this SDK.\n\n## License\n\nApache-2.0\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwidgrensit%2Fasobi-dart","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwidgrensit%2Fasobi-dart","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwidgrensit%2Fasobi-dart/lists"}