Code Monkey home page Code Monkey logo

slide-beacon-app's Introduction

slide-beacon-app

Mac OSX app from the slide-beacon project made with Electron. Share links from your computer using this app to broadcast them as a Physical Web Eddystone URL bluetooth beacon or mDNS.

To discover shared URLs wirelessly via bluetooth, use the physical-web-scan-app, or see the Physical Web website for Android and iOS clients.

Enter URLs manually or use this reveal.js plugin to share links in presentational slides.

Download pre-built binary or follow the instructions below to run with Electron or build your own binary.

Prerequisites to build

  • Node.js
  • Xcode and its Command Line Tools. You can find this under the menu Xcode -> Preferences -> Downloads

Install and build

After cloning or downloading this repo, install the dependencies listed in package.json:

npm install

Note: this currently uses a git url to get latest version of Bleno with High Sierra support.

Rebuild native modules for Electron use:

node ./node_modules/.bin/electron-rebuild

Run as Electron app:

npm run electron

Package as standalone Mac OSX app:

npm run package

Note: Edit the electron-packager options to your liking in the scripts section of package.json

slide-beacon-app's People

Contributors

dermike avatar greenkeeperio-bot avatar kevinahuber avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

slide-beacon-app's Issues

Fails to run

Steps to reproduce:

  1. Clone repo
  2. npm run rebuild
  3. npm run electron

Environment details below.

Unexpected result while probing for avahi: TypeError: argument 4 must be a string (name)
    at TypeError (native)
    at supportsInterfaceIndexLocalOnly (/Users/jhabdas/Developer/electron-slide-beacon/node_modules/mdns/lib/avahi.js:17:12)
    at Object.<anonymous> (/Users/jhabdas/Developer/electron-slide-beacon/node_modules/mdns/lib/avahi.js:32:20)
    at Module._compile (module.js:541:32)
    at Object.Module._extensions..js (module.js:550:10)
    at Module.load (module.js:456:32)
    at tryModuleLoad (module.js:415:12)
    at Function.Module._load (module.js:407:3)
    at Module.require (module.js:466:17)
    at require (internal/module.js:20:19)
App threw an error during load
Error: DNSServiceRef is not initialized
    at Error (native)
    at supportsInterfaceIndexLocalOnly (/Users/jhabdas/Developer/electron-slide-beacon/node_modules/mdns/lib/avahi.js:28:10)
    at Object.<anonymous> (/Users/jhabdas/Developer/electron-slide-beacon/node_modules/mdns/lib/avahi.js:32:20)
    at Module._compile (module.js:541:32)
    at Object.Module._extensions..js (module.js:550:10)
    at Module.load (module.js:456:32)
    at tryModuleLoad (module.js:415:12)
    at Function.Module._load (module.js:407:3)
    at Module.require (module.js:466:17)
    at require (internal/module.js:20:19)

xcode-select version 2343 (if you need something else, lmk - the tools are installed)
npm 3.9.0
node v6.2.0

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.