https://github.com/akiomik/devnulltter
/dev/nulltter is a simple CLI twitter client.
https://github.com/akiomik/devnulltter
Last synced: 2 months ago
JSON representation
/dev/nulltter is a simple CLI twitter client.
- Host: GitHub
- URL: https://github.com/akiomik/devnulltter
- Owner: akiomik
- Created: 2012-11-27T16:24:21.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2012-12-22T08:37:34.000Z (over 12 years ago)
- Last Synced: 2025-02-07T16:48:34.838Z (4 months ago)
- Language: Scala
- Homepage:
- Size: 125 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
/dev/nulltter
===========## Abstract
/dev/nulltter is a simple CLI twitter client.## Usage
* update a status
```bash
$ echo 'hooray!' > /dev/nulltter
```* shutdown the client
```bash
$ echo 'exit' > /dev/nulltter
```## Repuirements
- java
- [sbt](http://scala-sbt.org/)
- [twitter application consumer key](https://dev.twitter.com/apps)## Setup
1. Get the source code
```bash
$ git clone git://github.com/akiomik/devnulltter.git
$ cd devnulltter
```2. Set your consumer key
```bash
$ vim config/config.scala.sample # write your consumer key
$ mv config/config.scala.sample config/config.scala
```3. Compile the source code
```bash
$ sbt "project authorizer" assembly
$ sbt "project daemon" assembly
```4. Set your access token
```bash
$ chmod 755 authorizer/target/authorizer.jar
$ java -jar authorizer/target/authorizer.jar # get access token
$ vim config/config.scala # and write it
```5. Create the `/dev/nulltter` file
```bash
$ sudo mkfifo /dev/nulltter
```When you can't create `/dev/nulltter`, create it in another place.
Then edit the path in `config/config.scala`.6. Let's Tweet
```bash
$ chmod 755 daemon/target/devnulltterd.jar
$ java -jar daemon/target/devnulltterd.jar &
$ echo "/dev/nulltter now!" > /dev/nulltter
```## Licence
Published under The NYSL, see NYSL.txt