Tools for extracting metadata from tweets
Go to file
Harsh Shandilya 5d7272f32c
fix(flakes): adjust flake-compat URL
2023-06-25 12:27:53 +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: fix broken link in webpage 2023-06-15 10:41:11 +05:30
src fix: allow serde and serde_derive to compile in parallel 2023-06-19 15:12:35 +05:30
.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 fix(deps): update rust crate toml to 0.7.5 2023-06-24 07:10:28 +00:00
Cargo.toml fix(deps): update rust crate toml to 0.7.5 2023-06-24 07:10: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(readme): add Built With Garnix badge 2023-02-16 14:13:02 +00:00
default.nix fix(flakes): adjust flake-compat URL 2023-06-25 12:27:53 +05:30
flake.lock flake.lock: Update 2023-06-25 06:01:36 +00:00
flake.nix fix(flakes): switch flake-compat to nix-community fork 2023-06-20 23:51:37 +05:30
oranda.json chore: refresh website 2023-06-15 01:02:00 +05:30
release.toml chore(release): update `cargo-release` config 2022-12-12 17:19:46 +00:00
rust-toolchain.toml feat(rust): upgrade to 1.70.0 2023-06-16 11:26:49 +05:30
shell.nix fix(flakes): adjust flake-compat URL 2023-06-25 12:27:53 +05:30

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.