Dependencies: bash, curl, coreutils/busybox, openssl
- Tweet from the console.
$ ./watdo "Hey, I'm tweeting!"
$ ./watdo <<< "Hey, I'm tweeting!"
$ echo "Hey, I'm tweeting!" | ./watdo
See also:
$ ./watdo --help
Anywhere:
Run as ./watdo
, copy watdo
to /usr/bin, or add it to $PATH
.
I hate dependencies more than I hate bash. Also writing a real JSON parser in bash is funny.
- Parse urls in submitted tweets and count them as 20 chars.
- Display newsfeeds.
- Finish JSON parser