Skip to content
This repository has been archived by the owner on Dec 26, 2022. It is now read-only.

sh4rkov1tch/VTik

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VTik

Command-line TikTok and Twitter downloader written in V (Official Website) It's heavily inspired by youtube-dl but aims to be faster and simpler than youtube-dl

Usage

It's a very simple tool to use: $ ./vtik-cli -o <path> <tiktok/twitter link> The file path is optional, if you don't specify any, the app will just download in your working directory

If you want to download a Twitter video you'll need to provide your own bearer token, in an environment variable called TWITTER_BEARER_TOKEN

Building the CLI App

Since it's a V app, building it is straightforward: $ v vtik-cli.v

Building the Telegram Bot

The bot was built using Dario Tarantini's vgram

It requires an extra step:

$ v install dariotarantini.vgram

$ v vtik-telegram.v

To use the bot you'll need to provide a Telegram bot token in the TELEGRAM_TOKEN environment variable

To-do:

  • Implementing a server that handles http request containing the video link, so I can build iOS shortcuts or their Android equivalent around

  • Maybe a GUI app around it ? Even though I think that it's kinda useless for a simple app like that.