{"id":19782323,"url":"https://github.com/bijx/firestore-data-fetcher","last_synced_at":"2026-04-12T07:37:28.525Z","repository":{"id":186916677,"uuid":"675983222","full_name":"bijx/Firestore-Data-Fetcher","owner":"bijx","description":"A simple Python script to fetch documents from a Firebase Firestore collection and save them to a local `.json` file.","archived":false,"fork":false,"pushed_at":"2023-08-08T07:10:27.000Z","size":4,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-28T12:56:40.245Z","etag":null,"topics":["automation","data","database","downloader","exporter","fetcher","firebase","firestore","open-source","script"],"latest_commit_sha":null,"homepage":"","language":"Python","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/bijx.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"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}},"created_at":"2023-08-08T07:05:41.000Z","updated_at":"2025-02-19T07:20:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"509fd9c2-1ca9-47be-a8de-8903b82fa590","html_url":"https://github.com/bijx/Firestore-Data-Fetcher","commit_stats":null,"previous_names":["bijx/firestore-data-fetcher"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bijx/Firestore-Data-Fetcher","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bijx%2FFirestore-Data-Fetcher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bijx%2FFirestore-Data-Fetcher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bijx%2FFirestore-Data-Fetcher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bijx%2FFirestore-Data-Fetcher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bijx","download_url":"https://codeload.github.com/bijx/Firestore-Data-Fetcher/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bijx%2FFirestore-Data-Fetcher/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259868583,"owners_count":22924236,"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":["automation","data","database","downloader","exporter","fetcher","firebase","firestore","open-source","script"],"created_at":"2024-11-12T06:04:46.148Z","updated_at":"2026-04-12T07:37:23.500Z","avatar_url":"https://github.com/bijx.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Firebase Firestore Data Fetcher\n\nA simple Python script to fetch documents from a Firebase Firestore collection and save them to a local `.json` file. Helpful when your project is on the free tier and you don't want to enable billing on your account.\n\n## Prerequisites\n\n- Python 3.6+\n- Firebase project with Firestore enabled\n\n## Setup\n\n1. Clone the repository:\n   ```\n   git clone https://github.com/bijx/Firestore-Data-Fetcher.git\n   ```\n\n2. Navigate to the project directory:\n   ```\n   cd Firestore-Data-Fetcher\n   ```\n\n3. Install the required packages:\n   ```\n   pip install firebase-admin\n   ```\n\n4. Obtain your Firebase service account key:\n   - Go to the Firebase Console.\n   - Navigate to your project.\n   - Click on \"Project settings\".\n   - Click on the \"Service accounts\" tab.\n   - Generate a new private key.\n   - Save the `.json` file with your credentials to the project directory.\n\n## Usage\n\n1. Open the script and replace `'collection_name'` with the name of the Firestore collection you want to fetch.\n2. Run the script:\n   ```\n   python script.py\n   ```\n\n3. The data will be saved in a file named `output.json`.\n\n## Notes\n\n- Just a word of caution: Always keep your Firebase service account key secure and never expose it in public locations.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbijx%2Ffirestore-data-fetcher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbijx%2Ffirestore-data-fetcher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbijx%2Ffirestore-data-fetcher/lists"}