Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cuducos/fuckoff-twitter
Fuck off @twitter, let me have "latest tweets" as a default.
https://github.com/cuducos/fuckoff-twitter
Last synced: 3 days ago
JSON representation
Fuck off @twitter, let me have "latest tweets" as a default.
- Host: GitHub
- URL: https://github.com/cuducos/fuckoff-twitter
- Owner: cuducos
- License: gpl-3.0
- Archived: true
- Created: 2019-12-24T15:40:50.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-03-10T16:03:29.000Z (over 3 years ago)
- Last Synced: 2024-08-01T22:58:06.835Z (3 months ago)
- Language: Rust
- Homepage:
- Size: 34.2 KB
- Stars: 14
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Fuck off, @twitter ![Build](https://github.com/cuducos/fuckoff-twitter/workflows/Build/badge.svg)
This tiny script automated that for me:
> I'm sorry dear followers, but every time [@twitter](https://twitter.com/twitter) makes me re-select "latest tweet" I'm gonna tweet that over and over again (and I do encourage you to do the same; I promise my support in the form of RTs): https://t.co/yIpedfHvIc
>
> — Eduardo Cuducos, [November 20, 2019](https://twitter.com/cuducos/status/1197153914916888579)## Usage
1. Create an app and get your API keys from [Twitter's Developer platform]([https://developer.twitter.com/](https://developer.twitter.com/))
2. Create environment variables as described in `.env.sample`
1. The `TWEET` variable is the text you want to tweet when this script runs
1. **Optionally**, if you want this tweet to be a reply for a given tweet, add the status ID number of that given tweet into `REPLY_TO` (otherwise just ignore it)
3. [Download the executablel](https://github.com/cuducos/fuckoff-twitter/releases/tag/latest) for Linux, macOS or Windows and run it!For example, these last two settings look like that in my case:
```
TWEET=Fuck off @twitter, let me have "latest tweets" as a default.
REPLY_TO=1197153914916888579
```## Development & contributing
Requires [Rust](https://www.rust-lang.org/) with `cargo`:
```console
$ cargo run
https://twitter.com/cuducos/status/1194269206419775488
```This will be the URL for your fresh new tweet!