{"id":13402775,"url":"https://github.com/jeromeetienne/jquery-qrcode","last_synced_at":"2025-05-13T17:10:15.847Z","repository":{"id":40549837,"uuid":"1580893","full_name":"jeromeetienne/jquery-qrcode","owner":"jeromeetienne","description":"qrcode generation standalone (doesn't depend on external services)","archived":false,"fork":false,"pushed_at":"2023-12-22T20:46:11.000Z","size":41,"stargazers_count":4853,"open_issues_count":90,"forks_count":2496,"subscribers_count":250,"default_branch":"master","last_synced_at":"2025-04-24T01:55:40.282Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://blog.jetienne.com/blog/2011/04/07/jquery-qrcode/","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/jeromeetienne.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"MIT-LICENSE.txt","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":"2011-04-07T06:03:03.000Z","updated_at":"2025-04-23T12:08:26.000Z","dependencies_parsed_at":"2024-01-07T05:59:12.167Z","dependency_job_id":"d3421a95-dc62-4a14-ab4f-51de2769968f","html_url":"https://github.com/jeromeetienne/jquery-qrcode","commit_stats":{"total_commits":28,"total_committers":11,"mean_commits":"2.5454545454545454","dds":0.4285714285714286,"last_synced_commit":"6c0bdd8c4ac835e0553437365d6cc0e60c11cba3"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeromeetienne%2Fjquery-qrcode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeromeetienne%2Fjquery-qrcode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeromeetienne%2Fjquery-qrcode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeromeetienne%2Fjquery-qrcode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jeromeetienne","download_url":"https://codeload.github.com/jeromeetienne/jquery-qrcode/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253990467,"owners_count":21995774,"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":"2024-07-30T19:01:20.672Z","updated_at":"2025-05-13T17:10:10.836Z","avatar_url":"https://github.com/jeromeetienne.png","language":"JavaScript","funding_links":[],"categories":["JavaScript","Libraries","Web 前端","Uncategorized","38. 实用工具/其他插件 ##","41. 实用工具/其他插件","javascript"],"sub_categories":["QR code","Uncategorized","13.20 视差滚动(Parallax Scrolling) ###","24.3 Web Sockets"],"readme":"# jquery.qrcode.js\n\n\u003ca href='http://jeromeetienne.github.com/jquery-qrcode'\u003ejquery.qrcode.js\u003c/a\u003e\nis *jquery plugin for a pure browser qrcode generation*.\nIt allow you to easily add qrcode to your webpages.\nIt is standalone, less than 4k after minify+gzip, no image download.\nIt doesnt rely on external services which go on and off, or add latency while loading.\nIt is based on a \u003ca href='http://www.d-project.com/qrcode/index.html'\u003elibrary\u003c/a\u003e\nwhich build qrcode in various language. \u003ca href='http://jeromeetienne.github.com/jquery-qrcode'\u003ejquery.qrcode.js\u003c/a\u003e wraps\nit to make it easy to include in your own code.\n\nShow, don't tell, here is a \u003ca href='https://github.com/jeromeetienne/jquery-qrcode/blob/master/examples/basic.html'\u003eexample\u003c/a\u003e\n\n## How to Use It\n\nLet me walk you thru it. First include it in your webpage with the usual script tag\n    \n    \u003cscript type=\"text/javascript\" src=\"jquery.qrcode.min.js\"\u003e\u003c/script\u003e\n\nThen create a DOM element which gonna contains the generated qrcode image. Lets say\na div\n\n    \u003cdiv id=\"qrcode\"\u003e\u003c/div\u003e\n\nThen you add the *qrcode* in this container by\n\n    jquery('#qrcode').qrcode(\"this plugin is great\");\n\nThis is it. see it \u003ca href='examples/basic.html'\u003elive\u003c/a\u003e.\n\nYou can set the height and width of the generated qrcode:\n\n    jquery('#qrcode').qrcode({width: 64,height: 64,text: \"size doesn't matter\"});\n\n\n## Conclusion\n\u003ca href='http://jeromeetienne.github.com/jquery-qrcode'\u003ejquery.qrcode.js\u003c/a\u003e is available on github\n\u003ca href='https://github.com/jeromeetienne/jquery-qrcode'\u003ehere\u003c/a\u003e\nunder \u003ca href='https://github.com/jeromeetienne/jquery-qrcode/blob/master/MIT-LICENSE.txt'\u003eMIT license\u003c/a\u003e.\nIf you hit bugs, fill issues on github.\nFeel free to fork, modify and have fun with it :)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeromeetienne%2Fjquery-qrcode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjeromeetienne%2Fjquery-qrcode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeromeetienne%2Fjquery-qrcode/lists"}