twint-zero

command module
v0.0.0-...-3693da1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 11, 2023 License: MIT Imports: 2 Imported by: 0

README

Twint Zero

Like Twint, but zero fat.

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: Here you go.
  3. $FORMAT: "csv" or "json".
  4. $TWEETLIMIT: The number of tweets you want to see. Default is 0, meaning all you can get.
  5. $ADDR: The address to listen on. Default is "", which indicates that "print all tweets to terminal".

Usage Text

    -Addr string
        Specify the address to listen on. (default: none, prints to stdout.)
    -Format string
        Specify the return format: csv (default), or json. (default "csv")
    -Instance string
        Specify instance to get data from. (default "nitter.nl")
    -Query string
        Specify search query.
    -TweetLimit int
        Specify the number of tweets to return. 0 means no limit. Must be a positive integer. (default: 0)

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL