{"id":15056505,"url":"https://github.com/mindexpert7546/qr-code-generator","last_synced_at":"2026-01-01T23:06:37.333Z","repository":{"id":223857244,"uuid":"761695604","full_name":"mindexpert7546/qr-code-generator","owner":"mindexpert7546","description":"This is rest api for generate the QR-Code which is developed by Grails-3.x. ","archived":false,"fork":false,"pushed_at":"2024-02-22T12:58:09.000Z","size":82,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-21T01:31:32.232Z","etag":null,"topics":["grails","grails-plugin","grails3","groovy","qr","qr-code","qr-code-generator","qr-decomposition","qrcode","qrcode-generator","qrgeneration","rest-api","restful-api","zxing","zxing-qrcode"],"latest_commit_sha":null,"homepage":"","language":"Groovy","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/mindexpert7546.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-22T10:11:27.000Z","updated_at":"2024-02-22T12:44:16.000Z","dependencies_parsed_at":"2024-09-29T04:00:33.789Z","dependency_job_id":"7df9eee5-8926-40e8-a9c1-e01a53d64fed","html_url":"https://github.com/mindexpert7546/qr-code-generator","commit_stats":null,"previous_names":["mindexpert7546/qr-code-generator"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mindexpert7546%2Fqr-code-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mindexpert7546%2Fqr-code-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mindexpert7546%2Fqr-code-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mindexpert7546%2Fqr-code-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mindexpert7546","download_url":"https://codeload.github.com/mindexpert7546/qr-code-generator/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243538115,"owners_count":20307101,"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":["grails","grails-plugin","grails3","groovy","qr","qr-code","qr-code-generator","qr-decomposition","qrcode","qrcode-generator","qrgeneration","rest-api","restful-api","zxing","zxing-qrcode"],"created_at":"2024-09-24T21:52:13.321Z","updated_at":"2026-01-01T23:06:32.308Z","avatar_url":"https://github.com/mindexpert7546.png","language":"Groovy","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cheat Sheet \n\n## QR-Code Generator API : \n******************************************************\n1. Create the New Restful Application\n2. Dependency : \n\n  ```bash\n     compile 'com.google.zxing:core:3.4.1'\n     compile 'com.google.zxing:javase:3.4.1'\n```\n\t\n\tref link : https://mvnrepository.com/artifact/com.google.zxing/core/3.4.1\n\t\n3. Create the service for the generationg the qr code : \n\n4. Crete the controller to call the service to use it for creating the qr code \n\n5. Make sure URLMapping is working fine \n\nComplete ref : https://medium.com/nerd-for-tech/how-to-generate-qr-code-in-java-spring-boot-134adb81f10d\n\n## Screenshot : \n\n![Screenshot (24)](https://github.com/mindexpert7546/qr-code-generator/assets/89348788/c628d51a-9d26-417e-a7c5-67e03434dc92)\n\n\n# How to run : \n\n## make sure you hava install \n```bash\n| Grails Version: 3.2.6\n| Groovy Version: 2.4.7\n| JVM Version: 1.8.0_181\n```\n## Clone this api in you local system \n```bash\ngit clone https://github.com/mindexpert7546/qr-code-generator.git\n```\n## Go to the qr folder \n```bash\ncd qr-code-generator\n```\n## for running \n```bash\ngrails run-app\n```\n# To test this api by postman \n```bash\nhttp://localhost:8080/qrgen\n```\n### Above is the url of this api \nNow for final result : After url put /\u003ctext\u003e here the text will be converted into the qr \n### Explain : \nSupposed you enter : \n```bash\nhttp://localhost:8080/qrgen/mindexpert\n```\nIn above url mindexpert will be converted into the qr.\n\n\n## Some importent step : \n1. Crete the object of QRCodeWriter (e.g -  QRCodeWriter qrCodeWriter = new QRCodeWriter())\n\n2. Use qrCodeWriter to generate the qr code and store to the BitMatrix in from of 2D array (e.g-  BitMatrix bitMatrix = qrCodeWriter.encode(text, BarcodeFormat.QR_CODE, width, height))\n\n3. Crete the object of ByteArrayOutputStream to stor the qr code in form of byte (e.g-  ByteArrayOutputStream pngOutputStream = new ByteArrayOutputStream())\n\n4. Now the time to build complete qr code and store to the byte output Stream (e.g - MatrixToImageWriter.writeToStream(bitMatrix, \"PNG\", pngOutputStream,config))\n\nWe have successfuly build the application to generate the qr code in form of the png format ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmindexpert7546%2Fqr-code-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmindexpert7546%2Fqr-code-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmindexpert7546%2Fqr-code-generator/lists"}