Coder Social home page Coder Social logo

garywill / qrshot Goto Github PK

View Code? Open in Web Editor NEW
34.0 5.0 7.0 5 KB

Decode/encode QR code on Linux (X11). Decode QR code on screen, or encode a string then echo QR code on terminal 🖥️⌨️📲

Home Page: https://garywill.github.io

Shell 100.00%
linux qrcode-scanner screenshot qrcode qrcode-reader qrcode-generator qrencode qrdecoder terminal

qrshot's Introduction

qrshot

Decode QR code on screen, or encode a string then echo QR code on terminal, on Linux.

Usage

Decode

Run qrshot in terminal, use mouse to select QR code area on screen.

Encode

$ qrshot "Sample string"

encoding screenshot

Dependencies

  • scrot - screen capturer
  • zbar - image QR decoder
  • qrencode - QR encoder

qrshot's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

qrshot's Issues

edit for wayland

Sorry i do not yet have a pull request, but for those looking for this convenient script to work under wayland:
You might be able to replace the code line scrot .... with zbarimg -1 --quiet --raw <(grim -g "$(slurp)" - ) | wl-copy
it seems to work for me. Maybee it does for you. You need to have slurp grim and wl-copy installed.

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.