VidFetch is a robust and versatile Flutter application that allows you to download YouTube videos and audios effortlessly. Using Riverpod for state management, it’s fully compatible with both Android and Windows platforms, ensuring a seamless experience on mobile and desktop devices.
Download YouTube Videos
: Save YouTube videos directly to your device.Download YouTube Audio
: Extract and download audio files from YouTube videos.Cross-Platform
: Works on both Android and Windows.Save to Gallery
: On Android, downloads are automatically saved to your gallery.Custom Save Path
: On Windows, choose where to save your downloaded files.State Management
: Utilizes Riverpod for efficient and scalable state management.
To get started with VidFetch, follow these steps:
Step 1:
Clone the Repository First, you'll need to clone the repository from GitHub. Open your terminal and run the following command:
https://github.com/MAHMOUDELSAYED69/VidFetch.git
Replace with the actual URL of your repository if it was changed.
Step 2:
Install Dependencies After navigating to the project directory, you need to install all the necessary dependencies. Run:
flutter pub get
This command fetches all the dependencies listed in the pubspec.yaml
file.
-
Step 3:
Configure the App Ensure all necessary configurations are done. This includes adding your assets and setting up environment variables if needed. Verify that yourpubspec.yaml
file includes all requiredassets
andfonts
. -
Step 4:
Run the Application Finally, run the application on your desired device using the following command: `
flutter run
This command compiles your Flutter app and deploys it to the connected device or simulator.
Additional Tips
Updating Dependencies:
If there are any updates to the dependencies, you can update them using:
flutter pub upgrade --major-versions
Flutter Doctor: Run flutter doctor to ensure that your development environment is set up correctly.
flutter doctor
This command checks your environment and displays a report of the status of your Flutter installation, dependencies, and connected devices.
By following these steps, you'll have the VidFetch app and running on your device. If you encounter any issues during installation, please refer to the Flutter documentation.
VidFetch relies on the following Flutter packages:
device_info_plus
: Retrieves device information.file_picker
: Allows users to pick files from the device.flutter
: The framework for building the app.flutter_riverpod
: State management solution.flutter_screenutil
: Responsive screen handling.image_gallery_saver
: Saves images or videos to the gallery.loading_indicator
: A widget for displaying various loading indicators.path_provider
: Provides access to commonly used locations on the filesystem.permission_handler
: Manages app permissions.window_manager
: Handles window management on desktop platforms.youtube_explode_dart
: A library for extracting YouTube media.
flutter_launcher_icons
: A package to automatically generate app icons.flutter_lints
: A collection of lints to improve the quality of your code.flutter_test
: A testing framework for Flutter.
Install the App
- Clone the repository and run flutter pub get to install dependencies.
- For Android, run flutter run on your device or emulator.
- For Windows, run flutter run -d windows on your PC.
Open the App
- Launch VidFetch on your device or desktop.
Select a YouTube Video
- Use the app interface to search for and select a YouTube video.
Choose Download Option
- Choose whether to download the video or extract the audio.
Save the File
- On Android, the file will automatically be saved to your gallery.
- On Windows, you'll be prompted to select a save location for the file.
View Downloaded Files
- Access your downloaded videos or audios from the gallery on Android or from the specified path on Windows.
Enjoy using VidFetch to easily download and manage YouTube videos and audios on Android and Windows!
This project is licensed under the MIT License - see the LICENSE file for details.
For any questions or feedback, please reach out via email: gcfjxvkj@gmail.com