Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
hyper-spotify
Advanced tools
Spotify plugin for Hyper.
Display currently playing song on Spotify at the bottom of the terminal and allows you to control your favourite music
Simply add this plugin inside ~/.hyper.js
and enjoy your music :musical_note:
module.exports = {
...
plugins: ['hyper-spotify']
...
}
In your ~/.hyper.js
you can define the following parameters to customize hyper-spotify
appearance
modules.exports = {
config: {
...
hyperSpotify: {
position: 'top', // or 'bottom'
margin: 'default', // or 'double' or custom value
controlsPosition: 'default', // or 'left' or 'right'
},
...
},
...
};
hyper-spotify bar
supports 2 different positioning:
top
bottom
(default)hyper-spotify bar
supports 3 margin options:
default
, should work most of the timesdouble
, when using other bar plugins (such as hyper-statusline
or hyperline
)hyper-spotify controls
support 3 different positioning:
default
, controls appears just before the song detailsleft
, controls are fixed to the left side of Hyper windowright
, controls are fixed to the right side of Hyper windowhyper-spotify
support different themes:
default
, A light theme with a Spotify Green
(#1ED760
) Spotify iconlight
, An white theme suitable for dark hyper
themesdark
, A deep-black theme suitable for light hyper
themescustom
, A customizable theme (see below for more options)If you'd like to give a personal touch to hyper-spotify
, you can use a custom theme
and specify one or more of the theme colors
overlayColor
, the color to apply to hyper-spotify
bar background, defaults to white
(#FFF
)iconColor
, the color for every actionable icon, defaults to white
(#FFF
)spotifyIconColor
, the color for the Spotify icon (visible when Spotify
app is not running), defaults to iconColor
(if specified) or to Spotify Green
(#1ED760
)textColor
, track info color, defaults to white
(#FFF
)Custom theme sample configuration, edit your ~/.hyper.js
modules.exports = {
config: {
...
hyperSpotify: {
...
theme: 'custom', // important!
overlayColor: '#000',
iconColor: '#D75C1B',
spotifyIconColor: '#1ED760',
textColor: '#FFF'
},
...
},
...
};
The following hotkeys to control Spotify are enabled when Hyper terminal is focused:
CmdOrCtrl+Shift+Space
CmdOrCtrl+Shift+N
CmdOrCtrl+Shift+P
Currently works only on macOS
, Linux
(Tested on Ubuntu 17.04).
hyper-spotify
Unfortunately this seems to be a common issue with Hyper
plugins (see here zeit/hyper#191)
After installing hyper-spotify
if Hyper
complains about an error while enabling the plugin:
Hyper
appif even after restaring the issue persists try running the following command
$ cd ~/.hyper_plugins && npm install
abstract-socket
module errorIf you get an error related to abstract-socket
not being compiled with the correct Node version, you can try the following solution:
Hyper
electron version by running process.versions.electron
inside Hyper DevTools console~/.hyper_plugins/node_modules/.bin/electron-rebuild -v [output of process.versions.electron]
inside the terminalFor more details see issue #13.
hyper-statusline
If you have issue using this plugin alongside hyper-statusline
make sure this plugin is declared before hyper-statusline
.
This plugin is inspired by atom-spotify2
and relies on
spotify-js
to interact with Spotify client
If you found this plugin of your interest or if you need to control other media players be sure to check out
hyper-media-control
by @OrionNebula
Made with :sparkles: & :heart: by Mattia Panzeri and contributors
If you found this project to be helpful, please consider buying me a coffee.
FAQs
Add a Spotify controller to Hyper.
The npm package hyper-spotify receives a total of 4 weekly downloads. As such, hyper-spotify popularity was classified as not popular.
We found that hyper-spotify demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.