A script to build a portable version of Streamlink for Windows.
The portable zip files are build from the master branch of streamlink/streamlink and comes bundled with Python 3. There is a 32 bit and a 64 bit version available for 32 bit Windows and 64 bit Windows (if in doubt use the 32 bit version). Multiple bundles with different versions of Python 3 are available, the latest version of Python bundled is currently 3.9. Older versions of Python 3 are provided to maintain compatibility with older versions of Windows. Going forward the bundled versions of Python will be all versions supported by Streamlink.
The portable zip of the most recent stable streamlink version can be found in the latest release.
The latest Nightly build is available too.
To install simply unzip the zip file.
A streamlink.bat
is included in the zip file so that you can easily execute streamlink
.
The config
file is read from the same directory as the streamlink.bat
and is created when you first execute streamlink.bat
, however it will not overwrite any existing config file so it can be edited, and the changes not lost when updating.
NB. sed
must be gnu-sed
jq
is required for the build. scripts/makeportable.sh
script.Install WSL. These instructions were done using WSL2 Ubuntu 20.04 LTS with wsl --install -d Ubuntu-20.04
Update and fetch pre-requisite dependencies:
sudo apt update
sudo apt upgrade
sudo apt install python3-pip zip unzip jq
Setup a working dir on a Windows mount, such as mkdir /mnt/d/scratch
and cd
into it.
Clone this repo and streamlink/streamlink into a subdir called streamlink
(assigned by default from repo name):
git clone https://github.com/beardypig/streamlink-portable
cd streamlink-portable
git clone https://github.com/streamlink/streamlink
Execute script directly as bash: sudo bash ./scripts/makeportable.sh
Find result inside dist
subfolder.
python3
command directly.--no-version-check
from the launcher script.makeportable.sh
script to download the ffmpeg/rtmpdump assets from the new streamlink-asset repo.1.3.1
.1.3.0
.1.1.1
- a bit late.0.14.2
as 0.14.2+1
, with fixed --version
.0.14.2
.0.13.0
.isodate
module.0.12.1
.0.10.0
.0.8.1
.websocket
and PySocks
modules.0.7.0
.urllib3
module.0.6.0
.0.5.0
, lagged behind the official release.0.3.2
.0.3.1
.