Tools for extracting metadata from tweets
Go to file
Harsh Shandilya 523dd0e8aa chore(release): bump twt to version 1.1.0 2023-02-02 11:07:28 +00:00
.github fix(release): build both sh and pwsh installers 2023-02-02 10:50:59 +00:00
.vscode chore: automatically use `shell.nix` for Nix Env 2023-01-13 13:04:20 +00:00
src feat(config): use a bearer token for auth 2023-02-02 10:47:20 +00:00
.gitignore Initial commit 2021-09-20 11:15:47 +05:30
Cargo.lock chore(release): bump twt to version 1.1.0 2023-02-02 11:07:28 +00:00
Cargo.toml chore(release): bump twt to version 1.1.0 2023-02-02 11:07:28 +00:00
LICENSE-APACHE Initial commit 2021-09-20 11:15:47 +05:30
LICENSE-MIT Initial commit 2021-09-20 11:15:47 +05:30
README.md chore: refresh README 2023-02-02 11:07:07 +00:00
default.nix feat(nix): set up `flake-compat` 2022-12-17 23:36:52 +00:00
deny.toml chore(deps): update transitive crates 2022-09-06 01:01:06 +05:30
flake.lock feat(nix): set up `flake-compat` 2022-12-17 23:36:52 +00:00
flake.nix feat(nix): set up `flake-compat` 2022-12-17 23:36:52 +00:00
release.toml chore(release): update `cargo-release` config 2022-12-12 17:19:46 +00:00
rust-toolchain.toml rust: add rust-toolchain file 2022-07-05 02:29:28 +05:30
shell.nix feat(nix): set up `flake-compat` 2022-12-17 23:36:52 +00:00

README.md

twt No Maintenance Intended

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/download/latest/installer.sh | sh

Install prebuilt binaries via powershell script

# WARNING: this installer is experimental
irm 'https://github.com/msfjarvis/twt/releases/download/latest/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.