{"id":25441324,"url":"https://github.com/rhythmusbyte/qrcode-generator","last_synced_at":"2025-05-15T17:11:44.404Z","repository":{"id":212294696,"uuid":"731155175","full_name":"RhythmusByte/QRCode-Generator","owner":"RhythmusByte","description":"A simple url to QR Code Generator. ","archived":false,"fork":false,"pushed_at":"2023-12-14T14:23:27.000Z","size":9,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2023-12-14T15:35:27.155Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://rhythmusbyte.github.io/QRCode-Generator/","language":"CSS","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/RhythmusByte.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}},"created_at":"2023-12-13T13:28:35.000Z","updated_at":"2023-12-13T16:41:05.000Z","dependencies_parsed_at":"2023-12-13T14:38:06.823Z","dependency_job_id":null,"html_url":"https://github.com/RhythmusByte/QRCode-Generator","commit_stats":null,"previous_names":["rhythmusbyte/qrcode-generator"],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RhythmusByte%2FQRCode-Generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RhythmusByte%2FQRCode-Generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RhythmusByte%2FQRCode-Generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RhythmusByte%2FQRCode-Generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RhythmusByte","download_url":"https://codeload.github.com/RhythmusByte/QRCode-Generator/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239288684,"owners_count":19614170,"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":"2025-02-17T12:27:51.391Z","updated_at":"2025-02-17T12:27:51.969Z","avatar_url":"https://github.com/RhythmusByte.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# QR Code Generator\n\n**QRCode Generator by RhythmusByte**\n\nThis Python script allows you to generate a QR code from a URL with customizable colors and save it as an image file.\n\n## Features\n\n- **Custom URL Input:** Encode any URL into a QR code.\n- **Customizable Colors:** Choose both the fill color and background color for your QR code.\n- **Output File:** Save the QR code image with a custom file name.\n\n## Requirements\n\n- Python 3.x\n- `qrcode` library\n\n## Installation\n\n### 1. Clone the Repository\n\n```bash\ngit clone https://github.com/RhythmusByte/QRCode-Generator.git\ncd QRCode-Generator\n```\n\n### 2. Set Up the Environment\n\nTo avoid issues with system-wide installations, it's recommended to use a virtual environment.\n\n#### a. Create a Virtual Environment\n\n```bash\npython3 -m venv myenv\nsource myenv/bin/activate\n```\n\n#### b. Install Dependencies\n\n```bash\npip install qrcode[pil]\n```\n\n## Usage\n\nRun the script using Python:\n\n```bash\npython qrcodegen.py\n```\n\nYou will be prompted to:\n\n- Enter the URL to encode in the QR code.\n- Specify the name of the output file (e.g., `myqrcode.png`).\n- Choose the fill color of the QR code (e.g., `blue`).\n- Choose the background color of the QR code (e.g., `aliceblue`).\n\nThe script will generate the QR code and save it as the specified image file.\n\n### Example Interaction\n\n```\nQRCode Generator by RhythmusByte\n\nEnter the URL to encode in the QR code: https://example.com\nEnter the name of the output file (e.g., 'qr_code.png'): example_qr.png\nEnter the fill color for the QR code (e.g., 'blue'): red\nEnter the background color for the QR code (e.g., 'aliceblue'): white\nQR code generated and saved as example_qr.png\nData in QR code: ['https://example.com']\n```\n\n## Common Issues\n\n### ModuleNotFoundError: No module named 'qrcode'\n\nIf you encounter this error:\n\n```\nModuleNotFoundError: No module named 'qrcode'\n```\n\nIt means that the `qrcode` module is not installed or not recognized in your environment. To fix this:\n\n1. **Activate the virtual environment** (if you created one):\n\n   ```bash\n   source myenv/bin/activate\n   ```\n\n2. **Install the `qrcode` module**:\n\n   ```bash\n   pip install qrcode[pil]\n   ```\n\n3. **Run the script again**:\n\n   ```bash\n   python qrcodegen.py\n   ```\n\nIf you still encounter issues, ensure you're in the correct environment or consider reinstalling the module.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frhythmusbyte%2Fqrcode-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frhythmusbyte%2Fqrcode-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frhythmusbyte%2Fqrcode-generator/lists"}