mirror of https://github.com/msfjarvis/twt.git
Harsh Shandilya d3d7914800 | ||
---|---|---|
.cargo | ||
.github | ||
.vscode | ||
src | ||
.git-blame-ignore-revs | ||
.gitignore | ||
Cargo.lock | ||
Cargo.toml | ||
LICENSE-APACHE | ||
LICENSE-MIT | ||
README.md | ||
default.nix | ||
flake.lock | ||
flake.nix | ||
release.toml | ||
rust-toolchain.toml | ||
shell.nix |
README.md
twt
CLI tool to extract metadata from tweets
Install
Install prebuilt binaries via shell script
# WARNING: this installer is experimental
curl --proto '=https' --tlsv1.2 -L -sSf https://github.com/msfjarvis/twt/releases/latest/download/installer.sh | sh
Install prebuilt binaries via powershell script
# WARNING: this installer is experimental
irm 'https://github.com/msfjarvis/twt/releases/latest/download/installer.ps1' | iex
Setup
This tool requires Twitter consumer keys to function. Twitter is moving to disallow free usage of the API which is some hot bullshit, so you can pick up one of their own keys from here as a sincere fuck you to the new czar.
twt
picks up keys from $CONFIG_DIR/twt/config.toml
(see here for your platform's interpretation of $CONFIG_DIR
)
# config.toml
consumer_key = "totally_real_key"
consumer_key_secret = "h4xx0r"
Usage
-
Get image links
twt images --username archillect
-
Get video links
twt videos --username imgur
-
Set the maximum tweets to check
twt images --username archillect --max-amount 512
-
Get all links
twt links --username AITA_online --host bit.ly
For more help run: twt -h
.