elfiejs

Control your ELFIE drone using NodeJS

Usage no npm install needed!

<script type="module">
  import elfiejs from 'https://cdn.skypack.dev/elfiejs';
</script>

README

elfiejs

Control your ELFIE drone using Node.js

Prerequisites

  • An ELFIE drone (or similar)
  • Ability to connect to the drone's wireless network
  • Node.js version 8 or later

Getting started

Install the program and print the help:

npm install -g elfiejs
elfiejs -h

Connect your computer to your drone's wireless network.

Run elfiejs and follow the instructions printed to the console:

elfiejs

How does it work?

Running elfiejs will launch a local web server which hosts a browser application. The app will capture your keyboard and send the keystrokes to the server part, which in turn will control the ELFIE drone. Make sure that your computer is connected to your drone's wireless network before running elfiejs.

Acknowledgements

Thank you to 3demax for their project elfie written in Python, which heavily inspired elfiejs.

Thank you to @AJunyentFerre for making this possible by reverse-engineering a similar drone.