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)
- Host: GitHub
- URL: https://github.com/jsuereth/snark
- Owner: jsuereth
- Created: 2015-01-29T17:39:31.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-04-07T17:32:25.000Z (about 11 years ago)
- Last Synced: 2025-03-25T09:49:20.716Z (about 1 year ago)
- Language: Scala
- Size: 210 KB
- Stars: 15
- Watchers: 5
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.