Bronify is a music streaming app themed around LeBron James parody songs. This repository contains a static version of the application optimized for minimal to no hosting costs while maintaining all the functionality of the original app.
- Fully static site with no server-side rendering
- Progressive Web App (PWA) support with offline functionality
- Client-side routing that works with static hosting
- Media playback for audio and video content
- Custom media player with playlist support
- Mobile-friendly responsive design
- Node.js (v16 or higher)
- npm or yarn
- Basic knowledge of web hosting
- Clone this repository:
git clone https://github.com/your-username/lebronify.git
cd lebronify- Install dependencies:
npm install- Set up UI components:
npm run buildIMPORTANT: Before using this application, you need to add your own media assets:
- Create an
/assetsdirectory in the/publicfolder with the following structure:
/public/assets/
/album-covers/ # Album artwork images
/audio/ # MP3 files organized by album
/images/ # Other images used in the app
/thumbnails/ # Video thumbnails
/videos/ # Video files
- Update the media references in the data files:
- The main data files are located in
/lib/data.tsand/lib/artist-data.ts - All media URLs in these files are placeholders that need to be replaced with your actual media paths
Run the development server:
npm run devOpen http://localhost:3000 with your browser to see the result.
To build the static site:
npm run buildThis will generate a static site in the out directory that can be deployed to any static hosting service.
- Set up a GitHub repository for your project.
- Create a
.github/workflows/deploy.ymlfile to automate deployment. - Push your changes to GitHub and the static site will be deployed automatically.
- Connect your GitHub repository to Cloudflare Pages.
- Set the build command to
npm run build. - Set the build output directory to
out.
- Import your project into Vercel.
- Vercel will automatically detect the Next.js project and build it correctly.
- Modify
/lib/data.tsto add or update songs and playlists - Modify
/app/globals.cssto change the styling - Add your own media files to the
/public/assetsdirectory
Contributions are welcome! Please feel free to submit a Pull Request.
This project is open-source and available under the MIT License.