Tools for extracting metadata from tweets
Go to file
Harsh Shandilya cebc4f4d25
chore(release): bump twt to version 1.2.2
2023-06-15 00:18:38 +05:30
.cargo fix: switch to `cargo-audit` 2023-03-06 19:53:30 +00:00
.github feat(ci): add GHA workflow for updating flake.lock every weekend 2023-03-14 10:40:28 +00:00
.vscode chore: automatically use `shell.nix` for Nix Env 2023-01-13 13:04:20 +00:00
docs chore(docs): rebuild pages 2023-06-15 00:18:26 +05:30
src feat: put videos command behind a Cargo feature 2023-03-06 20:42:05 +00:00
.git-blame-ignore-revs chore(git): add Alejandra reformat to blame ignore revs 2023-02-22 18:29:18 +00:00
.gitignore chore: add Nix `result` dir to gitignore 2023-03-06 19:53:30 +00:00
Cargo.lock chore(release): bump twt to version 1.2.2 2023-06-15 00:18:38 +05:30
Cargo.toml chore(release): bump twt to version 1.2.2 2023-06-15 00:18:38 +05:30
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(readme): add Built With Garnix badge 2023-02-16 14:13:02 +00:00
default.nix chore: reformat Nix files with `alejandra` 2023-02-22 18:25:02 +00:00
flake.lock chore(flakes): add oranda to devShell 2023-06-15 00:16:29 +05:30
flake.nix chore(flakes): add oranda to devShell 2023-06-15 00:16:29 +05:30
oranda.json chore: generate a basic webpage via oranda 2023-05-14 02:50:11 +05:30
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 chore: reformat Nix files with `alejandra` 2023-02-22 18:25:02 +00:00

README.md

twt No Maintenance Intended Built with Garnix

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.