GithubHelp home page GithubHelp logo

imyelo / pyro Goto Github PK

View Code? Open in Web Editor NEW
4.0 4.0 0.0 1.53 MB

:fire: An indexed data burning tool designed for humans

JavaScript 8.92% Vue 32.74% CSS 11.68% HTML 46.65%
electron pyro hardware nodejs serialport vue vuex persistence burner csv

pyro's Introduction

PYRO

๐Ÿ”ฅ An indexed data burning tool designed for humans

Download

Screenshot

screenshot

Tech Stack

Driven by these awesome projects:

Get started

Setup

  1. Insert your burning board into the USB slot.
  2. Drop your csv into the app. For example, check ./test/fixtures/standard.csv.
  3. Select the correct serial port in the app.
  4. Fetch your adapter code from the network and save it. If you don't know how to use it, try the default options we offer first.
  5. Now you're ready.

Burn

We recommend that you use the qrcode scanner and turn on the Auto-Return mode. The scanner can work perfectly for you with the Auto-Burn mode of Pyro.

After you enter the identification of the device, the program will find the corresponding data for you from the data table, format and output to the specified serial port, complete the burning job.

Advanced

Adapter

To enable you to use pyro to burn any format of data into the hardware, we designed the Adapter model in pyro. You can create an adapter of your own by implementing the following two methods:

  • format(data)
  • find(list, identity)

For example:

exports.format = function (data) {
  return JSON.stringify(data)
}

exports.find = function (list, identity) {
  return list.find((item) => item.id === identity)
}

How to participate in contributing code

Required Softwares

  • Node.js >= 8
  • NPM >= 5.6

Installing dependencies

npm i

Developing

npm run dev

Building executable binary file

First, the environment for a win32 platform is required, because we need to build a win32 binary executable (.exe) for our embedded engineer partners, who are used to working on the win32 environment.

If you don't, check electron-userland/electron-builder : Multi platform build.

Build it:

npm run dist

Or if the above method fails:

npm run dist:retry:win

Then check dist/pyro x.y.z.exe.

Good luck.

FAQ

Don't have permission to open a port in Linux

When using Pyro in Linux, you are likely to receive an error that you do not have permission to open the port. In this case, you can simply use sudo to elevator. However, we recommend that you get permissions by running Pyro as a dialout user group. For example:

# add user to the dialout gorup
sudo adduser $(whoami) dialout

# change current group
newgrp dialout

# launch Pyro in development mode
npm run dev

For more information, see node-serialport#1297.

How to clear cache?

On the win32 platform, you can clear the Pyro cache by deleting ~/AppData/Roaming/pyro directory. For more information, see sindresorhus/electron-store.

pyro's People

Contributors

imgbotapp avatar imyelo avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  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.