Code Monkey home page Code Monkey logo

twitchdownloader's Introduction

TwitchDownloader

Twitch VOD/Clip/Chat downloader and chat renderer I wrote.

THIS USES UNDOCUMENTED API ENDPOINTS, MAY BREAK EASILY. I'LL TRY AND UPDATE WHEN IT DOES.

Chat Render Example

What can it do?

  • Download Twitch VODs
  • Download Twitch Clips
  • Download chat for VODS and Clips, in either a JSON with all the information or a simple text file
  • Use a previously generated JSON chat file to render the chat with FFZ and BTTV support (including GIFS)

Things still to be done

  • Fix bugs that slipped by
  • More options for chat rendering

GUI

Video Demonstration

https://www.youtube.com/watch?v=0W3MhfhnYjk (older version, same concept)

Linux? MacOS?

Sorry, the GUI version is only avaliable for Windows :(

CLI

The CLI is cross platform and performs the main functions of the program. It works on Windows and Linux, but has not been tested on MacOS.

Documentation here.

I've never really made a command line utility before so things may change in the future. If you're on Linux, make sure fontconfig and libfontconfig1 are installed (apt-get install fontconfig libfontconfig1).

For example, you could copy/paste this into a .bat file on Windows, to download a VOD, chat, and then render in a single go.

@echo off
set /p vodid="Enter VOD ID: "
TwitchDownloaderCLI -m VideoDownload --id %vodid% --ffmpeg-path "ffmpeg.exe" -o %vodid%.mp4
TwitchDownloaderCLI -m ChatDownload --id %vodid% -o %vodid%_chat.json
TwitchDownloaderCLI -m ChatRender -i %vodid%_chat.json -h 1080 -w 422 --framerate 30 --update-rate 0 --font-size 18 -o %vodid%_chat.mp4

Linux โ€“ Getting started

  1. Go to Releases and download the latest version for Linux.
  2. Extract TwitchDownloaderCLI
  3. Browse to where you extracted the file and give it executable rights in Terminal:
sudo chmod +x TwitchDownloaderCLI
  1. You can now start using the donwloader, for example:
TwitchDownloaderCLI -m VideoDownload --id <vod-id-here> -o out.mp4

For Arch Linux, there's an AUR Package

twitchdownloader's People

Contributors

frozencure avatar goldbattle avatar ilya-zlobintsev avatar insipidlight avatar lay295 avatar zigagrcar avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.