beardypig / streamlink-portable

A script to build a portable version of Streamlink for Windows
Apache License 2.0
77 stars 18 forks source link
hacktoberfest portable streamlink

Streamlink Portable

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.

Building the zip files under Linux/macOS

NB. sed must be gnu-sed

Building the zip files under Windows

  1. Install WSL. These instructions were done using WSL2 Ubuntu 20.04 LTS with wsl --install -d Ubuntu-20.04

  2. Update and fetch pre-requisite dependencies:

    sudo apt update
    sudo apt upgrade
    sudo apt install python3-pip zip unzip jq
  3. Setup a working dir on a Windows mount, such as mkdir /mnt/d/scratch and cd into it.

  4. 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
  5. Execute script directly as bash: sudo bash ./scripts/makeportable.sh

  6. Find result inside dist subfolder.

Changelog

2021-10-26

2021-01-03

2021-01-02

2020-04-21

2020-02-18

2019-11-22

2019-04-15

2018-08-01

2018-07-12

2018-06-06

2018-06-04

2018-05-09

2018-03-01

2017-09-14

2017-07-05

2017-05-11

2017-03-29

2017-02-12

2017-02-03

2017-01-27

2017-01-11