Skip to content

Ghost081280/Pumpitup

Repository files navigation

Pumpitup

Upload songs and PUMP THEM UP!

Song Investment App

A Flask-based web application where users can upload songs, invest in them using Solana cryptocurrency, and receive personalized song recommendations.

Features

  • Solana Authentication: Sign in using your Solana wallet.
  • Song Upload: Share your original music in MP3 or WAV format.
  • Investment: Invest in songs you believe in with Solana.
  • AI Recommendations: Personalized song suggestions based on your music taste.

Setup

Prerequisites

  • Python 3.x
  • Solana wallet (e.g., Phantom)
  • Access to a Solana RPC node (devnet for development)

Installation

  1. Clone the repository:
    git clone [your-repository-url]
    cd song-investment-app
    

Install dependencies: bash pip install -r requirements.txt Setup Environment Variables: Create a .env file: JWT_SECRET_KEY=your-secret-key SOLANA_RPC_URL=https://api.devnet.solana.com Run the Application: bash python song_investment_app.py

Usage Login: Use your Solana wallet address. Upload: Share your music. Invest: Support songs with SOL investment. Get Recommendations: Discover new music tailored to your taste.

API Endpoints POST /signin - Login with Solana wallet GET/PUT /user/profile - Manage user profile POST /upload - Upload a song GET /songs - Browse songs POST /songs/{song_id}/invest - Invest in a song GET /songs/{filename} - Download song GET /recommendations - Fetch song recommendations

Development Notes SQLite for database, consider PostgreSQL for production. Placeholder Solana transactions; implement client-side signing for production. Local file storage; for scalability, use cloud solutions. Basic AI integration for recommendations; can be enhanced.

Contributing Contributions are welcome! Open an issue for major changes, and ensure to update tests with new code.

Acknowledgments:

Flask: For providing a solid foundation for our web application with its lightweight, flexible framework. Solana: For enabling secure, decentralized wallet integration and opening up new possibilities in music investment through blockchain technology. SQLAlchemy: For simplifying database management, ensuring our data operations are efficient and scalable. AI Technologies: For enhancing user experience through personalized song recommendations, making music discovery intuitive and engaging.

License: https://github.com/Ghost081280/pumpitup/blob/main/LICENSE

About

Upload songs and PUMP THEM UP!

Resources

License

Stars

Watchers

Forks

Packages

No packages published