Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including porg with all npm packages installed. Try it out:

var porg = require("porg")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

porg v1.0.3

🐧 Controlling a plush Porg via Node.js

code style: prettier All Contributors Code of Conduct


🐧 Controlling a plush Porg via Node.js


Make sure your hacked Porg is connected. See below for the Porg setup.

# Install globally

npm install -g porg
porg -e 'node myScript.js'

# Use npx
npx porg -e 'node myScript.js'

Porg Requirements

  • Electronic Disney Plush Porg
  • Arduino with Firmata firmware as described on
  • A breadboard
  • Wires
  • 220Ω resistor
  • Optocoupler (4N35)

Porg Setup

  1. Remove all the screws and fur until you get to the inside control plate Picture of disassembled Porg
  2. Solder to long wires on the control plate as shown on this picture Picture pointing at soldered wires on control plate
  3. Create a circuit as shown on the picture below: Schema of Wireup
  4. Connect Arduino to your computer


Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.


Thanks goes to these wonderful people (emoji key):

| [
Dominik Kundel](
[💻]( "Code") | | :---: |

This project follows the all-contributors specification. Contributions of any kind welcome!



RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free