{"id":22876968,"url":"https://github.com/adelelawady/beat-stream","last_synced_at":"2025-07-31T23:32:37.985Z","repository":{"id":262334265,"uuid":"879471392","full_name":"adelelawady/beat-stream","owner":"adelelawady","description":"BeatStream is a powerful music streaming and management application built Using Java. It allows users to download tracks and playlists from popular platforms like YouTube, SoundCloud, and Spotify. BeatStream also lets you upload your own songs, create a personalized library of tracks and playlists ","archived":false,"fork":false,"pushed_at":"2024-10-30T02:37:24.000Z","size":10425,"stargazers_count":11,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-31T03:05:38.905Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://github.com/adelelawady/beat-stream","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/adelelawady.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-10-28T01:04:43.000Z","updated_at":"2025-01-21T03:57:04.000Z","dependencies_parsed_at":"2024-11-11T22:32:53.143Z","dependency_job_id":null,"html_url":"https://github.com/adelelawady/beat-stream","commit_stats":null,"previous_names":["adelelawady/beat-stream"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adelelawady%2Fbeat-stream","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adelelawady%2Fbeat-stream/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adelelawady%2Fbeat-stream/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adelelawady%2Fbeat-stream/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adelelawady","download_url":"https://codeload.github.com/adelelawady/beat-stream/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252770257,"owners_count":21801515,"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":"2024-12-13T15:28:33.733Z","updated_at":"2025-07-31T23:32:37.956Z","avatar_url":"https://github.com/adelelawady.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\n# 🎶 BeatStream\n\n\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/user-attachments/assets/b83cf4a8-0c56-4943-8399-7bf039b4edba\" alt=\"Release Image\" width=\"150\"/\u003e\n\u003c/div\u003e\n\n\n\n\n\n\nBeatStream is a powerful music streaming and management application built using **JHipster** and Java. It allows users to download tracks and playlists from popular platforms like YouTube, SoundCloud, and Spotify. BeatStream also lets you upload your own songs, create a personalized library of tracks and playlists, and manage your music collection seamlessly. 🎧\n\n\n[DOWNLOAD RELEASE 2 BETA ](https://github.com/adelelawady/beat-stream/releases/download/2.0.0.0/BeatStream.2.0.Beta.exe)\n[![Downloads](https://img.shields.io/github/downloads/adelelawady/beat-stream/total.svg)](https://github.com/adelelawady/beat-stream/releases/)\n\n\u003cdiv align=\"center\"\u003e\n  \n  ### Overview of BeatStream 🎶\n  \u003cimg width=\"800\" alt=\"Overview Screenshot\" src=\"https://github.com/user-attachments/assets/9a7475d7-f5f6-4d3e-a629-b57a7176f8d3\"\u003e\n  \u003cbr\u003e\u003cbr\u003e\n\n  ### Full Library Management 📚\n  \u003cimg width=\"800\" alt=\"Library Management Screenshot\" src=\"https://github.com/user-attachments/assets/ad1c80c1-2425-40d0-8c15-c76205b3e551\"\u003e\n  \u003cbr\u003e\u003cbr\u003e\n\n  ### Download Progress Tracking 📥\n  \u003cimg width=\"800\" alt=\"Download Tracking Screenshot\" src=\"https://github.com/user-attachments/assets/b8acdb77-a9e0-43f2-b837-ff11231283d7\"\u003e\n  \n\u003c/div\u003e\n\n## Features\n\n\n- 📥 **Download Music:** Easily download tracks and playlists from YouTube ![youtube](https://github.com/user-attachments/assets/780e3019-56ed-43b5-aa62-c0d6ff2cf1c6), SoundCloud ![soundcloud](https://github.com/user-attachments/assets/dfdda467-e73f-4236-b8b3-f2a64dada9ee), and Spotify   \u003cimg src=\"https://upload.wikimedia.org/wikipedia/commons/8/84/Spotify_icon.svg\" alt=\"Release Image\" width=\"32\"/\u003e\n\n- 📤 **Upload Your Own Songs:** Add your personal music tracks to your library.\n- 📚 **Library Management:** Create and manage a comprehensive library of songs and playlists.\n- 📊 **Download Tracking:** Keep track of your downloads, including their progress and status.\n- 🔄 **Task Downloads:** Queue multiple downloads and manage them efficiently.\n- 🛠️ **Powerful Tools:** Utilizes **yt-dl** for downloading, **ffmpeg** for audio processing, and **ChromeDriver** for web automation.\n\n## Technologies Used\n\nBeatStream is built using:\n\n- **Java** for the backend.\n- **Spring Boot** for building the application.\n- **JHipster** for rapid development and scaffolding.\n- **Angular** (if applicable) for the front end.\n- **MongoDb** (or your preferred database) for data persistence.\n- **electron** For Windows APP\n- \n## Requirements\n\nTo run BeatStream, you will need:\n\n- ☕ Java Development Kit (JDK) 11 or later\n- 🎥 **yt-dl:** A command-line program to download videos from YouTube and other sites.\n- 🎵 **ffmpeg:** A tool to handle multimedia files and streams.\n- 🌐 **ChromeDriver:** For automating Chrome browser actions.\n- **Node.js** and **npm**\n- 🐱‍🏍 **MongoDB:** Ensure that you have MongoDB running, as BeatStream uses it for data storage.\n\n## Installation\n\n1. 🛠️ **Clone the repository:**\n   ```bash\n   git clone https://github.com/adelelawady/beatstream.git\n   cd beatstream\n   ./mvnw\n   ```\n\n# Usage\n\n🚀 Access the application:\nOpen your web browser and navigate to http://localhost:8080.\n📖 Follow the on-screen instructions to download tracks, upload songs, and manage your library.\n\n# API Documentation\n\nFor API documentation, visit http://localhost:8080/swagger-ui/.\n\n# Contributing\n\n🤝 Contributions are welcome! If you have suggestions for improvements or new features, feel free to fork the repository and submit a pull request.\n\n# License\n\n📝 This project is licensed under the MIT License - see the LICENSE file for details.\n\n\n\u003e **Important Note on Spotify Downloads**:  \n\u003e The BeatStream app provides a **limited integration with Spotify** that allows users to download songs by **grabbing the song title from Spotify and searching for it on YouTube**.  \n\u003e - **Single-Track Limitation**: Downloads are currently limited to one song per request for any Spotify track.  \n\u003e - **Educational Use Only**: This functionality is designed for **educational and personal research purposes** only. BeatStream aims to serve as a **learning tool** for those interested in understanding how multimedia streaming technologies work, promoting digital literacy, and encouraging responsible, ethical use of software.\n\u003e\n\n# beatStream\n\nThis application was generated using JHipster 8.7.1, you can find documentation and help at [https://www.jhipster.tech/documentation-archive/v8.7.1](https://www.jhipster.tech/documentation-archive/v8.7.1).\n\n## Project Structure\n\nNode is required for generation and recommended for development. `package.json` is always generated for a better development experience with prettier, commit hooks, scripts and so on.\n\nIn the project root, JHipster generates configuration files for tools like git, prettier, eslint, husky, and others that are well known and you can find references in the web.\n\n`/src/*` structure follows default Java structure.\n\n- `.yo-rc.json` - Yeoman configuration file\n  JHipster configuration is stored in this file at `generator-jhipster` key. You may find `generator-jhipster-*` for specific blueprints configuration.\n- `.yo-resolve` (optional) - Yeoman conflict resolver\n  Allows to use a specific action when conflicts are found skipping prompts for files that matches a pattern. Each line should match `[pattern] [action]` with pattern been a [Minimatch](https://github.com/isaacs/minimatch#minimatch) pattern and action been one of skip (default if omitted) or force. Lines starting with `#` are considered comments and are ignored.\n- `.jhipster/*.json` - JHipster entity configuration files\n\n- `npmw` - wrapper to use locally installed npm.\n  JHipster installs Node and npm locally using the build tool by default. This wrapper makes sure npm is installed locally and uses it avoiding some differences different versions can cause. By using `./npmw` instead of the traditional `npm` you can configure a Node-less environment to develop or test your application.\n- `/src/main/docker` - Docker configurations for the application and services that the application depends on\n\n## Development\n\n### Doing API-First development using openapi-generator-cli\n\n[OpenAPI-Generator]() is configured for this application. You can generate API code from the `src/main/resources/swagger/api.yml` definition file by running:\n\n```bash\n./mvnw generate-sources\n```\n\nThen implements the generated delegate classes with `@Service` classes.\n\nTo edit the `api.yml` definition file, you can use a tool such as [Swagger-Editor](). Start a local instance of the swagger-editor using docker by running: `docker compose -f src/main/docker/swagger-editor.yml up -d`. The editor will then be reachable at [http://localhost:7742](http://localhost:7742).\n\nRefer to [Doing API-First development][] for more details.\nThe build system will install automatically the recommended version of Node and npm.\n\nWe provide a wrapper to launch npm.\nYou will only need to run this command when dependencies change in [package.json](package.json).\n\n```\n./npmw install\n```\n\nWe use npm scripts and [Angular CLI][] with [Webpack][] as our build system.\n\nRun the following commands in two separate terminals to create a blissful development experience where your browser\nauto-refreshes when files change on your hard drive.\n\n```\n./mvnw\n./npmw start\n```\n\nNpm is also used to manage CSS and JavaScript dependencies used in this application. You can upgrade dependencies by\nspecifying a newer version in [package.json](package.json). You can also run `./npmw update` and `./npmw install` to manage dependencies.\nAdd the `help` flag on any command to see how you can use it. For example, `./npmw help update`.\n\nThe `./npmw run` command will list all the scripts available to run for this project.\n\n### PWA Support\n\nJHipster ships with PWA (Progressive Web App) support, and it's turned off by default. One of the main components of a PWA is a service worker.\n\nThe service worker initialization code is disabled by default. To enable it, uncomment the following code in `src/main/webapp/app/app.config.ts`:\n\n```typescript\nServiceWorkerModule.register('ngsw-worker.js', { enabled: false });\n```\n\n### Managing dependencies\n\nFor example, to add [Leaflet][] library as a runtime dependency of your application, you would run following command:\n\n```\n./npmw install --save --save-exact leaflet\n```\n\nTo benefit from TypeScript type definitions from [DefinitelyTyped][] repository in development, you would run following command:\n\n```\n./npmw install --save-dev --save-exact @types/leaflet\n```\n\nThen you would import the JS and CSS files specified in library's installation instructions so that [Webpack][] knows about them:\nEdit [src/main/webapp/app/app.config.ts](src/main/webapp/app/app.config.ts) file:\n\n```\nimport 'leaflet/dist/leaflet.js';\n```\n\nEdit [src/main/webapp/content/scss/vendor.scss](src/main/webapp/content/scss/vendor.scss) file:\n\n```\n@import 'leaflet/dist/leaflet.css';\n```\n\nNote: There are still a few other things remaining to do for Leaflet that we won't detail here.\n\nFor further instructions on how to develop with JHipster, have a look at [Using JHipster in development][].\n\n### Using Angular CLI\n\nYou can also use [Angular CLI][] to generate some custom client code.\n\nFor example, the following command:\n\n```\nng generate component my-component\n```\n\nwill generate few files:\n\n```\ncreate src/main/webapp/app/my-component/my-component.component.html\ncreate src/main/webapp/app/my-component/my-component.component.ts\nupdate src/main/webapp/app/app.config.ts\n```\n\n## Building for production\n\n### Packaging as jar\n\nTo build the final jar and optimize the beatStream application for production, run:\n\n```\n./mvnw -Pprod clean verify -DskipTests\n```\n\nThis will concatenate and minify the client CSS and JavaScript files. It will also modify `index.html` so it references these new files.\nTo ensure everything worked, run:\n\n```\njava -jar target/*.jar\n```\n\nThen navigate to [http://localhost:8080](http://localhost:8080) in your browser.\n\nRefer to [Using JHipster in production][] for more details.\n\n### Packaging as war\n\nTo package your application as a war in order to deploy it to an application server, run:\n\n```\n./mvnw -Pprod,war clean verify\n```\n\n### JHipster Control Center\n\nJHipster Control Center can help you manage and control your application(s). You can start a local control center server (accessible on http://localhost:7419) with:\n\n```\ndocker compose -f src/main/docker/jhipster-control-center.yml up\n```\n\n## Testing\n\n### Spring Boot tests\n\nTo launch your application's tests, run:\n\n```\n./mvnw verify\n```\n\n### Client tests\n\nUnit tests are run by [Jest][]. They're located in [src/test/javascript/](src/test/javascript/) and can be run with:\n\n```\n./npmw test\n```\n\n## Others\n\n### Code quality using Sonar\n\nSonar is used to analyse code quality. You can start a local Sonar server (accessible on http://localhost:9001) with:\n\n```\ndocker compose -f src/main/docker/sonar.yml up -d\n```\n\nNote: we have turned off forced authentication redirect for UI in [src/main/docker/sonar.yml](src/main/docker/sonar.yml) for out of the box experience while trying out SonarQube, for real use cases turn it back on.\n\nYou can run a Sonar analysis with using the [sonar-scanner](https://docs.sonarqube.org/display/SCAN/Analyzing+with+SonarQube+Scanner) or by using the maven plugin.\n\nThen, run a Sonar analysis:\n\n```\n./mvnw -Pprod clean verify sonar:sonar -Dsonar.login=admin -Dsonar.password=admin\n```\n\nIf you need to re-run the Sonar phase, please be sure to specify at least the `initialize` phase since Sonar properties are loaded from the sonar-project.properties file.\n\n```\n./mvnw initialize sonar:sonar -Dsonar.login=admin -Dsonar.password=admin\n```\n\nAdditionally, Instead of passing `sonar.password` and `sonar.login` as CLI arguments, these parameters can be configured from [sonar-project.properties](sonar-project.properties) as shown below:\n\n```\nsonar.login=admin\nsonar.password=admin\n```\n\nFor more information, refer to the [Code quality page][].\n\n### Using Docker to simplify development (optional)\n\nYou can use Docker to improve your JHipster development experience. A number of docker-compose configuration are available in the [src/main/docker](src/main/docker) folder to launch required third party services.\n\nFor example, to start a database in a docker container, run:\n\n```\ndocker compose -f src/main/docker/mongodb.yml up -d\n```\n\nTo stop it and remove the container, run:\n\n```\ndocker compose -f src/main/docker/mongodb.yml down\n```\n\nYou can also fully dockerize your application and all the services that it depends on.\nTo achieve this, first build a docker image of your app by running:\n\n```\nnpm run java:docker\n```\n\nOr build a arm64 docker image when using an arm64 processor os like MacOS with M1 processor family running:\n\n```\nnpm run java:docker:arm64\n```\n\nThen run:\n\n```\ndocker compose -f src/main/docker/app.yml up -d\n```\n\nWhen running Docker Desktop on MacOS Big Sur or later, consider enabling experimental `Use the new Virtualization framework` for better processing performance ([disk access performance is worse](https://github.com/docker/roadmap/issues/7)).\n\nFor more information refer to [Using Docker and Docker-Compose][], this page also contains information on the docker-compose sub-generator (`jhipster docker-compose`), which is able to generate docker configurations for one or several JHipster applications.\n\n## Continuous Integration (optional)\n\nTo configure CI for your project, run the ci-cd sub-generator (`jhipster ci-cd`), this will let you generate configuration files for a number of Continuous Integration systems. Consult the [Setting up Continuous Integration][] page for more information.\n\n[JHipster Homepage and latest documentation]: https://www.jhipster.tech\n[JHipster 8.7.1 archive]: https://www.jhipster.tech/documentation-archive/v8.7.1\n[Using JHipster in development]: https://www.jhipster.tech/documentation-archive/v8.7.1/development/\n[Using Docker and Docker-Compose]: https://www.jhipster.tech/documentation-archive/v8.7.1/docker-compose\n[Using JHipster in production]: https://www.jhipster.tech/documentation-archive/v8.7.1/production/\n[Running tests page]: https://www.jhipster.tech/documentation-archive/v8.7.1/running-tests/\n[Code quality page]: https://www.jhipster.tech/documentation-archive/v8.7.1/code-quality/\n[Setting up Continuous Integration]: https://www.jhipster.tech/documentation-archive/v8.7.1/setting-up-ci/\n[Node.js]: https://nodejs.org/\n[NPM]: https://www.npmjs.com/\n[OpenAPI-Generator]: https://openapi-generator.tech\n[Swagger-Editor]: https://editor.swagger.io\n[Doing API-First development]: https://www.jhipster.tech/documentation-archive/v8.7.1/doing-api-first-development/\n[Webpack]: https://webpack.github.io/\n[BrowserSync]: https://www.browsersync.io/\n[Jest]: https://facebook.github.io/jest/\n[Leaflet]: https://leafletjs.com/\n[DefinitelyTyped]: https://definitelytyped.org/\n[Angular CLI]: https://cli.angular.io/\n\n### Angular Core Libraries\n\n- **@angular/common**: Core common utilities 🌐, includes common directives like NgIf and NgFor, as well as pipes for handling dates, currency, and more.\n\n- **@angular/compiler**: Essential for Angular template compilation 🛠️, allowing HTML and Angular directives to render as interactive elements.\n\n- **@angular/core**: The heart of Angular's framework 🧩, including essential services and modules.\n\n- **@angular/forms**: Handles forms and form validation 📝, managing both reactive and template-driven forms.\n\n- **@angular/localize**: Localization support 🌍, enabling the app to support multiple languages.\n\n- **@angular/platform-browser** and **@angular/platform-browser-dynamic**: Provide DOM interactions 🖱️ and template compilation on the browser.\n\n- **@angular/router**: Routing and navigation 🧭, handling URL routing for a single-page application structure.\n\n### Capacitor Plugins\n\n- **@capacitor/android**, **@capacitor/cli**, **@capacitor/core**, **@capacitor/ios**: Facilitate mobile functionality for both iOS and Android 📱, enabling native functionality access, like file storage, notifications, and more.\n\n### FontAwesome Libraries\n\n- **@fortawesome/angular-fontawesome**: Angular component library for FontAwesome icons 🎨, allowing easy integration of scalable icons.\n\n- **@fortawesome/fontawesome-svg-core** and **@fortawesome/free-solid-svg-icons**: Core FontAwesome SVG support 🖼️, providing a vast collection of icons for UI components.\n\n### Translation and Localization\n\n- **@ngx-translate/core**: Core translation module 🌐, enabling dynamic translation handling.\n\n- **@ngx-translate/http-loader**: Allows loading translation files via HTTP requests 📂, making it simple to manage and update language files.\n\n### UI Frameworks\n\n- **@ng-bootstrap/ng-bootstrap**: Integrates Bootstrap into Angular 🖌️, enabling styled components like modals, alerts, and accordions.\n\n- **bootstrap** and **bootswatch**: Bootstrap library and themes 🎨, providing pre-designed styles and UI components.\n\n- **@popperjs/core** and **popper.js**: Handle positioning of tooltips and pop-ups 🗂️, essential for creating interactive UI elements.\n\n### File Handling\n\n- **ngx-file-drop**: Allows drag-and-drop file upload functionality 📥, enabling users to upload files by dragging them into a specified area.\n\n### Media Playback\n\n- **ngx-plyr** and **plyr**: Video and audio player support 🎶, providing customizable and lightweight media player features.\n\n### Utilities and Functional Libraries\n\n- **dayjs**: Lightweight date library 🗓️, ideal for date and time manipulation.\n\n- **jquery**: General DOM manipulation library ✨, enhancing the functionality of traditional JavaScript.\n\n- **rxjs**: Reactive programming support 🔄, offering observables that handle asynchronous data streams.\n\n- **tslib**: Utility library for TypeScript 🔧, minimizing bundle size and supporting helper functions.\n\n- **zone.js**: Execution context manager 🔍, crucial for handling async operations and change detection in Angular.\n\n### Infinite Scrolling\n\n- **ngx-infinite-scroll**: Provides infinite scroll functionality 🔄, enabling content to load dynamically as the user scrolls.\n\n### WebSocket and Real-time Communication\n\n- **@stomp/rx-stomp**: Manages STOMP messaging over WebSockets 🔗, allowing real-time data communication.\n\n- **sockjs-client**: Provides a WebSocket fallback 🌐, maintaining connection stability even when WebSocket isn’t supported.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadelelawady%2Fbeat-stream","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadelelawady%2Fbeat-stream","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadelelawady%2Fbeat-stream/lists"}