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 🙏

© 2024 – Pkg Stats / Ryan Hefner

hypertunes-spotify

v1.1.0

Published

A Spotify plugin for HyperTunes

Downloads

7

Readme

hypertunes-spotify

A Spotify plugin for HyperTunes

Requirements

Libspotify must be installed:

Mac

Make sure you have Homebrew installed, and...

brew install homebrew/binary/libspotify
sudo ln -s /usr/local/opt/libspotify/lib/libspotify.12.1.51.dylib /usr/local/opt/libspotify/lib/libspotify

You must also get an app key, here, and put it in this plugin's folder. Sorry, I can't give you mine (per the Spotify Developer Terms of Service).

Installation

I'll add an easy way to install plugins in HyperTunes soon, but for now:

Open a terminal (or command prompt) and go to your HyperTunes plugins folder (/Users/USERNAME/Library/Application Support/HyperTunes/plugins on macOS, C:\Users\USERNAME\AppData\Roaming\HyperTunes\plugins on Windows, /home/USERNAME/.config/HyperTunes/plugins or /home/USERNAME/.HyperTunes/plugins on Ubuntu/Linux). Run the following:

npm install hypertunes-spotify

# more info here: https://github.com/electron/electron/blob/master/docs/tutorial/using-native-node-modules.md#using-npm
# for Windows, replace `export` with `set`

# Electron's version.
export npm_config_target=1.2.3
# The architecture of Electron, can be ia32 or x64.
export npm_config_arch=x64
# Download headers for Electron.
export npm_config_disturl=https://atom.io/download/atom-shell
# Tell node-pre-gyp that we are building for Electron.
export npm_config_runtime=electron
# Tell node-pre-gyp to build module from source code.
export npm_config_build_from_source=true
# Install all dependencies, and store cache to ~/.electron-gyp.
# I don't know what the Windows equivalent for this is, sorry.
HOME=~/.electron-gyp npm install

Note

Currently, using this plugin (selecting it in the sidebar), causes HyperTunes' memory usage to double from 200mb to 400mb. I believe it has to do with the Web Audio API, possibly the buffers aren't being released or something like that. Anyways, this is just a warning, but if you have plenty of memory on your PC/Mac, it shouldn't be a problem.