Giter Site home page Giter Site logo

randomgamingdev / qr-cartridge Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 24 KB

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.

License: MIT License

JavaScript 91.22% HTML 8.78%
build build-system build-tool buildsystem cartridge cartridges compiler qrcode qrcode-generator small

qr-cartridge's Introduction

qr-cartridge

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.

There's an example here!

Simply 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) Tags can be used multiple times and everything is imported in order.

Then 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 <config file location> <QR code error correction level> A build file will then be generated next to the config file containing everything you need.

Please Note: A few characters like # for instance will cut off the code at that point. tbh idk y. Probably some weird HTML formatting thing with these tags.

Because 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! tbh 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

qr-cartridge's People

Contributors

randomgamingdev avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.