Giter Site home page Giter Site logo

fastqr's Introduction

fastQR

fastQR - Wasm based QR encoding

Svelte Front End

Rust -> Wasm Back End - in the Front End!

Tailwind CSS

Serverless by design for snappy QR code encoding - no more waiting 45 seconds for a server to finish!

No persistence - just generate a beautiful QR code and download

Free to use - host on a cdn. No ads.

Get this project running

Requirements:

  1. NodeJS V14+
  2. Rust

Setup:

  1. Clone repo into new project
  2. cd front_end
  3. npm install
  4. npm run dev
  5. Project served at localhost:5000

fastqr's People

Contributors

hellowthar avatar

Stargazers

Samuel Overton Jr. avatar Keith Korter avatar

Watchers

 avatar

fastqr's Issues

Style Picker

Need a style picker on the front end and corresponding rust method/s.

Let users mix and match between:

  • Squares
  • Circles
  • Rounded Corner Squares
  • Blobs
  • Separate or Connecting
    • Horizontal or Vertical or Both Connecting

PNG/JPG Export

Need a conversion from SVG -> PNG or JPG function.

Possible implementations:

Generation

  • Generate all versions per click and have at the ready
  • Convert only when called upon

Display

  • Force direct a tag download using base64 encoding
  • Display on the page as png/jpg and direct user to right click download

Reduce wasm binary size

Most likely have to trim the source code for the library. The encoding and svg_to_string method is probably all we need. JS canvas can do an svg -> png conversion with little effort.

Position squares identifier

Need to implement an algorithm that identifies the positional squares in the upper left, upper right, and bottom left corners. They are a 7x7 perimeter with a 3x3 filled in square internally

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.