https://github.com/tistaharahap/twitfaver
https://github.com/tistaharahap/twitfaver
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/tistaharahap/twitfaver
- Owner: tistaharahap
- Created: 2022-02-20T06:36:28.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-02-20T06:54:24.000Z (over 3 years ago)
- Last Synced: 2025-01-13T06:25:49.536Z (5 months ago)
- Language: Python
- Size: 16.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Twitfaver [](https://github.com/psf/black) [](https://www.python.org/downloads/release/python-3100/)
A modern (as of 2022) rework of a Twitter Faver based on your own tweets. Simplest explanation of that this does:
* Get your last 200 tweets
* Create keywords from your tweets
* Search the keywords on Twitter
* Favorite all relevant search resultsThis is supposedly will invite people that gets their tweets favorited to visit your profile.
Earlier incomplete version of this is available on a [blog post of mine from 2013](https://bango29.com/machine-favorited-tweets-organically-improve-followers-count/).
Today's work is fully dockerized and Python 3.10 is required.
## Running Locally
```bash
$ git clone [email protected]:tistaharahap/twitfaver.git
$ cd twitfaver
$ poetry install
$ cp run-local.sh.example run-local.sh
$ vim run-local.sh # Populate with your credentials
$ chmod +x run-local.sh
$ ./run-local.sh
```## Docker Run
```bash
$ docker run -d --name twitfaver \
-e API_KEY='' \
-e API_SECRET_KEY='' \
-e ACCESS_TOKEN='' \
-e ACCESS_TOKEN_SECRET='' \
-e MY_SCREEN_NAME='' \
tistaharahap/twitfaver:latest
```## Environment Variable
| Name | Required |
|:-----------------|:--------------------|
| `API_KEY` | Yes |
| `API_SECRET_KEY` | Yes |
| `ACCESS_TOKEN` | Yes |
| `ACCESS_TOKEN_SECRET` | Yes |
| `MY_SCREEN_NAME` | Yes |