{"id":26249473,"url":"https://github.com/randomgamingdev/qr-cartridge","last_synced_at":"2025-08-20T19:07:55.657Z","repository":{"id":176176208,"uuid":"655104645","full_name":"RandomGamingDev/qr-cartridge","owner":"RandomGamingDev","description":"A basic build system including library importing from URLs for creating code that can be stored onto QR codes and ran directly off of them on the browser.","archived":false,"fork":false,"pushed_at":"2024-06-01T15:10:36.000Z","size":30,"stargazers_count":25,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-24T01:43:22.058Z","etag":null,"topics":["build","build-system","build-tool","buildsystem","cartridge","cartridges","compiler","qrcode","qrcode-generator","small","tiny"],"latest_commit_sha":null,"homepage":"","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/RandomGamingDev.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-06-17T22:47:57.000Z","updated_at":"2025-01-01T14:02:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"c31c3626-871e-48e8-98bf-d3b2b7929e8f","html_url":"https://github.com/RandomGamingDev/qr-cartridge","commit_stats":null,"previous_names":["randomgamingdev/qr-cartridge"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/RandomGamingDev/qr-cartridge","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RandomGamingDev%2Fqr-cartridge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RandomGamingDev%2Fqr-cartridge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RandomGamingDev%2Fqr-cartridge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RandomGamingDev%2Fqr-cartridge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RandomGamingDev","download_url":"https://codeload.github.com/RandomGamingDev/qr-cartridge/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RandomGamingDev%2Fqr-cartridge/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271369743,"owners_count":24747799,"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","status":"online","status_checked_at":"2025-08-20T02:00:09.606Z","response_time":69,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["build","build-system","build-tool","buildsystem","cartridge","cartridges","compiler","qrcode","qrcode-generator","small","tiny"],"created_at":"2025-03-13T15:37:54.918Z","updated_at":"2025-08-20T19:07:55.609Z","avatar_url":"https://github.com/RandomGamingDev.png","language":"JavaScript","readme":"# qr-cartridge\nA basic build system including library importing from URLs for creating code that can be stored onto QR codes and ran directly off of them on the browser.\n\n### Examples\n\nThere's a basic example for quickstarting [here](https://github.com/RandomGamingDev/qr-cartridge/tree/main/example)! \u003cbr/\u003e\nAnother project that uses it is [qr-flappy-bird](https://github.com/RandomGamingDev/qr-flappy-bird) which is a very close recreation of flappy bird with assets and everything :D \u003cbr/\u003e\nHere's a video explaining how that project was made https://www.youtube.com/watch?v=CDMbnNxvrVM\n\n### How to use\n\nSimply create a directory containing a `.config` file with your filepaths to your code behind the `code:` tag and external libraries imported from URLs behind the `external:`. (btw don't indent the URLs or anything else just paste them in after the line with the tag)\nTags can be used multiple times and everything is imported in order.\n\nThen simply download the dependencies using `npm install` and then execute `comp.cjs` using NodeJS and follow the instructions or use the CLI argv inputs like this: `node comp.cjs \u003cconfig file location\u003e \u003cQR code error correction level\u003e`\nA `build` file will then be generated next to the config file containing everything you need.\n\nPlease Note: A few characters like `#` for instance will cut off the code at that point because of URL fragments.\n\n### Use it anywhere!\n\nBecause of the incredibly small size of javascript when properly minified alongside the wide browser support and the fact that the browsers do all the heavy lifting this is one of the perfect ways to create QR codes for tiny applications that anyone could use without requiring the internet!\ntbh if you're reading this the problem probably isn't that you don't have internet, but this project's a decently fun gimmick and it's really nice to see just how much you can fit onto a simple QR code :D\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frandomgamingdev%2Fqr-cartridge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frandomgamingdev%2Fqr-cartridge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frandomgamingdev%2Fqr-cartridge/lists"}