Skip to content

twintproject/twint-zero

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Twint Zero

Like Twint, but zero fat.

First things first

Users are invited to not scrape public instances, that will cause a bad experience for some users. Instead, you are invited to setup your own custom Nitter instance. Thank you, and enjoy!

Installation

  1. git clone https://github.com/twintproject/twint-zero
  2. cd twint-zero
  3. go mod init twint-zero
  4. go mod tidy

Usage

  • Without compiling: go run main.go -Query $QUERY -Instance $INSTANCE -Format $FORMAT
  • If you compiled... well at this point you are supposed to know.

CLI Arguments

  1. $QUERY: Here you go.
  2. $INSTANCE: Setup your own.
  3. $FORMAT: "csv" or "json".

Questions/issues

Sir, the bill is: five GitHub stars, two forks and one retweet.

That being quoted, feel free to reach out.

License

MIT

Credits

Francesco Poldi

Simon Archer: JSON formatting and attachments parsing

Julian: quoted tweet and its metadata fields