drivel/Readme.md

115 lines
3.6 KiB
Markdown
Raw Normal View History

2019-01-01 19:35:22 +01:00
drivel
========
2020-09-18 09:18:32 +02:00
drivel is a Twitter command line interface for status updates, media upload,
2020-09-19 22:12:59 +02:00
your home timeline, your mention timeline, replies, quotes and likes.
2019-02-17 17:34:30 +01:00
My personal opinion is that you shouldn't be on Twitter in the first place, but
anyway...
2019-01-01 19:35:22 +01:00
You can find releases on [releases.gutmet.org](https://releases.gutmet.org) or
build it yourself.
build
-----
2020-09-16 11:24:08 +02:00
Checkout the repository and compile with
2019-01-01 19:35:22 +01:00
```
go build drivel.go credentials.go
```
usage
-----
To get the last 200 tweets of your home timeline:
2020-09-17 21:44:57 +02:00
```
drivel home
```
To get the last 200 tweets of your mention timeline:
```
drivel mentions
```
2020-09-18 09:18:32 +02:00
To like a tweet with a specific ID:
```
drivel like TWEET_ID
```
2020-09-17 21:30:51 +02:00
To update your status with optional media upload...
2019-01-01 19:35:22 +01:00
```
drivel status STATUS [FILE1, FILE2, ...]
2019-01-01 19:35:22 +01:00
```
2020-09-19 22:12:59 +02:00
...reply to a tweet with a specific ID...
2020-09-17 21:30:51 +02:00
```
drivel reply TWEET_ID MESSAGE [FILE1, FILE2, ...]
```
2020-09-19 22:12:59 +02:00
...or quote a tweet with a specific ID...
```
drivel quote TWEET_ID MESSAGE [FILE1, FILE2, ...]
```
2020-09-17 21:30:51 +02:00
2020-09-18 23:22:42 +02:00
with any number of files, as long as they are .jpg, .png, .gif or .mp4 and smaller than 50 MB each. On first use, drivel will ask you to go to [https://apps.twitter.com/app/new](https://apps.twitter.com/app/new), register a new app and create an access token. Those values will be stored in HOME/.drivel/ for later use.
2019-01-01 19:35:22 +01:00
drivel will automatically split large status messages and multiple files into separate tweets belonging to the same thread.
example:
```
$ ./drivel status "First Message"
2019-01-01 19:35:22 +01:00
Did not find /home/alexander/.drivel, creating.
Go to https://apps.twitter.com/app/new to register a new app
and create an access token
Consumer Key: someconsumerkey
Consumer Secret: somesecret
Access Token: sometoken
Access Token Secret: sometokensecret
==> Updated status to 'First Message' with id 1013198854823514112
$
$ ./drivel status "Maxitest Lorem ipsum dolor sit amet, consetetur sadipscing elitr,
2019-01-01 19:35:22 +01:00
sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat,
sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet
clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod
tempor invidunt ut labor" *.jpg *.mp4 *.gif
==> Uploaded 7-Sins-in-the-Digital-World.jpg with id 1013200017602043904
==> Uploaded DifferenceTechEnthusiasts.jpg with id 1013200023608287234
==> Uploaded disappointednotsurprised.jpg with id 1013200028339507200
==> Uploaded fpalm30c3.jpg with id 1013200033053896704
==> Updated status to 'Maxitest Lorem ipsum dolor sit amet, consetetur sadipscing
elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam
erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum.
Stet clita kasd gubergren, no sea takimata sanctus est' with id 1013200053387874305
==> Uploaded howtoeven.jpg with id 1013200057108135936
==> Updated status to 'Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet,
consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labor'
with id 1013200061533171712
==> Uploaded disgusted-clint-eastwood.gif with id 1013200063978500097
==> Updated status to '' with id 1013200074254450688
==> Uploaded headwall.gif with id 1013200076871696384
==> Updated status to '' with id 1013200088049602562
==> Uploaded KittingUp.mp4 with id 1013200090595545089
==> Updated status to '' with id 1013200101811122178
==> Uploaded SteveHughes_Metal.mp4 with id 1013200104357064704
==> Updated status to '' with id 1013200119813033985
2020-09-16 11:24:08 +02:00
```
final note
----------
You can buy me a beer [here](http://paypal.me/AlexanderWeinhold).