Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xwartz/PupaFM
π΅ douban.fm Music Desktop Player
https://github.com/xwartz/PupaFM
douban electron react redux
Last synced: about 1 month ago
JSON representation
π΅ douban.fm Music Desktop Player
- Host: GitHub
- URL: https://github.com/xwartz/PupaFM
- Owner: xwartz
- License: mit
- Archived: true
- Created: 2016-03-16T15:38:15.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2018-01-03T07:28:38.000Z (almost 7 years ago)
- Last Synced: 2024-07-24T10:10:04.031Z (5 months ago)
- Topics: douban, electron, react, redux
- Language: JavaScript
- Homepage: https://github.com/xwartz/PupaFM
- Size: 1.39 MB
- Stars: 331
- Watchers: 11
- Forks: 59
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-electron-zh - PupaFM - DoubanFM music player. (Apps / Open Source)
- awesome-electron - PupaFM - DoubanFM music player. ![](https://img.shields.io/github/stars/xwartz/PupaFM.svg?style=social&label=Star) (Apps / Video/Music)
README
## PupaFM
![screen](./screen.png)[douban.fm](https://douban.fm) Music Desktop Player.
[![Build Status](https://travis-ci.org/xwartz/PupaFM.svg?branch=master)](https://travis-ci.org/xwartz/PupaFM)
[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](http://standardjs.com/)
[![Dependency Status](https://david-dm.org/xwartz/PupaFM.svg?style=flat-square)](https://david-dm.org/xwartz/PupaFM)
[![MIT Licensed](https://img.shields.io/badge/License-MIT-blue.svg?style=flat)](https://opensource.org/licenses/MIT)### [δΈζθ―΄ζ](./README_ZH.md)
## based on
![based on](./erb-logo.png)
1. Framework: [Electron](http://electron.atom.io/)
2. Bundler: [Webpack](http://webpack.github.io/docs/),
[Babel](https://babeljs.io),
[electron-builder](https://github.com/electron-userland/electron-builder)
3. Language: [ES2015](https://babeljs.io/docs/learn-es2015/), [Sass](http://sass-lang.com/)
4. Library: [React](https://facebook.github.io/react/), [Redux](https://github.com/reactjs/redux),
[React Router](https://github.com/reactjs/react-router),
[React Hot Loader](https://github.com/gaearon/react-hot-loader),
[Redux Thunk](https://github.com/gaearon/redux-thunk)
5. Lint: [ESLint](http://eslint.org/)## Release Page
[Releases](https://github.com/xwartz/PupaFM/releases)## Development
![based on](./dev.png)
### Redux DevTools
See [redux-devtools-dock-monitor](https://github.com/gaearon/redux-devtools-dock-monitor) for more information.### Install
First, clone the repo via git:
```bash
git clone [email protected]:xwartz/PupaFM.git
```And then install dependencies.
```bash
$ cd PupaFM && npm i
```### run
```bash
$ npm run hot-server
$ npm run hot-start
```or enable watch with pm2 [eco.json](./eco.json)
```bash
$ npm start
$ npm stop
$ npm restart
```## Package
```bash
$ npm run compile
$ npm run pack
```or just run package
```bash
$ npm run package
```## Build installer App
By default build for current platform and current arch.
```bash
$ npm run builder
```Build app for Windows
```bash
$ npm run builder:win
```Build app for Linux
```bash
$ npm run builder:linux
```## Note
Before runing `package` or `builder`, you should read [electron-builder docs](https://github.com/electron-userland/electron-builder#readme) and checkout [Code Signing](https://github.com/electron-userland/electron-builder#code-signing)## Contribution
Follow this [code style](./.eslintrc.js)
```bash
$ npm install
# install pre-commit lint hook
$ npm run install-hook
```## License
MIT Β© [xwartz](https://github.com/xwartz)