{"id":19657490,"url":"https://github.com/butlerlogic/firebase","last_synced_at":"2026-05-18T04:08:01.444Z","repository":{"id":98891176,"uuid":"207024603","full_name":"ButlerLogic/firebase","owner":"ButlerLogic","description":"A library for simplifying the workflow when developing on the Google Firebase platform.","archived":false,"fork":false,"pushed_at":"2020-03-19T01:57:06.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-10T01:16:13.033Z","etag":null,"topics":["config","firebase"],"latest_commit_sha":null,"homepage":null,"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/ButlerLogic.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","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},"funding":{"github":["coreybutler"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2019-09-07T20:52:40.000Z","updated_at":"2020-03-19T01:57:08.000Z","dependencies_parsed_at":"2023-03-03T01:30:15.759Z","dependency_job_id":null,"html_url":"https://github.com/ButlerLogic/firebase","commit_stats":{"total_commits":9,"total_committers":1,"mean_commits":9.0,"dds":0.0,"last_synced_commit":"10f565999da08ccb7cf91273c02a110ebeb10984"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ButlerLogic%2Ffirebase","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ButlerLogic%2Ffirebase/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ButlerLogic%2Ffirebase/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ButlerLogic%2Ffirebase/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ButlerLogic","download_url":"https://codeload.github.com/ButlerLogic/firebase/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240965348,"owners_count":19885916,"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":["config","firebase"],"created_at":"2024-11-11T15:32:28.687Z","updated_at":"2025-10-12T00:42:02.377Z","avatar_url":"https://github.com/ButlerLogic.png","language":"JavaScript","funding_links":["https://github.com/sponsors/coreybutler"],"categories":[],"sub_categories":[],"readme":"# firebase\n\nSimplify the workflow of developing Firebase applications.\n\n## Key Features\n\n- Configure \u0026 deploy Firebase environment variables.\n\n## Getting Started\n\nThis library assumes the Firebase tools have been installed and are accessible (i.e. in the `PATH`). If you do not have the Firebase tools or are unsure, run `npm install -g firebase-tools` and see the [CLI documentation](https://github.com/firebase/firebase-tools) for details.\n\nInstall this utility as a development dependency within your project.\n\n```sh\nnpm install @butlerlogic/firebase --save-dev\n```\n\nIf you want to use the commands directly (i.e. _not_ within an npm command), you'll _also_ need to install the library with the global flag.\n\n```sh\nnpm install -g @butlerlogic/firebase\n```\n\n## Firebase Functions\n\nFirebase functions are, generally, pretty straightforward to work with. However; synchronizing environment variables is more challenging, especially in team environments.\n\nEnvironment variables are managed in a file called `.runtimeconfig.json`. This file should never be committed to git, which means it is never available when you start working on a project.\n\nIf you are working with an existing project, run `fb setup` to automatically generate the appropriate `.runtimeconfig.json` file. It does not know what the values of each environment variable should be, but it will identify all of the variables used in the code base and structure the file properly.\n\nThere is also a command that will read the `.runtimeconfig.json` and automatically update the remote Firebase environment with the values found in the file. This can be done by running `fb configure`\n\n### Recommendation\n\nIt's typically best to set this up as an npm command. Consider the following package.json:\n\n```json\n{\n  \"name\": \"my_firebase_functions\",\n  \"version\": \"1.0.0\",\n  \"description\": \"Cloud Functions for Firebase\",\n  \"scripts\": {\n    \"serve\": \"firebase serve --only functions,database\",\n    \"shell\": \"firebase functions:shell\",\n    \"start\": \"firebase emulators:start --only functions\",\n    \"logs\": \"firebase functions:log\",\n    \"deploy\": \"fb deploy\",\n    \"configure\": \"fb configure\",\n    \"setup\": \"fb setup\"\n  },\n  \"engines\": {\n    \"node\": \"8\"\n  },\n  \"dependencies\": {\n    \"firebase-admin\": \"^8.0.0\",\n    \"firebase-functions\": \"^3.1.0\"\n  },\n  \"devDependencies\": {\n    \"@butlerlogic/firebase\": \"^1.0.0\",\n  },\n  \"private\": true\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbutlerlogic%2Ffirebase","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbutlerlogic%2Ffirebase","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbutlerlogic%2Ffirebase/lists"}