https://github.com/ekvanox/wordfeud-bot
A python script that automates the game of wordfeud, impersonating T-800 from the Terminator series
https://github.com/ekvanox/wordfeud-bot
automation docker python wordfeud
Last synced: 5 months ago
JSON representation
A python script that automates the game of wordfeud, impersonating T-800 from the Terminator series
- Host: GitHub
- URL: https://github.com/ekvanox/wordfeud-bot
- Owner: ekvanox
- License: mit
- Created: 2020-06-07T23:48:55.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-05-22T23:32:09.000Z (about 3 years ago)
- Last Synced: 2025-09-23T00:02:04.842Z (10 months ago)
- Topics: automation, docker, python, wordfeud
- Language: Python
- Homepage: https://heimdal.dev/projects/wordfeud-bot/
- Size: 1.97 MB
- Stars: 5
- Watchers: 1
- Forks: 1
- Open Issues: 20
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Wordfeud addon for T-800
[](https://img.shields.io/github/v/release/ekvanox/wordfeud-bot)

[](https://www.codefactor.io/repository/github/ekvanox/wordfeud-bot)
[](https://travis-ci.com/ekvanox/wordfeud-bot)

A python script that impersonates T-800 while automatically laying out moves using the private wordfeud API.
## Installation
To clone and run this repository you'll need Git and python3 (which includes pip3) installed on your computer. From your command line:
```bash
# Clone this repository
git clone https://github.com/ekvanox/wordfeud-bot
# Go into the repository
cd wordfeud-bot
# Install dependencies
pip install -r requirements.txt
```
## Collecting credentials
Currently, the credentials (user ID & password) are not captured by the wordfeud bot itself, and therefore have to be found prior to using it.
[Here](https://heimdal.dev/projects/wordfeud-bot/) is a guide on how to do so (windows only)
## Usage
### Windows
Set your wordfeud account credentials as environment variables (you only have to do this once):
```cmd
:: Set the username (remove the curly braces)
setx WORDFEUD_USERNAME {your user ID here}
:: Set the password (remove the curly braces)
setx WORDFEUD_PASSWORD {your password here}
```
Start the script normally:
```cmd
:: Go into the repository
cd wordfeud-bot
:: Execute with python
python3 main.py
```
### Linux
Set your wordfeud account credentials as environment variables:
```Bash
# Set the username (remove the curly braces)
WORDFEUD_USERNAME={your user ID here}
# Set the password (remove the curly braces)
WORDFEUD_PASSWORD={your password here}
```
Note: To add them permanently you have to edit your `~/.bashrc` or `~/.profile` file and add them there.
Start the script normally:
```bash
# Go into the repository
cd wordfeud-bot
# Execute with python
python3 main.py
```
### Docker
Build your docker image:
```bash
# Go into the repository
cd wordfeud-bot
# Build the docker image
docker build -t wordfeudbot .
```
Start docker container with your credentials as environment variables:
```bash
# Remove the curly braces
docker run -e WORDFEUD_USERNAME={your user ID here} -e WORDFEUD_PASSWORD={your password here} wordfeudbot
```
### Python package installer
Download and install the package:
```bash
# Install the package with pip
pip install wordfeudbot
```
Run the script with credentials as arguments:
```bash
# Remove the curly braces
wordfeudbot --user_id {your user ID here} --password {your password here}
```
Note: Credentials are optional if you set environment variables.
## Compatibility
### Operating systems (tested)
- Windows 10 10.0.19592 Build 19592
- Kali GNU/Linux 2020.2
- Ubuntu 18.04.4 LTS
### Python versions (tested)
- 3.8.2
- 3.6.10
## Read more
Documentation from the development process can be found [here](https://heimdal.dev/projects/wordfeud-bot/).