Skip to content

This repository contains a music player created Using Tauri, React and Rust.

Notifications You must be signed in to change notification settings

jesusalberto11/MyMusicPlayer

Repository files navigation

MyMusicPlayer

🌟 About the Project

This repository contains a full stack app, a Music player created Using Tauri, React and Rust, it was created using:

📷 Screenshots

App_Image_1
App_Image_3

🧰 Getting Started

‼️ Prerequisites

  • To run this project you need:
    • NodeJS
    • Rust
    • Tauri
    • Visual Studio Code

Once you have that, you're ready to go

🏃 Installation and Run Locally

Clone the project

  git clone https://github.com/jesusalberto11/MyMusicPlayer

Go to the project directory

  cd MyMusicPlayer

Install the dependencies

  npm install

Create a .env file in src-tauri folder Copy paste the below variables to the .env file and replace the %USERNAME% to your username on Windows

Note: If you're using MacOS or Linux, you need to replace the whole path to your respective music path

##### - Music path where we're loading the music files
MUSIC_PATH=C:/Users/%USERNAME%/Music/Done/**/*.mp3

##### - Music strip prefix used for getting the song name
MUSIC_STRIP_PREFIX=C:/Users\\%USERNAME%\\Music\\Done\\

##### - Music folder where we're storing the songs images
SONGS_COVERS_FOLDER=C:/Users/%USERNAME%/Music/Done/img

##### - Songs image files path
SONGS_IMAGES_PATH=C:/Users/%USERNAME%/Music/Done/img/{}_image.jpg

Then you're ready to go

Launch the development server

  npm run tauri dev

👋 Contributing

Contributions are always welcome!

Please send a message if you're interested in contributing to the proyect.

🤝 Contact

Jesus Alberto - @LinkedIn