https://github.com/dynamsoft/barcode-reader-electron-nodejs
https://github.com/dynamsoft/barcode-reader-electron-nodejs
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/dynamsoft/barcode-reader-electron-nodejs
- Owner: Dynamsoft
- Created: 2020-10-16T10:13:01.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-04-27T01:27:34.000Z (almost 5 years ago)
- Last Synced: 2024-12-28T03:42:07.178Z (about 1 year ago)
- Language: C
- Size: 13.1 MB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Dynamsoft Barcode Reader with Electron
## What You Should Know
- [](https://www.dynamsoft.com/barcode-reader/downloads)
- [](https://www.dynamsoft.com/customer/license/trialLicense/?product=dbr)
## Introduction
Dynamsoft Barcode Reader with Electron (dbr-electron) is a cross-platform barcode reader application built with Electron.
Dynamic Barcode Reader is an 1D & 2D barcode decoding SDKs for web, desktop (Windows, macOS, Linux) and mobile (iOS, Android). It has industry-leading performance and professional technicians supports. For more details, refer [Dynamic Barcode Reader - Homepage](https://www.dynamsoft.com/Products/Dynamic-Barcode-Reader.aspx). You can get 30-day trial license to evaluate the SDK from [here](https://www.dynamsoft.com/customer/license/trialLicense).
## Environment
```
electron: 10.1.3
Dynamsoft Barcode Reader: 7.6.0
```
Besides, a **C++ compiler** (GCC or others) is required. The **node-gyp** is required.
> For developers from mainland China, try to specify the registry to taobao mirror [https://registry.npm.taobao.org](https://registry.npm.taobao.org) if encountered any slow connection issue.
## Installation
### Install packages
Run `npm install` from the project root directory. It would install all the dependencies, including electron.
### Build the Dynamsoft Barcode Reader
Linux & macOS:
```bash
cd libs/nodejs-barcode
../../node_modules/.bin/electron-rebuild
```
Windows:
```cmd
cd .\libs\nodejs-barcode
..\..\node_modules\.bin\electron-rebuild
```
## Launching
```bash
npm start
```


## Articles
[Creating A Cross-platform Electron Barcode Reader App](https://www.dynamsoft.com/codepool/?p=6807)