{"id":20749202,"url":"https://github.com/tharushaudana/esp-idf-firebase-with-stream","last_synced_at":"2026-01-25T16:01:38.098Z","repository":{"id":216540561,"uuid":"710208005","full_name":"tharushaudana/esp-idf-firebase-with-stream","owner":"tharushaudana","description":"This C++ Firebase library for ESP-IDF is a reliable and non-blocking solution designed for IoT development on the ESP32 platform. It provides seamless support for streaming data to Firebase and offers various features to enhance your IoT projects.","archived":false,"fork":false,"pushed_at":"2024-06-28T04:15:55.000Z","size":75,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-15T16:13:34.595Z","etag":null,"topics":["esp-idf","esp32","esp8266","firebase","firebase-stream"],"latest_commit_sha":null,"homepage":"","language":"C++","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/tharushaudana.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-10-26T08:34:05.000Z","updated_at":"2024-10-22T17:11:18.000Z","dependencies_parsed_at":"2024-01-10T20:13:33.966Z","dependency_job_id":"96168e5b-4b3a-4572-b742-6a3d04a217af","html_url":"https://github.com/tharushaudana/esp-idf-firebase-with-stream","commit_stats":null,"previous_names":["tharushaudana/esp-idf-firebase-with-stream"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tharushaudana/esp-idf-firebase-with-stream","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tharushaudana%2Fesp-idf-firebase-with-stream","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tharushaudana%2Fesp-idf-firebase-with-stream/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tharushaudana%2Fesp-idf-firebase-with-stream/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tharushaudana%2Fesp-idf-firebase-with-stream/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tharushaudana","download_url":"https://codeload.github.com/tharushaudana/esp-idf-firebase-with-stream/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tharushaudana%2Fesp-idf-firebase-with-stream/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28755045,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-25T13:59:49.818Z","status":"ssl_error","status_checked_at":"2026-01-25T13:59:33.728Z","response_time":113,"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":["esp-idf","esp32","esp8266","firebase","firebase-stream"],"created_at":"2024-11-17T08:21:34.575Z","updated_at":"2026-01-25T16:01:38.053Z","avatar_url":"https://github.com/tharushaudana.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Firebase C++ Library for ESP-IDF (with Stream support)\n\n[![License](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)\n[![ESP-IDF](https://img.shields.io/badge/ESP--IDF-v4.4%2B-brightgreen)](https://docs.espressif.com/projects/esp-idf/en/latest/esp32/)\n\nThis C++ Firebase library for ESP-IDF is a reliable and non-blocking solution designed for IoT development on the ESP32 platform. It provides seamless support for streaming data to Firebase and offers various features to enhance your IoT projects.\n\n## Features\n\n- **Non-blocking:** Our library is designed to be non-blocking, allowing your ESP32 to perform other tasks while interacting with Firebase. This is crucial for building responsive IoT applications.\n\n- **Stream Support:** You can easily stream data to Firebase, making it perfect for real-time IoT projects.\n\n- **Improved Reliability:** To ensure a more reliable connection, we recommend setting `CONFIG_LWIP_TCP_MSL` to 10000 ms in your ESP-IDF configuration. This extended Maximum Segment Lifetime (MSL) can help in situations where your network may experience temporary disruptions.\n\n## Getting Started\n\nTo start using this C++ library in your ESP-IDF project, follow these steps:\n\n1. Clone this repository or add it as a submodule to your project.\n\n2. Include the necessary header files in your project:\n\n    ```cpp\n    #include \"firebase-with-stream.h\"\n\n    firebase_with_stream firebase;\n\n    firebase_config_t fb_config;\n    firebase_credentials_t fb_credentials;\n    ```\n\n3. Configure your Firebase credentials and initialize the library:\n\n    ```cpp\n    fb_config.api_key = \"AIzaSyC2KRrFHQpntl4lMpuh-Wql0TB4njcBIlU\";\n    fb_config.db_url = \"https://greenhouse-project-bec1e-default-rtdb.firebaseio.com\";\n\n    fb_credentials.email = \"example@gmail.com\";\n    fb_credentials.password = \"tha2003\";\n\n    firebase.set_config(fb_config);\n    firebase.set_credentials(fb_credentials);\n\n    firebase.begin();\n    ```\n\n4. Start using the library to send and receive data to/from Firebase.\n\n## Example\n\nHere's a simple C++ example of how to update data in Firebase:\n\n```cpp\nstd::string json_data = \n                \"{\"\n                \"\\\"k1\\\":\\\"v22\\\",\"\n                \"\\\"k2\\\":\\\"v23\\\",\"\n                \"\\\"k3\\\":\\\"v24\\\"\"\n                \"}\";\n\nfirebase.crud.update(\"/test/o2/.json\", json_data.c_str());\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftharushaudana%2Fesp-idf-firebase-with-stream","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftharushaudana%2Fesp-idf-firebase-with-stream","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftharushaudana%2Fesp-idf-firebase-with-stream/lists"}