This repository contains a full stack app, a Music player created Using Tauri, React and Rust, it was created using:
- Tauri
- Rust
- Rust-id3 crate
- React
- React Router
- React i18Next
- Zustand
- HTML
- CSS
- TypeScript
- To run this project you need:
- NodeJS
- Rust
- Tauri
- Visual Studio Code
Once you have that, you're ready to go
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
Contributions are always welcome!
Please send a message if you're interested in contributing to the proyect.
Jesus Alberto - @LinkedIn