{"id":22202397,"url":"https://github.com/raunaksingh9800/cloud-code-sender-and-receiver","last_synced_at":"2026-05-18T17:02:01.659Z","repository":{"id":220324664,"uuid":"751341484","full_name":"raunaksingh9800/Cloud-Code-Sender-and-Receiver","owner":"raunaksingh9800","description":"Python Script for Pushing and Retrieving Code to/from Firebase Storage","archived":false,"fork":false,"pushed_at":"2024-02-04T14:30:57.000Z","size":612,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-25T01:43:12.969Z","etag":null,"topics":["cloud","command-line","command-line-tool","firebase","python"],"latest_commit_sha":null,"homepage":"","language":"Python","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/raunaksingh9800.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":"2024-02-01T12:21:26.000Z","updated_at":"2024-09-09T17:48:58.000Z","dependencies_parsed_at":"2024-02-01T13:44:26.345Z","dependency_job_id":"90a23549-d3fc-4b45-a8a4-d2f162ffd908","html_url":"https://github.com/raunaksingh9800/Cloud-Code-Sender-and-Receiver","commit_stats":null,"previous_names":["raunaksingh9800/cloud-code-sender-and-receiver"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/raunaksingh9800/Cloud-Code-Sender-and-Receiver","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raunaksingh9800%2FCloud-Code-Sender-and-Receiver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raunaksingh9800%2FCloud-Code-Sender-and-Receiver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raunaksingh9800%2FCloud-Code-Sender-and-Receiver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raunaksingh9800%2FCloud-Code-Sender-and-Receiver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/raunaksingh9800","download_url":"https://codeload.github.com/raunaksingh9800/Cloud-Code-Sender-and-Receiver/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raunaksingh9800%2FCloud-Code-Sender-and-Receiver/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265483325,"owners_count":23774186,"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":["cloud","command-line","command-line-tool","firebase","python"],"created_at":"2024-12-02T16:15:34.201Z","updated_at":"2026-05-18T17:01:56.619Z","avatar_url":"https://github.com/raunaksingh9800.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cloud-Code-Sender-and-Receiver\nPython Script for Pushing and Retrieving Code to/from Firebase Storage\n\n## Overview\n\nThis Python script streamlines the process of pushing code to a Firebase Storage bucket, retrieving it on another device, and running it, with optional compilation for different programming languages. It's ideal for sharing and executing code across multiple devices seamlessly.\n## Clone The Repo\n \n `git clone https://github.com/raunaksingh9800/Cloud-Code-Sender-and-Receiver`\n## Screenshot\n### Sender\n![alt text](https://github.com/raunaksingh9800/Cloud-Code-Sender-and-Receiver/blob/main/screenshots/Sender.png?raw=true)\n### Receiver\n![alt text](https://github.com/raunaksingh9800/Cloud-Code-Sender-and-Receiver/blob/main/screenshots/%20Receiver.png?raw=true)\n### Push\n![alt text](https://github.com/raunaksingh9800/Cloud-Code-Sender-and-Receiver/blob/main/screenshots/push.png?raw=true)\n### Get\n![alt text](https://github.com/raunaksingh9800/Cloud-Code-Sender-and-Receiver/blob/main/screenshots/get.png?raw=true)\n## Key Features\n\n- **File Handling:** Uploads and downloads code files to/from Firebase Storage.\n- **Command-Line Arguments:** Supports four modes for distinct actions:\n    - `Sender`: Initializes the sending process, prompts for file name and Global Access Code (GAC), uploads the file, and creates a `data.txt` file for future reference.\n    - `Receiver`: Initializes the receiving process, prompts for file name and GAC, downloads the file, creates a `data.txt` file, and runs the code (defaulting to clang++ compilation for C++, but customizable for other languages).\n    - `push`: Reads GAC and file name from `data.txt` and pushes the code to the cloud.\n    - `get`: Reads GAC and file name from `data.txt`, retrieves the code from the cloud, compiles it (if applicable), and runs it.\n- **Customizable Compilation:** Allows users to adjust the compilation command for their preferred programming language.\n\n## Usage\n\n1. **Install Required Libraries:**\n   ```bash\n   pip install firebase-admin \n   ```\n2. **Provide Firebase Credentials:**\n   - Create a Firebase project and download a service account key JSON file.\n   - Place the JSON file in the same directory as the script.\n3. **Run the Script:**\n   ```bash\n   python main.py \u003cmode\u003e\n   ```\n   Replace `\u003cmode\u003e` with `Sender`, `Receiver`, `push`, or `get`.\n\n## Contributing\n\nContributions are welcome! Feel free to fork the repository, make changes, and submit pull requests.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraunaksingh9800%2Fcloud-code-sender-and-receiver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fraunaksingh9800%2Fcloud-code-sender-and-receiver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraunaksingh9800%2Fcloud-code-sender-and-receiver/lists"}