mirror of https://github.com/msfjarvis/twt.git
Harsh Shandilya 0c8cc665c8 | ||
---|---|---|
.cargo | ||
.github | ||
.vscode | ||
docs | ||
src | ||
.git-blame-ignore-revs | ||
.gitignore | ||
Cargo.lock | ||
Cargo.toml | ||
LICENSE-APACHE | ||
LICENSE-MIT | ||
README.md | ||
default.nix | ||
flake.lock | ||
flake.nix | ||
oranda.json | ||
release.toml | ||
rust-toolchain.toml | ||
shell.nix |
README.md
[!WARNING]
Due to Twitter's complete decimation of its API,twt
no longer works for most use cases and is thus not going to be maintained going forward.
twt
CLI tool to extract metadata from tweets
Install
Check out the website
Setup
This tool requires Twitter consumer keys to function. Twitter is moving to disallow free usage of the API, so you will have to steal their own keys to work around this.
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
.