{"id":25699599,"url":"https://github.com/vickydev810/snapify","last_synced_at":"2026-04-12T22:02:45.285Z","repository":{"id":274160288,"uuid":"921045230","full_name":"VickyDev810/Snapify","owner":"VickyDev810","description":"Snapify is a creative app that combines image captioning, emotion analysis, and music recommendation. Users upload photos, and Snapify curates personalized Spotify playlists based on the emotions detected in the image.","archived":false,"fork":false,"pushed_at":"2025-01-25T10:04:07.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-25T11:17:33.064Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/VickyDev810.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-01-23T08:31:47.000Z","updated_at":"2025-01-25T10:04:10.000Z","dependencies_parsed_at":"2025-01-25T11:17:42.395Z","dependency_job_id":"b108ef05-e881-448a-920c-5a537d41d3b8","html_url":"https://github.com/VickyDev810/Snapify","commit_stats":null,"previous_names":["vickydev810/snapify"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VickyDev810%2FSnapify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VickyDev810%2FSnapify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VickyDev810%2FSnapify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VickyDev810%2FSnapify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/VickyDev810","download_url":"https://codeload.github.com/VickyDev810/Snapify/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240593169,"owners_count":19825939,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-02-25T03:15:55.440Z","updated_at":"2026-04-12T22:02:45.217Z","avatar_url":"https://github.com/VickyDev810.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Snapify 📸🎵  \nSnapify is a creative app that combines image captioning, emotion analysis, and music recommendation. Users upload photos, and Snapify curates personalized Spotify playlists based on the emotions detected in the image.  \n\n---\n\n## 🚀 Features  \n- **Upload Photos**: Users can upload pictures directly from their devices.  \n- **Emotion Detection**: Analyze the emotion conveyed by the image using AI-powered models.  \n- **Spotify Integration**: Connect your Spotify account and receive playlists tailored to match the mood of your photo.  \n- **Seamless Experience**: Smooth interaction between image analysis and music recommendation for an intuitive user journey.  \n\n---\n\n## 🛠️ Tech Stack  \n### Models \u0026 Libraries  \n- **Image Captioning**: [Salesforce/blip-image-captioning-base](https://huggingface.co/Salesforce/blip-image-captioning-base)  \n- **Emotion Detection**: [bhadresh-savani/bert-base-uncased-emotion](https://huggingface.co/bhadresh-savani/bert-base-uncased-emotion)  \n- **Hugging Face Pipelines**: Streamline text classification and NLP processes.  \n\n### Backend  \n- **Python**: For integrating AI models and backend logic.  \n\n### Integration  \n- **Spotify API**: For fetching music recommendations and creating personalized playlists.  \n\n---\n\n## 🖼️ How It Works  \n1. **Upload an Image**: Users upload their favorite pictures from their devices.  \n2. **Generate Captions**: The app uses the `Salesforce/blip-image-captioning-base` model to create descriptive prompts for the uploaded image.  \n3. **Analyze Emotions**: The `bert-base-uncased-emotion` model identifies the emotions reflected in the generated prompt.  \n4. **Fetch Playlists**: Based on the detected emotions, Snapify fetches and suggests personalized playlists via the Spotify API.  \n\n---\n\n## 🔗 Setup \u0026 Installation  \n\n### Prerequisites  \n- Python 3.8+  \n- Spotify developer account  \n- Hugging Face account  \n\n### Installation  \n1. Clone the repository:  \n   ```bash\n   git clone https://github.com/your-username/snapify.git\n   cd snapify\n   ```  \n\n2. Install dependencies:  \n   ```bash\n   pip install -r requirements.txt\n   ```  \n\n3. Set up your Spotify credentials:  \n   - Go to the [Spotify Developer Dashboard](https://developer.spotify.com/dashboard/).  \n   - Create an app and get the client ID and client secret.  \n   - Add them to the environment variables or a `.env` file.  \n\n4. Run the app:  \n   ```bash\n   python app.py\n   ```  \n\n---\n\n## 🌟 Future Enhancements  \n- Multi-language support for captions and emotion analysis.  \n- Advanced playlist curation with user preferences.  \n- Social sharing to let users share their Snapify moments.  \n\n---\n\n## 📝 License  \nThis project is licensed under the [MIT License](LICENSE).  \n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvickydev810%2Fsnapify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvickydev810%2Fsnapify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvickydev810%2Fsnapify/lists"}