Git Product home page Git Product logo

webnfc-rsp's Introduction

Web NFC RSP

Web NFC RSP is a web port of the Sensor NFC Application for Android. It allows you to program security credentials into the Intel® RFID Sensor Platform (Intel® RSP) using web browser.

⚠️ WEB NFC RSP IS EXPERIMENTAL AND UNSUPPORTED SOFTWARE. FOR PRODUCTION USE, PLEASE REFER TO THE ANDROID APPLICATION.

Demo

Go to https://kenchris.github.io/webnfc-rsp/ (source)

Browser support

This web app requires Chrome for Android 81 (download) or later with Web NFC API enabled to function properly. To enable Web NFC API, type chrome://flags in the browser address bar and toggle enable-webnfc flag.

For experimental deployments, register for Web NFC Origin Trial (what is an Origin Trial?).

Development

This project makes use of ECMAScript Modules (ESM) and runs them directly in the browser using Snowpack. If you install new dependencies using npm like npm install --save @material/mwc-button, then please run npx snowpack afterwards to generate the new modules in web_modules folder. Also, the web_modules folder should be committed.

To install app dependencies and but any further steps, run

$ npm install

ESM compatible modules can be found using pika.dev. Material design web components can be found by searching for @material/mwc-. You can try out the demo page here: Material Web Components demo

To optimize deployment modules, run

$ npx snowpack --optimize

To test in the browser, run

$ npm run deploy

This project makes use of PKI.js which is kind of written as ESM modules, but requires some post-processing in order to actually work. This is done by rollup using the rollup.config.js - any modification to this requires a rebuild.

To rebuild the PKI.js modules, run

$ rollup -c rollup.config.js

Reporting a security issue

If you have information about a security issue or vulnerability with an Intel-maintained open source project on https://github.com/intel, please send an e-mail to [email protected]. Encrypt sensitive information using our PGP public key. For issues related to Intel products, please visit https://security-center.intel.com.

webnfc-rsp's People

Contributors

anssiko avatar kenchris avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

anssiko zolkis

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.