https://github.com/victoriadrake/heartbreak
Unlikes your Twitter Likes. 💔
https://github.com/victoriadrake/heartbreak
automation privacy privacy-tools
Last synced: 7 months ago
JSON representation
Unlikes your Twitter Likes. 💔
- Host: GitHub
- URL: https://github.com/victoriadrake/heartbreak
- Owner: victoriadrake
- Created: 2020-06-05T02:03:02.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-06-05T02:38:34.000Z (over 5 years ago)
- Last Synced: 2025-03-18T16:04:09.175Z (7 months ago)
- Topics: automation, privacy, privacy-tools
- Language: Go
- Homepage:
- Size: 2.93 KB
- Stars: 21
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# heartbreak 💔
Use the Twitter API to unlike your Twitter Likes.
## Install
Run: `go install github.com/victoriadrake/heartbreak`
Alternatively, clone this repository, then build the program:
```bash
cd heartbreak
go build
```## Usage
Expects a `.env` file with the following:
```env
export TWITTER_ACCESS_TOKEN= ...
export TWITTER_ACCESS_TOKEN_SECRET= ...
export TWITTER_CONSUMER_KEY= ...
export TWITTER_CONSUMER_SECRET= ...
export TWITTER_USERNAME= ...
```This program fails safely. When run without the `-unlike` flag, or any arguments at all, it prints usage instructions:
```txt
Usage: heartbreak [options]-filename string
Optional name of the file to store archived Tweets. (default "likes-archive.txt")
-no-archive
Do not archive unliked Tweets.
-unlike
Required to unlike all liked Tweets. Logs Tweet text to a file in the current directory.
```To unlike all your likes and by default, log the Tweets to a file called `likes-archive.txt`:
```bash
heartbreak -unlike
```Specify your own filename with `-filename`, for example:
```bash
heartbreak -unlike -filename unlikes.log
```Not one for nostalgia? I get it. Skip logging with `-no-archive`:
```bash
heartbreak -unlike -no-archive
```New day, new you.