{"id":13812226,"url":"https://github.com/supabase/realtime-dart","last_synced_at":"2025-10-01T10:31:25.608Z","repository":{"id":44706213,"uuid":"304570537","full_name":"supabase/realtime-dart","owner":"supabase","description":"A dart client for Supabase Realtime server.","archived":true,"fork":false,"pushed_at":"2023-05-13T01:27:33.000Z","size":220,"stargazers_count":85,"open_issues_count":0,"forks_count":15,"subscribers_count":9,"default_branch":"main","last_synced_at":"2024-10-29T13:15:55.481Z","etag":null,"topics":["dart"],"latest_commit_sha":null,"homepage":"https://supabase.com/docs/guides/realtime","language":"Dart","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/supabase.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},"funding":{"github":["supabase"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2020-10-16T08:47:40.000Z","updated_at":"2024-10-25T08:00:54.000Z","dependencies_parsed_at":"2023-09-23T05:04:51.041Z","dependency_job_id":null,"html_url":"https://github.com/supabase/realtime-dart","commit_stats":{"total_commits":201,"total_committers":11,"mean_commits":"18.272727272727273","dds":0.4477611940298507,"last_synced_commit":"a3cffba51d49fa07097b4bfef355193d72672076"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/supabase%2Frealtime-dart","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/supabase%2Frealtime-dart/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/supabase%2Frealtime-dart/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/supabase%2Frealtime-dart/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/supabase","download_url":"https://codeload.github.com/supabase/realtime-dart/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234750650,"owners_count":18880921,"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":["dart"],"created_at":"2024-08-04T04:00:49.473Z","updated_at":"2025-10-01T10:31:25.287Z","avatar_url":"https://github.com/supabase.png","language":"Dart","funding_links":["https://github.com/sponsors/supabase"],"categories":["Realtime"],"sub_categories":[],"readme":"# `realtime-dart`\n\n\u003e **Warning**\n\u003e This repository has been moved to the [supabase-flutter repo](https://github.com/supabase/supabase-flutter/tree/main/packages/realtime_client).\n\nListens to changes in a PostgreSQL Database and via websockets.\n\nA dart client for Supabase [Realtime](https://github.com/supabase/realtime) server.\n\n## Usage\n\n### Creating a Socket connection\n\nYou can set up one connection to be used across the whole app.\n\n```dart\nimport 'package:realtime_client/realtime_client.dart';\n\nvar client = RealtimeClient(REALTIME_URL);\nclient.connect();\n```\n\n**Socket Hooks**\n\n```dart\nclient.onOpen(() =\u003e print('Socket opened.'));\nclient.onClose((event) =\u003e print('Socket closed $event'));\nclient.onError((error) =\u003e print('Socket error: $error'));\n```\n\n**Disconnect the socket**\n\nCall `disconnect()` on the socket:\n\n```dart\nclient.disconnect()\n```\n\n## Credits\n\n- https://github.com/supabase/realtime-js - ported from realtime-js library\n\n## License\n\nThis repo is licensed under MIT.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsupabase%2Frealtime-dart","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsupabase%2Frealtime-dart","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsupabase%2Frealtime-dart/lists"}