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

jingfm-cli

v0.3.0

Published

jingfm player in command line

Downloads

1

Readme

Nodejs 命令行播放Jing.fm歌曲

jingfm-cli

Jing.fm 是一款开创性的音乐应用,它最大的特色就是首创地通过“描述”来找到自己喜欢的音乐。Jing.fm改变用户收听音乐的方式.例如你可以搜索 吃饱了撑着失恋了, 我和小伙伴都惊呆了,都是优秀的搜索条件。彻底解决不知道听啥的问题!

然后你又是一个 极客 , 你偏偏想用命令行来解决听歌的问题。

但是你太懒了,你自己也不知道听什么歌。。

“我可以根据我的心情或者音乐的种类来搜歌么?我很懒。。。”

方法一:命令行可执行文件

当然可以,打开你牛逼的命令行,输入: $ ./jingfm play -u xvfeng -p xvfeng -k rock

又或者你使用 npm install jingfm-cli -g 安装,执行: jingfm-cli play -u $username -p $password -k "keywords here"

小提示: 使用双引号支持多个汉字空格搜索

尝试登录到 Jing.fm ...
成功登录到 Jing.fm ...
获取歌曲列表中 ...
即将播放 坂本英城 的 アクアヘブン
尝试获取歌曲播放地址 ...
正在打开...

安装方法

不知道怎么用?

试试这样 $ jingfm-cli --help

Usage: jingfm [options] [command]

Commands:

  play                   Try to play a song from Jing.fm

Options:

  -h, --help                 output usage information
  -V, --version              output the version number
  -u, --username <username>  Email
  -p, --password <password>  Password
  -k, --keywords <keywords>  Keywords

方法二:Nodejs 进程参数

如果你比较喜欢使用node打开:

$ node jingfm.js xvfeng xvfeng "some rock music"

听歌去吧,不用谢!

依赖

  • Jing.fm 帐号用于登陆
  • mplayer mac下可使用brew install mplayer安装,其他平台下同理

Liscense:

(WTFPL)