All Projects → pkosterman → aws-lambda-barcode-generator

pkosterman / aws-lambda-barcode-generator

Licence: MIT license
This project uses a Node.js wrapper to build a Go Lambda function that generates & returns a barcode when triggered by AWS API Gateway.

Programming Languages

go
31211 projects - #10 most used programming language
javascript
184084 projects - #8 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to aws-lambda-barcode-generator

barcoder
Lightweight Barcode Encoding Library for .NET Framework, .NET Standard and .NET Core.
Stars: ✭ 76 (+442.86%)
Mutual labels:  barcode-generator, qrcode-generator, pdf417
ai barcode
Barcode generation,Barcode scanning,qrcode,qrcode generation,qrcode creator,flutter barcode,flutter qrcode,support android iOS web platform
Stars: ✭ 99 (+607.14%)
Mutual labels:  barcode-generator, qrcode-generator
Efqrcode
A better way to operate QR Code in Swift, support iOS, macOS, watchOS and tvOS.
Stars: ✭ 4,121 (+29335.71%)
Mutual labels:  barcode-generator, qrcode-generator
barcode.flutter
barcode generate library for Flutter
Stars: ✭ 58 (+314.29%)
Mutual labels:  barcode-generator
QRCode-Generator-PHP-Class
🚀 QRCode PHP class (library). QR Code Generator using vCard 4.0 and the Google Chart API
Stars: ✭ 91 (+550%)
Mutual labels:  qrcode-generator
rx-otp
HMAC-based (HOTP) and Time-based (TOTP) One-Time Password manager. Works with Google Authenticator for Two-Factor Authentication.
Stars: ✭ 79 (+464.29%)
Mutual labels:  qrcode-generator
EasyQRCodeJS-NodeJS
EasyQRCodeJS-NodeJS is a NodeJS server side javascript QRCode image(PNG/JPEG/SVG/Base64 data url) generator. Support setting Dot style, Logo, Background image, Colorful, Title and more. Support binary(hex) data mode.
Stars: ✭ 73 (+421.43%)
Mutual labels:  qrcode-generator
flutter qr code scanner generator sharing
Flutter App For Scanning, Generating, Sharing QR Code
Stars: ✭ 137 (+878.57%)
Mutual labels:  qrcode-generator
QRCodeGenLib4Pascal
Generates QR Codes from text strings and byte arrays.
Stars: ✭ 42 (+200%)
Mutual labels:  qrcode-generator
qrencoder
🔳 Make QR codes in R via libqrencode
Stars: ✭ 59 (+321.43%)
Mutual labels:  qrcode-generator
FoxBarcodeQR
FoxBarcodeQR is a supplement of FoxBarcode class only for QR Code barcodes. This class is an alternative solution for all developers who requested QR Code support.
Stars: ✭ 20 (+42.86%)
Mutual labels:  barcode-generator
luaqrcode
Pure Lua qrcode library
Stars: ✭ 114 (+714.29%)
Mutual labels:  qrcode-generator
QRCode
A QRCode Generator in Swift
Stars: ✭ 67 (+378.57%)
Mutual labels:  qrcode-generator
javascript-barcode
Dynamsoft Barcode Reader JavaScript SDK for package managers. PDF417, QR Code, DataMatrix, MaxiCode and more are supported.
Stars: ✭ 142 (+914.29%)
Mutual labels:  pdf417
QRCode-Telegram-bot
This is a simple bot. You generate QRcode with this bot
Stars: ✭ 12 (-14.29%)
Mutual labels:  qrcode-generator
next-qrcode
React hooks for generating QRCode for your next React apps.
Stars: ✭ 87 (+521.43%)
Mutual labels:  qrcode-generator
QRCodeGenerator
QRCode generator (c++/Qt #gui)
Stars: ✭ 57 (+307.14%)
Mutual labels:  qrcode-generator
QRCodeLibVBA
QR Code generator library in VBA
Stars: ✭ 59 (+321.43%)
Mutual labels:  qrcode-generator
QRCodeFX
Simple tool to generate/read QR Code and export it.
Stars: ✭ 31 (+121.43%)
Mutual labels:  qrcode-generator
qrrs
CLI QR code generator and reader written in rust
Stars: ✭ 29 (+107.14%)
Mutual labels:  qrcode-generator

AWS Lambda Barcode-generator

This is a sample project to demonstrate usage of Golang for AWS Lambda.

AWS Lambda is a cloud computing service that lets you run code without provisioning or managing servers. AWS Lambda executes your code only when needed and scales automatically.

Currently AWS Lambda natively supports Java, Node.js, Python, and C#.

This project uses a Node.js wrapper to build a Go Lambda function that generates and returns a barcode when triggered by AWS API Gateway. The barcode is returned as a base64 encoded PNG image string.

The Node.js wrapper keeps a Go process around to handle multiple invocations. The first time the function runs it will take a bit longer, but after that it greatly increases performance.

Why Go?

I have been using Go for the past 3 years, it's our language of choice at PassKit because of:

  • Speed! Very fast & a perfect choice for CPU-intensive tasks.
  • Quick & easy to master in a very short amount of time.
  • Portability across platforms.
  • Compiled binariers: plays nice with Docker.
  • Excellent concurreny primitives.
  • Well defined error handling patterns.
  • Rich standard libraries.
  • Standard code formatting / ease of maintenance.

Inspiration

The Node.js wrapper used in this project is inspired by:

Full Demo & Instructions

Click here for a detailed article on how to set this up with AWS API Gateway and Route 53.

Build

Clone this repo and cd into the project root then:

./build.sh

This will place a lambda.zip file into the build folder. You can update this zip file into AWS Lambda.

If you want to run go test, then you will also need to install lambda-test (Node command-line tool). I will place a repo of this on github shortly - just need to rewrite some of the logic.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].