Generate QR-Codes for checking into events using the official Corona Warn App.

Overview

Corona Warn App QR-Code Generator

Generate QR-Codes for checking into events using the official Corona Warn App.

Go Reference Go Workflow Coverage Status Go Report Latest Release License Docker


Table of Contents

  1. Introduction
  2. Installation
  3. Usage
  4. Contributing
  5. License

Introduction

Corona Warn App QR-Code Generator is a Go client library and command line application for creating QR-Codes which users of the official Corona Warn App can use to check into events.

It is an implementation of the Protocol used to generate event and location QR codes for the Corona Warn App as described in their documentation.

This is not an official implementation! Use it at your own risk!

Installation

Download and install the pre-compiled binary manually

Binary releases are evailable on GitHub Releases.

Install using Homebrew

$ brew tap lukasmalkmus/tap
$ brew install cwa-qr

To update:

$ brew upgrade cwa-qr

Install using go get

$ go get github.com/lukasmalkmus/cwa-qr

Install from source

$ git clone https://github.com/lukasmalkmus/cwa-qr.git
$ cd cwa-qr
$ make install # Build and install binary into $GOPATH

Run the Docker image

Docker images are available on DockerHub.

$ docker pull lukasmalkmus/cwa-qr
$ docker run lukasmalkmus/cwa-qr

Validate installation

In all cases the installation can be validated by running cwa-qr -version in the terminal:

Corona Warn App QR-Code Generator version 1.0.0

Usage

$ cwa-qr [flags] <output-file>

Most basic usage:

$ cwa-qr event.png

Flags are optional. If not provided, the application questions for input on the command line.

Library usage

import cwaqr "github.com/lukasmalkmus/cwa-qr"

// ...

qrCode, err := cwaqr.GenerateQRCode(cwaqr.Event{
	// ...
})

// Write qrCode to file, etc.

Contributing

Feel free to submit PRs or to fill issues. Every kind of help is appreciated.

Before committing, make should run without any issues.

At least Go 1.16 is required.

License

© Lukas Malkmus, 2021

Distributed under MIT License (The MIT License).

See LICENSE for more information.

License Status

Releases(v0.2.0)
Owner
Lukas Malkmus
Student • Developer • Currently @axiomhq
Lukas Malkmus
Small, fast library to create ANSI colored strings and codes. [go, golang]

ansi Package ansi is a small, fast library to create ANSI colored strings and codes. Install Get it go get -u github.com/mgutz/ansi Example import "gi

Mario Gutierrez 362 Apr 23, 2022
CLI and web app to convert HTML markup to go-app.dev's syntax.

HTML to go-app Converter CLI and web app to convert HTML markup to go-app.dev's syntax. Installation CLI Static binaries are also available on GitHub

Felix Pojtinger 7 Feb 21, 2022
Test-app-url-shortner - A sample url shortener app to test Keploy integration capabilities

test-app-url-shortner A sample url shortener app to test Keploy integration capa

null 1 Jan 23, 2022
Go-cent-app - CENT.APP GO Package

CENT.APP - GO Package Official documentation - https://cent.app/en/merchant/api

Aleksandr Kalinkin 3 Mar 15, 2022
GitHub’s official command line tool

GitHub CLI gh is GitHub on the command line. It brings pull requests, issues, and other GitHub concepts to the terminal next to where you are already

GitHub CLI 28.5k May 15, 2022
The official CLI for Gitea

The official CLI for Gitea

null 1 Mar 8, 2022
Command-line tool to customize the official Spotify client. Supports Windows, MacOS and Linux.

Command-line tool to customize the official Spotify client. Supports Windows, MacOS and Linux. Features Change colors whole UI Inject CSS for advanced

null 11.2k May 16, 2022
GTDF-CLI - The official CLI tool to operate with Getting Things Done Framework

This is the official CLI tool to operate with Getting Things Done Framework. How

akrck02 1 Feb 14, 2022
Generate High Level Cloud Architecture diagrams using YAML syntax.

A commandline tool that generate High Level microservice & serverless Architecture diagrams using a declarative syntax defined in a YAML file.

Luca Sepe 533 May 22, 2022
A RESTful API Reservation App using Golang

Project-2 Project#2 "AirBnb" Reservation App Projek Kedua Pembangunan RESTful API Program Immersive Back End Batch 4 Kunjungi kami » ?? Build App & Da

null 1 Jan 12, 2022
Generate flags by parsing structures

Flags based on structures. The sflags package uses structs, reflection and struct field tags to allow you specify command line options. It supports di

null 134 Apr 13, 2022
Automatically generate Go (golang) struct definitions from example JSON

gojson gojson generates go struct definitions from json or yaml documents. Example $ curl -s https://api.github.com/repos/chimeracoder/gojson | gojson

Aditya Mukerjee 2.5k May 18, 2022
A CLI Tool to easily generate your Terraform configuration

Tf Tf is a command line tool to easily generate your Terraform configuration with an interactive prompt. Inspiration Boredom in Covid-19 Installation

Gowtham Munukutla 20 May 10, 2021
Generate Changelogs from Commits (CLI)

Commitlog Changelog generator using Commit History To see an example of this in action, you can check the actions file for this repo. Yes it uses itse

Reaper 61 May 7, 2022
CLI tool for CIDR range operations (check, generate)

cidrchk A CLI tool to assist you with CIDR ranges and IPs. Install it You can download the latest binary for Linux (Intel and Arm), macOS, and Windows

Michael Hausenblas 126 Apr 19, 2022
An alternative syntax to generate YAML (or JSON) from commandline

yo An alternative syntax to generate YAML (or JSON) from commandline. The ultimate commanline YAML (or JSON) generator! ... I'm kidding of course! but

Luca Sepe 10 Feb 2, 2022
Commandline tool to generate Cistercian numerals

cistercian Commandline tool to generate Cistercian numerals. Installation go get github.com/rhardih/cistercian Example usage Text $ cistercian 7323

René Hansen 41 Apr 27, 2022
Generate ANSI-/Ascii-art version images/Gifs in your terminal.

ANSI-Art NOTE: This toy project is not yet finished. ANSI-version Logo Block ANSI-version Logo ASCII-version Logo Support Platform You are kindly remi

Weiran Huang 41 Apr 10, 2022