Giter Site home page Giter Site logo

qrenco.de's Introduction

Usage

The service is used to generate QR-codes for strings in a UNIX/Linux console using curl/httpie/wget or similar tools.

qrenco.de usage

The service can be used in a browser also. Just add qrenco.de/ before the URL.

qrenco.de in browser

The service uses libqrencode to generate QR-codes.

Installation

You don't need to install the service for using it (just try curl qrenco.de), but if you want to install it locally, do the following steps:

macOS

$ brew install qrencode

or

$ sudo port install qrencode

Debian/Ubuntu

$ sudo apt-get install qrencode python-virtualenv

Fedora >= 22

$ sudo dnf install qrencode python2-virtualenv

Common Steps

$ git clone https://github.com/chubin/qrenco.de
$ cd qrenco.de
$ virtualenv ve
$ ve/bin/pip install -r requirements.txt
$ ve/bin/python bin/srv.py

If you want to use a HTTP-frontend for the service, configure it this way:

server {
    listen 80;
    listen [::]:80;
    server_name  qrenco.de *.qrenco.de;
    access_log  /var/log/nginx/qrenco.de-access.log;
    error_log  /var/log/nginx/qrenco.de-error.log;

    location / {
        proxy_pass         http://127.0.0.1:8003;

        proxy_set_header   Host             $host;
        proxy_set_header   X-Real-IP        $remote_addr;
        proxy_set_header   X-Forwarded-For  $remote_addr;

        client_max_body_size       10m;
        client_body_buffer_size    128k;

        proxy_connect_timeout      90;
        proxy_send_timeout         90;
        proxy_read_timeout         90;

        proxy_buffer_size          4k;
        proxy_buffers              4 32k;
        proxy_busy_buffers_size    64k;
        proxy_temp_file_write_size 64k;

        expires                    off;
    }

}

qrenco.de's People

Contributors

chubin avatar 404networkerror 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.