GithubHelp home page GithubHelp logo

md-azmal / sharp-tune Goto Github PK

View Code? Open in Web Editor NEW
23.0 2.0 10.0 2.52 MB

Lightweight Cross-platform music player build upon the node using the electron framework.

Home Page: https://electronjs.org/apps/sharp-tune

License: MIT License

HTML 17.49% JavaScript 60.49% CSS 22.01%
music music-player sound npm nodejs node node-js electron electron-app cross-platform

sharp-tune's Introduction

#Tune

Version 1.0.3

License Github All Releases

Lightweight Cross-platform music player build upon the node using the electron framework.

Visit on electron

Screenshot

Sharp Tune Sharp Tune

Usage

Application

  • Start the Application and select File option in the Application's menu.
  • Select the folder where you have the media files
  • Select one from the List and enjoy!!

Contribute

  • Clone the repo
  • Navigate to the main folder
  • Open the terminal and use npm install to install the dependencies
  • npm start to start the application

Features

  • LightWeight
  • Supports commmon multimedia format

Whats New!

  • Removed 3rd party dependecy for playing song
  • Used Web Audio API
  • Added Audio Visualiser

Credits

License & Copyright

© 2018 Md Azmal

sharp-tune's People

Contributors

anish-yadav avatar mansya avatar md-azmal avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

sharp-tune's Issues

new logo/icon

Hi, I am a graphic designer, I want to help others in graphic design.

After I reviewed your project, you have no logo on this project. Therefore I want to contribute to this project by creating a new logo / icon. what do you think?

fix the load time

It takes longer time to load music files and there are some glitches while playing

Cannot find module 'resources/electron.asar/browser/init.js'

module.js:545
    throw err;
    ^
Error: Cannot find module '/run/firejail/appimage/.appimage-7139/resources/electron.asar/browser/init.js'
    at Function.Module._resolveFilename (module.js:543:15)
    at Function.Module._load (module.js:473:25)
    at Function.Module.runMain (module.js:683:10)
    at startup (bootstrap_node.js:196:16)
    at bootstrap_node.js:622:3
Parent pid 7139, child pid 7142

May be caused by electron-userland/electron-builder#2958

Reference:
AppImage/appimage.github.io#658

XSS in player.js

            tmp.onloadeddata = function () {
                playList.push({
                    index: gi,
                    song: file,
                    song_name: file,
                    duration: tmp.duration
                })
                song_list.append(`<li class="list">
            <span class="index">${playList[gi].index + 1}</span>
            <span class="song">${playList[gi].song_name}</span>
            <span class="duration">${toTime(playList[gi].duration)}</span>
            </li>`);
                    playList.push({
                        index: gi,
                        song: file,
                        song_name: metadata.title || file,
                        duration: metadata.duration
                    });
                    song_list.append(`<li class="list">
                    <span class="index">${playList[gi].index + 1}</span>
                    <span class="song">${playList[gi].song_name}</span>
                    <span class="duration">${toTime(playList[gi].duration)}</span>
                    </li>`);

This is not secure, as you can just insert your own HTML/js into filename or metadata and have it execute inside the application: e.g. edit any MP3 file and set title to <script>alert('xss')</script>, and the alert box will pop up when you select a folder containing the song.

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.