{"id":22190878,"url":"https://github.com/appsup-dart/firebase_compute","last_synced_at":"2026-05-15T21:31:36.753Z","repository":{"id":56828781,"uuid":"84201631","full_name":"appsup-dart/firebase_compute","owner":"appsup-dart","description":null,"archived":false,"fork":false,"pushed_at":"2017-12-11T16:08:14.000Z","size":12,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-10T04:34:04.889Z","etag":null,"topics":["dart","firebase","reactive-programming"],"latest_commit_sha":null,"homepage":null,"language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/appsup-dart.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}},"created_at":"2017-03-07T13:22:36.000Z","updated_at":"2017-04-05T10:04:43.000Z","dependencies_parsed_at":"2022-08-29T00:20:23.063Z","dependency_job_id":null,"html_url":"https://github.com/appsup-dart/firebase_compute","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/appsup-dart/firebase_compute","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appsup-dart%2Ffirebase_compute","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appsup-dart%2Ffirebase_compute/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appsup-dart%2Ffirebase_compute/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appsup-dart%2Ffirebase_compute/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/appsup-dart","download_url":"https://codeload.github.com/appsup-dart/firebase_compute/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appsup-dart%2Ffirebase_compute/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33080777,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-15T20:25:35.270Z","status":"ssl_error","status_checked_at":"2026-05-15T20:25:34.732Z","response_time":103,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["dart","firebase","reactive-programming"],"created_at":"2024-12-02T12:13:09.945Z","updated_at":"2026-05-15T21:31:36.737Z","avatar_url":"https://github.com/appsup-dart.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# firebase_compute\n\n[![Build Status](https://travis-ci.org/appsup-dart/firebase_compute.svg?branch=master)](https://travis-ci.org/appsup-dart/firebase_compute)\n\nLibrary for doing reactive computations with firebase.\n\n\n\n\n## Usage\n\nA simple, yet powerful usage example!\n\nGiven a Firebase instance containing events in a calendar, the following code will print the next appointment.\n\n\n    import 'package:firebase_compute/firebase_compute.dart';\n    import 'package:firebase_dart/firebase_dart.dart';\n    import 'dart:async';\n    \n    main() async {\n      var ref = new Firebase(\"https://my-project.firebaseio.com\");\n    \n      var data = new DynamicReference(ref); // create a reactive version of a firebase reference\n    \n      data\n          .child(\"calendar\").child(\"events\")    // reference the subtree at /calendar/events\n          .orderByChild(\"startTime\").limitToFirst(1) // order by child startTime and limit to first result\n          .startAt(new ReactiveDateTime.now().toIso8601String())  // start at the current time\n          .firstChild() // move to the first child\n          .val()\n          .asStream().forEach((v)=\u003eprint(\"your next appointment is at ${v[\"startTime\"]}: ${v[\"description\"]}\"));\n    \n      ref.child(\"calendar\").child(\"events\").push({\n        \"startTime\": new DateTime.now().add(new Duration(hours: 4)).toIso8601String(),\n        \"description\": \"hairdresser\"\n      });  // will print \"your next appointment is at ... : hairdresser\"\n    \n      await new Future.delayed(new Duration(seconds: 2));\n    \n      ref.child(\"calendar\").child(\"events\").push({\n        \"startTime\": new DateTime.now().add(new Duration(seconds: 10)).toIso8601String(),\n        \"description\": \"doctor\"\n      });  // will print \"your next appointment is at ... : doctor\"\n    \n      // after 10 seconds will print \"your next appointment is at ... : hairdresser\"\n    \n    \n    \n    }\n\n## Features and bugs\n\nPlease file feature requests and bugs at the [issue tracker][tracker].\n\n[tracker]: https://github.com/appsup-dart/firebase_compute/issues\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fappsup-dart%2Ffirebase_compute","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fappsup-dart%2Ffirebase_compute","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fappsup-dart%2Ffirebase_compute/lists"}