{"id":21477704,"url":"https://github.com/edward62740/firebase-ingestor-rs","last_synced_at":"2026-05-17T11:31:24.389Z","repository":{"id":169269752,"uuid":"644802246","full_name":"edward62740/firebase-ingestor-rs","owner":"edward62740","description":"CoAP \u003c-\u003e Firebase bridge for IPv6 IoT devices","archived":false,"fork":false,"pushed_at":"2023-08-21T22:30:33.000Z","size":20973,"stargazers_count":0,"open_issues_count":5,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-02T18:47:10.400Z","etag":null,"topics":["coap","firebase","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/edward62740.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2023-05-24T09:35:41.000Z","updated_at":"2023-05-25T08:20:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"1570528f-0cc4-4652-badf-2011d50181d0","html_url":"https://github.com/edward62740/firebase-ingestor-rs","commit_stats":null,"previous_names":["edward62740/firebase-ingestor-rs"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/edward62740/firebase-ingestor-rs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edward62740%2Ffirebase-ingestor-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edward62740%2Ffirebase-ingestor-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edward62740%2Ffirebase-ingestor-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edward62740%2Ffirebase-ingestor-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/edward62740","download_url":"https://codeload.github.com/edward62740/firebase-ingestor-rs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edward62740%2Ffirebase-ingestor-rs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33136663,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-17T09:28:26.183Z","status":"ssl_error","status_checked_at":"2026-05-17T09:27:52.702Z","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":["coap","firebase","rust"],"created_at":"2024-11-23T11:14:49.476Z","updated_at":"2026-05-17T11:31:24.384Z","avatar_url":"https://github.com/edward62740.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Firebase Ingestor\n\nFirebase requires REST API over HTTPS which is too expensive for many power constrained IoT devices.\u003cbr\u003e\nThis project allows for low-power IoT devices to read/write data in a Firebase RTDB instance, by forwarding CoAP messages from the IoT devices.\n\n**IoT Device** \u003c--- *CoAP* ---\u003e **Firebase Ingestor** \u003c--- *REST API* ---\u003e **Firebase**\n\nThe ingestor does three things:\n- Advertises a service over DNS-SD (RFC 6763) along with its IP address, to be discovered by the IoT device at runtime\n- Sets up a CoAP server bound to the abovementioned IP, for the IoT device to post data\n- Forwards received CoAP data to Firebase\n\n\u003cbr\u003e\n\nThe executable can be run with the following arguments:\n```\nfirebase-ingestor-rs.exe \u003cdns-sd service type\u003e \u003cdns-sd instance name\u003e \u003cfirebase URL\u003e \u003cfirebase key\u003e [--no_metadata][--no_struct]\n```\n\nThis project is used with IPv6 Thread networks.\u003cbr\u003e\nHowever, this program is expected to function on a IPv4 LAN outside of the Thread network, so NAT64 (RFC 6146) may be needed to communicate from IPv6 IoT devices.\u003cbr\u003e\n\nAccepted CoAP payloads are in the form `/path/../to/field:value,...,field:value` for POST/PUT.\u003cbr\u003e Hence, it is recommended that there is some network layer encryption. PUT is generally preferable, as POST will nest the entire data structure inside a parent node with randomly generated key. \u003cbr\u003e\n\nThe CoAP payload is pushed to Firebase and takes on the format below. The actual data is nested inside a parent node \"data\", along with other metadata generated by this program.\nTo disable the metadata generation, provide the optional argument `--no_metadata`. Note that the \"data\" parent field is strictly necessary unless the argument `--no_struct` is given (otherwise the data will just be dumped into whatever path was given), and may have any number of leaf nodes.\n```\n/path/ [ ]\n|\n└─── to/\n│   │   \n│   └───data (optional parent)\n│   |       {field : value}\n│   |       {field : value}\n│   |        ...\n|   └───Ipv4 (optional)\n|   └───Unix timestamp (optional)\n│   \n...\n\n/path/ [ --no_metadata  --no_struct ]\n|\n└─── to/\n│   │   \n│   └───{field : value}\n│       {field : value}\n│             ...\n\n```\n\nFor GET, use the form `/path/../to/` , which will return the data fields under `to/` (i.e. field:value,...,field:value).\u003cbr\u003e\nFor DELETE, use the same form as GET, and the entire subtree is recursively deleted.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedward62740%2Ffirebase-ingestor-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fedward62740%2Ffirebase-ingestor-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedward62740%2Ffirebase-ingestor-rs/lists"}