mirror of
https://github.com/code3-dev/X2Local.git
synced 2026-04-26 21:15:52 +03:00
A cross-platform X (Twitter) video and audio downloader built with Flutter and GetX.
| .github/workflows | ||
| android | ||
| assets/icon | ||
| ios | ||
| lib | ||
| linux | ||
| macos | ||
| web | ||
| windows | ||
| .gitignore | ||
| .metadata | ||
| analysis_options.yaml | ||
| generate_icons.dart | ||
| LICENSE | ||
| pubspec.lock | ||
| pubspec.yaml | ||
| README.md | ||
X2Local - X Downloader
A cross-platform X (Twitter) video and audio downloader built with Flutter and GetX.
Features
- Download X (Twitter) videos and audio files
- Cross-platform support (Android, iOS, Web, Windows, macOS, Linux)
- Modern Material 3 design with glass UI effects
- Supports both MP4 video and MP3 audio downloads
- Progress tracking during downloads
- Clean and intuitive user interface
Getting Started
Prerequisites
- Flutter SDK 3.0 or higher
- Dart SDK 2.17 or higher
- Android Studio or VS Code with Flutter extensions
Installation
-
Clone the repository:
git clone https://github.com/code3-dev/X2Local.git -
Navigate to the project directory:
cd x2local -
Install dependencies:
flutter pub get -
Run the app:
flutter run
Usage
- Paste a valid X (Twitter) URL into the input field
- Select the download type (MP4 video or MP3 audio)
- Tap the Download button
- Wait for the download to complete
- Access your downloaded files in the device's download folder
Architecture
This app follows the GetX pattern for Flutter:
- Model: Data models for API responses
- Provider: Handles API requests
- Repository: Manages data operations
- Controller: Business logic with GetX state management
- View: UI components
- Binding: Dependency injection
Dependencies
get: State management and navigationhttp: API requestsdio: File downloading with progress trackingpermission_handler: Handle storage permissionspath_provider: Access device directoriesfile_picker: File selection (future enhancement)
Supported Platforms
- Android
- iOS
- Web
- Windows
- macOS
- Linux
License
This project is licensed under the MIT License.