diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..12768e0 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +dist/ +build/ +*.spec +.venv/ \ No newline at end of file diff --git a/README.md b/README.md index 0ed667f..22bcb60 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,8 @@ ## 📥 Download -- Download the latest version of [TwitterXMediaBatchDownloader](https://github.com/afkarxyz/Twitter-X-Media-Batch-Downloader/releases/download/v3.0/TwitterXMediaBatchDownloader.exe) +- **Windows**: Download the latest version of [TwitterXMediaBatchDownloader.exe](https://github.com/afkarxyz/Twitter-X-Media-Batch-Downloader/releases/download/v3.0/TwitterXMediaBatchDownloader.exe) +- **Linux**: Download the latest version of [TwitterXMediaBatchDownloader](https://github.com/afkarxyz/Twitter-X-Media-Batch-Downloader/releases/download/v3.0/TwitterXMediaBatchDownloader) - If you're familiar with **userscripts**, please install it [here](https://greasyfork.org/en/scripts/523157) ## ✨ Features @@ -27,6 +28,42 @@ ![image](https://github.com/user-attachments/assets/9ccc945c-7318-4232-8ba3-9fbb636fa065) +## compiling from source + +If you want to compile the application from source, you can follow these steps: + +1. Clone the repository: + +```bash +git clone https://github.com/afkarxyz/Twitter-X-Media-Batch-Downloader.git +``` + +2. Create a virtual environment and activate it: + +```bash +python3 -m venv .venv +source .venv/bin/activate +``` + +3. Install the dependencies: + +```bash +pip install -r requirements.txt +``` + +4. Run the application: + +```bash +python TwitterXMediaBatchDownloader.py +``` + +5. To create an executable, use pyinstaller: + +```bash +pip install pyinstaller +pyinstaller --onefile --windowed --icon=Archived/icon.svg TwitterXMediaBatchDownloader.py +``` + ## 🔑 How to Obtain Auth Token > [!Warning] diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..58c6c56 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,6 @@ +PyQt6 +requests +aiohttp +imageio-ffmpeg +packaging +gallery-dl \ No newline at end of file