npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

pixelfelt-blockly

v2021.5.11-9

Published

A handsfree creative coding platform. Build apps, make art, create bots, & more

Readme


Quickstart Setup

# 1) Setup
git clone https://github.com/midiblocks/midiblocks-web
cd midiblocks-web
npm install

# 2a) Web based mode (native browser events)
npm start

# 2b) Desktop mode (native desktop events)
npm run desktop

# 3) Point your browser to http://localhost:8080

Troubleshooting


🐞 Windows - If you run into errors after npm install it's probably due to Robot.js dependencies (most likely you need Python and node-gyp). If you don't need desktop mode then remove the line in package.json for "robotjs" and try running npm install again. If you do want desktop mode, then check out this README for a troubleshooting guide.

This will be fixed soon!


Contents


About

Midiblocks is a visual, all-in-one gesture mapping and handsfree desktop automation platform designed to help you use devices handsfree! Some use cases include:

Midiblocks is centered around blocks of code that are literally represented visually by blocks. Midiblocks is broken up into several views:

  • The Studio is where you actually snap the blocks together to map gestures to things. All of the blocks in a Studio workspace are collectively referred to as midiblocks

  • Each individual block represents JavaScript code and The Factory is where you design the shape of these blocks and write its code

  • The Library is where your Factory Blocks and Studio Midiblocks are stored. You can edit, remix, and delete them there

The Studio

🚧 More info coming soon

The Factory

🚧 More info coming soon

The Library

🚧 More info coming soon


Setup

Prereqs

Installing

  • Open terminal and clone this repository with: git clone https://github.com/midiblocks/midiblocks
  • Change into directory with: cd midiblocks
  • Run npm install from the project root to install dependencies (> 250Mb)
  • Run npm start from the project's root to start the app at localhost:8080

Browser Support

This project works in all browsers that natively support the Web MIDI API. Currently, the following browsers have built-in support:

  • Chrome (macOS, GNU/Linux, Android & Windows)
  • Opera (macOS, GNU/Linux, Windows)
  • Android WebView component (KitKat and above)
  • Edge (Windows)

For more info, including on how to support Firefox, Internet Explorer, and Safari see the WebMidi docs

Starting with version 77, Chrome deprecates Web MIDI usage on insecure origins. This means that, going forward, the page will need to be hosted on a secure origin (e.g. https://, localhost: or file:///) and the user will need to authorize usage (no matter if sysex is used or not). Firebase, Netflify, Github, and others provide free hosting.


Dev

Command line scripts

# DEVELOPMENT 
# -----------
# Start the app in development mode with localStorage
npm start

# HANDSFREE DESKTOP 
# -----------
# Same as `npm start` but it controls the desktop pointer instead of a virtual one
# Adds a "Desktop Mode" toggle
npm run desktop

# PRODUCTION
# ----------
# Build the app for production with localStorage
npm run build

# DEPLOY
# ----------
# Push the app to firebase. Must have:
# - Firebase Tools: npm i -g firebase-tools
# - Initialized with: firebase init
npm run deploy

window.app

The following is available through your browser's dev console:

window.app = {
  $,        // Main Vue instance
  $studio,  // The Studio component (only present when on that route)
  $factory  // The Factory component (only present when on that route)
}

🚧 More info coming soon

localStorage

The following is available inside localStorage:

{
  blocks: [],           // All loaded Factory Blocks
  midiblocks: [],       // All loaded Studio Midiblocks
  currentFactory: {},   // The Factory's last state (autosave)
  currentStudio: {},    // The Studio's last state (autosave)
  splitter: 50
}

🚧 More info coming soon


Keyboard Shortcuts


License: MIT

Copyright 2020 midiblocks

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.