An open API service indexing awesome lists of open source software.

https://github.com/jsuereth/snark

Twitter command line client example (ne scala 2015)
https://github.com/jsuereth/snark

Last synced: about 1 year ago
JSON representation

Twitter command line client example (ne scala 2015)

Awesome Lists containing this project

README

          

# snark
Twitter command line client example (ne scala 2015)

## Building

1. Get a twitter developer API key
2. Create the file `core/src/main/scala/com/jsuereth/snark/EvilSecrets.scala` with:

```scala
package com.jsuereth.snark

// TODO - Read from a file, or environment variable...
object EvilSecrets {
val apiKey = ""
val apiSecret = ""
}
```

3. Run `sbt debian:packageBin` or `sbt stage`
4. Results will be under `native/target/` or `native/target/universal/stage`

## Using

Type `snark` on the command line to get a twitter terminal. From here you can type a command:

* `mentions` shows your mention timeline
* `check` shows your timeline
* `tweet ` issues a raw tweet
* `search ` searches for tweets with the given string.