GithubHelp home page GithubHelp logo

patari's Introduction

Patari App

Patari app for Debian, OS X and Windows.

This is a wrapper around Patari music site using the wonderful Electron framework.

Why is that good?

  • No more 'trying to find in which tab is Patari running'
  • Media keys support! (Yeah, those with ▶ ❚❚ on them.)
  • Tray icon gives quick access to current playlist

Patari Screenshot

I love Patari and support their vision. So I made this app in my free time.

Download

Issues

  • If the Windows version crashes on playing any song, please set the compatibility mode for Patari.exe to Windows 7. The bug is currently under investigation.

Contribute

To clone and run this repository you'll need Git and Node.js (which comes with npm) installed on your computer. From your command line:

# Clone this repository
$ git clone https://github.com/asadm/patari
# Go into the repository
$ cd patari
# Install dependencies and run the app
$ npm install && npm start
# To build executables, first install electron-packager
$ npm install -g electron-packager
# To build bundle for OS X
$ npm run make-osx
# To build bundle for Windows
$ npm run make-win

Relevant Files

  • ./main.js holds the main logic for electron based app.
  • ./preload.js this script is injected into Patari website onload. Starts communication with host (main.js) and set's up helpers and listeners for DOM playlist changes etc.
  • ./libs/domhelpers.js This class is a wrapper around any interaction with HTML DOM of Patari. If Patari website changes significantly and breaks this app, This is where to make fixes.
  • ./libs/observer.js helper function used by domhelpers.js, uses MutationObserver checks if there are any changes in the DOM tree of given target.

License MIT

patari's People

Contributors

asadm avatar muwaqar avatar salmanhasni avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.