Skip to content

nanderLP/tdl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Logo

Instantly download your favorite videos from Twitter


How to use it

1. Web Interface

Use the stupidly simple web interface to get the raw video link of any Tweet URL.

Web Interface screenshot

2. Auto Redirect

Append the Tweet to the base URL to get instantly redirected to its video.
Example: https://tdl.nander.dev/https://twitter.com/i/status/1549416872453574658

How it works

TDL uses the Twitter v1.1 API to search a Tweet and extract the video information.
Everything is written in TypeScript and runs on the Deno Runtime with support for Deno Deploy.

How to deploy it yourself

Requirements

Software Version
Deno 1.24.3 or higher

Setting up environment

  1. Copy the .env.example file to .env.prod (don't delete .env.example, it will be used for validation)
  2. Enter your Twitter API Bearer Token in TWITTER_BEARER (here's how to get one)
  3. Enter a port in PORT (setting PORT to 0 will allow the operating system to select the port)

Starting

deno task start

About

Twitter Video Downloader built with Deno and oak

Topics

Resources

Stars

Watchers

Forks