{"id":15025970,"url":"https://github.com/firebaseextended/firechat","last_synced_at":"2025-12-12T04:07:35.935Z","repository":{"id":8464784,"uuid":"10062699","full_name":"FirebaseExtended/firechat","owner":"FirebaseExtended","description":"Real-time Chat powered by Firebase","archived":true,"fork":false,"pushed_at":"2020-08-10T13:57:58.000Z","size":689,"stargazers_count":2414,"open_issues_count":44,"forks_count":1037,"subscribers_count":198,"default_branch":"master","last_synced_at":"2025-03-23T22:57:37.882Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":" https://firechat.firebaseapp.com","language":"JavaScript","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/FirebaseExtended.png","metadata":{"files":{"readme":"README.md","changelog":"changelog.txt","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":"2013-05-14T19:06:10.000Z","updated_at":"2025-03-21T11:36:11.000Z","dependencies_parsed_at":"2022-08-07T04:16:35.020Z","dependency_job_id":null,"html_url":"https://github.com/FirebaseExtended/firechat","commit_stats":null,"previous_names":["firebase/firechat"],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FirebaseExtended%2Ffirechat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FirebaseExtended%2Ffirechat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FirebaseExtended%2Ffirechat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FirebaseExtended%2Ffirechat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FirebaseExtended","download_url":"https://codeload.github.com/FirebaseExtended/firechat/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245181781,"owners_count":20573723,"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":[],"created_at":"2024-09-24T20:03:24.730Z","updated_at":"2025-10-22T11:29:25.886Z","avatar_url":"https://github.com/FirebaseExtended.png","language":"JavaScript","readme":"# Firechat [![Version](https://badge.fury.io/gh/firebase%2Ffirechat.svg)](http://badge.fury.io/gh/firebase%2Ffirechat)\n\nFirechat is a simple, extensible chat widget powered by\n[Firebase](https://firebase.google.com/?utm_source=firechat). It is intended to serve as a concise,\ndocumented foundation for chat products built on Firebase. It works out of the box, and is easily\nextended.\n\n## Status\n\n![Status: Archived](https://img.shields.io/badge/Status-Archived-red)\n\nThis sample is no longer actively maintained and is left here for reference only.\n\n## Live Demo\n\nVisit [firechat.firebaseapp.com](https://firechat.firebaseapp.com/) to see a live demo of Firechat.\n\n[![A screenshot of Jenny and Lexi the cat chatting on the Firechat demo](screenshot.png)](https://firechat.firebaseapp.com/)\n\n## Setup\n\nFirechat uses the [Firebase Realtime Database](https://firebase.google.com/docs/database/?utm_source=firechat)\nas a backend, so it requires no server-side code. It can be added to any web app by including a few\nJavaScript files:\n\n```HTML\n\u003c!-- jQuery --\u003e\n\u003cscript src=\"https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.0/jquery.min.js\"\u003e\u003c/script\u003e\n\n\u003c!-- Firebase --\u003e\n\u003cscript src=\"https://www.gstatic.com/firebasejs/3.3.0/firebase.js\"\u003e\u003c/script\u003e\n\n\u003c!-- Firechat --\u003e\n\u003clink rel=\"stylesheet\" href=\"https://cdn.firebase.com/libs/firechat/3.0.1/firechat.min.css\" /\u003e\n\u003cscript src=\"https://cdn.firebase.com/libs/firechat/3.0.1/firechat.min.js\"\u003e\u003c/script\u003e\n```\n\ngiving your users a way to authenticate:\n\n```HTML\n\u003cscript\u003e\n  function login() {\n    // Log the user in via Twitter\n    var provider = new firebase.auth.TwitterAuthProvider();\n    firebase.auth().signInWithPopup(provider).catch(function(error) {\n      console.log(\"Error authenticating user:\", error);\n    });\n  }\n\n  firebase.auth().onAuthStateChanged(function(user) {\n    // Once authenticated, instantiate Firechat with the logged in user\n    if (user) {\n      initChat(user);\n    }\n  });\n\u003c/script\u003e\n\n\u003cbutton onclick=\"login()\"\u003eLogin with Twitter\u003c/button\u003e\n```\n\nand initializing the chat:\n\n```HTML\n\u003cscript\u003e\n  function initChat(user) {\n    // Get a Firebase Database ref\n    var chatRef = firebase.database().ref(\"chat\");\n\n    // Create a Firechat instance\n    var chat = new FirechatUI(chatRef, document.getElementById(\"firechat-wrapper\"));\n\n    // Set the Firechat user\n    chat.setUser(user.uid, user.displayName);\n  }\n\u003c/script\u003e\n\n\u003cdiv id=\"firechat-wrapper\"\u003e\u003c/div\u003e\n```\n\nFor detailed integration instructions, see the [Firechat documentation](https://firechat.firebaseapp.com/docs/).\n\n## Getting Started with Firebase\n\nFirechat requires Firebase in order to authenticate users and store data. You can\n[sign up here](https://console.firebase.google.com/?utm_source=firechat) for a free account.\n\n## Getting Help\n\nIf you have a question about Firechat, feel free to reach out through one of our\n[official support channels](https://firebase.google.com/support/?utm_source=firechat).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffirebaseextended%2Ffirechat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffirebaseextended%2Ffirechat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffirebaseextended%2Ffirechat/lists"}