A bot for entering giveaways
https://steamgifts.com
config | ||
src | ||
.dockerignore | ||
.gitignore | ||
alembic.ini | ||
Dockerfile | ||
main.py | ||
README.md | ||
requirements.txt |
About
The bot is specially designed for SteamGifts.com
Features
- Automatically enters giveaways.
- Undetectable.
- Сonfigurable
- Can look at your steam wishlist games or the main page for games to enter
- When evaluating a giveaway
max_time_left
- if the time left on giveaway is > max time left, then don't enter itmax_entries
- if the entries on a giveaway are > than max entries, then don't enter itminimum_points
- minimum number of points in your account needed before considering any giveawayminimum_game_points
- if steamgifts.com point cost (ex. 1P, 5P, etc) is below this, don't enter itblacklist_keywords
- if the giveaway name contains any of these words, don't enter it. this list can be blank.
- Notifications
- A pushover notifications can be sent to you when a win is detected.
- Webserver - A simple, simple, simple webserver than can be enabled (disabled by default) to show the config and logs
web.host
- the IP to listen on (ex. localhost, 0.0.0.0, 192.168.1.1, etc)web.port
- the port to listen onweb.app_root
- the folder to serve up which can be used for reverse proxying this behind nginx/apache/etcweb.ssl
- if the traffic will be encrypted (http or https) using a self-signed certweb.basic_auth
- simple basic auth settings can be enabled
- Sleeps to restock the points.
- Can run 24/7.
Instructions
- Sign in on SteamGifts.com by Steam.
- Find PHPSESSID cookie in your browser.
- Rename
config/config.ini.example
toconfig/config.ini
. - Add your PHPSESSION cookie to
cookie
inconfig/config.ini
- Modifying the other settings is optional as defaults are set.
Run from sources
python -m venv env
source env/bin/activate
pip install -r requirements.txt
python main.py
Docker
Run it
# Run the container
# Set TZ based on your timezone: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
docker run --name steamgifts -e TZ=America/New_York -d -v /path/to/the/config/folder:/config mcinj/docker-steamgifts-bot:latest
Or build it yourself locally
# Build the image
docker build -t steamgifts:latest .
# Run the container
# Set TZ based on your timezone: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
docker run --name steamgifts -e TZ=America/New_York -d -v /path/to/the/config/folder:/config steamgifts:latest