Skip to content

VibeView is a Progressive Web Application (PWA) built with Next.js that allows Spotify users to visualize and explore their music statistics.

License

Notifications You must be signed in to change notification settings

tahirmahmudzade/vibeview

Repository files navigation

VibeView 🎵

VibeView is a Progressive Web Application (PWA) built with Next.js that allows Spotify users to visualize and explore their music statistics. With VibeView, you can gain insights into your listening habits, discover your top tracks and artists, and track your recently played songs—all presented with a sleek and modern design.


⚠️ Important:

Spotify currently limits access to 25 users, and you’ll need to be whitelisted to use the app. Please contact me if you’d like to try it out! Without whitelisting, the app will throw an error after authentication.

Features ✨

🎧 Spotify Stats

  • View your top tracks and top artists.
  • Explore recently played tracks with album covers and playback times.
  • Analyze your listening habits over different time periods (e.g., last 4 weeks).

📱 Progressive Web App (PWA)

  • Fully installable on mobile and desktop devices.
  • Native app-like experience with standalone display mode.

🌟 Modern UI

  • Dark, Spotify-inspired theme with gradient backgrounds.
  • Responsive design for both desktop and mobile devices.
  • Intuitive navigation with sidebar menus and pagination.

🛠️ Built With:

  • Next.js for server-side rendering and optimized performance.
  • Spotify Web API for fetching user data.
  • Auth.js for Spotify authentication.
  • PWA support to make the app installable.

Installation 🛠️

Prerequisites

  • Node.js installed (v16 or later recommended).
  • A Spotify Developer account with API credentials.

Setup

  1. Clone the repository:
   git clone https://github.com/your-username/vibeview.git
   cd vibeview
  1. Install dependencies:
    pnpm install
  1. Create an .env.local file with the following variables:
    AUTH_SECRET=""
    AUTH_SPOTIFY_ID=""
    AUTH_SPOTIFY_SECRET=""
    AUTH_TRUST_HOST=true
    NEXTAUTH_SECRET=""
  1. Run the development server:
    pnpm run dev
  1. Open the app in your browser at http://localhost:3232. (configure port in package.json)
"scripts": {
    "dev": "next dev --turbopack -p 3232",
}

Usage 📖

  1. Log in with your Spotify account via the Explore Stats button in index page.

  2. Explore: • Top Tracks: View your favorite songs over various time periods. • Top Artists: Discover your most-listened-to artists. • Recently Played: Check out the tracks you’ve recently listened to.

  3. Install the app on your device:

    1. Android • Open the VibeView website in Google Chrome. • When the app detects installability, an Install Available alert will appear at the top of the screen. • Click the Install button in the alert
    2. IOS • Open the VibeView website in Safari. • Tap the Share button (a box with an arrow pointing up). • Scroll down and select Add to Home Screen. • Rename the app if desired, then tap Add in the top-right corner. The app will now appear on your home screen.

Progressive Web App 🌐

Key PWA Features

  1. Manifest Configuration: • theme_color: #000000 • background_color: #000000 • Fully branded with icons (192x192, 512x512).
  2. Standalone Mode: • VibeView runs like a native app without browser UI.

Tech Stack 🖥️

• Dev: Next.js • Authentication: Auth.js (Spotify OAuth) • Spotify API: Spotify Web API • PWA Support: Service Workers and Web App Manifest

Roadmap 🚀

• Add more detailed user analytics (e.g., genres, playlists). • Implement social sharing features for stats. • Add light mode support.

Contributing 🤝

Contributions are welcome! Follow these steps to contribute:

  1. Fork the repository.
  2. Create a feature branch:
   git checkout -b feature-name
  1. Commit your changes:
   git commit -m "Add your message here"
  1. Push to the branch:
   git push origin feature-name
  1. Open a Pull Request.

License 📝

This project is licensed under the MIT License. See the LICENSE file for details.

Contact 📧

If you have any questions or feedback, feel free to reach out:

• Email: [email protected]

Enjoy exploring your Spotify stats with VibeView! 🎶

About

VibeView is a Progressive Web Application (PWA) built with Next.js that allows Spotify users to visualize and explore their music statistics.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages