├── .esniper ├── Dockerfile ├── README.md ├── ebay_item_example1.jpg ├── ebay_item_won.jpg └── entrypoint.sh /.esniper: -------------------------------------------------------------------------------- 1 | batch = false 2 | bid = yes 3 | debug = enabled 4 | reduce = y 5 | username = EUSER 6 | password = EPASS 7 | logdir=/esniper/logs 8 | 9 | quantity = 1 10 | seconds = 10 11 | -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- 1 | # Basic install of esniper 2 | # 3 | # Currently installs esniper 2-35-0 4 | # Branch: legacy 5 | # Version 1.2 May-03-2021 6 | 7 | FROM centos:latest 8 | MAINTAINER Felix G. version: 0.2 9 | 10 | RUN yum update -y && \ 11 | yum install -y gcc libcurl-devel gcc-c++ make && \ 12 | yum install -y httpd-devel php-devel git && \ 13 | cd /tmp; git clone https://git.code.sf.net/p/esniper/git esniper-git -b legacy && \ 14 | curl http://springdale.princeton.edu/data/springdale/7/x86_64/os/Computational/automake115-1.15-9.sdl7.noarch.rpm -o /tmp/automake115-1.15-9.sdl7.noarch.rpm && \ 15 | yum localinstall -y /tmp/automake115-1.15-9.sdl7.noarch.rpm && \ 16 | cd /tmp/esniper-git && \ 17 | ./configure; make; make install && \ 18 | mkdir -p /esniper/logs 19 | 20 | ADD .esniper / 21 | COPY entrypoint.sh /entrypoint.sh 22 | 23 | ENTRYPOINT "./entrypoint.sh" 24 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | ### Containerized docker-esniper for sniping eBay auctions. 2 | 3 | - based on the latest (June-2018) esniper version 2.35.0 4 | 5 | ## Quick Start 6 | 7 | The quickest way to get the service up is to use Docker. 8 | 9 | To run it, just type the following command with eBay credentials, item number and max bid. 10 | 11 | ```sh 12 | sudo docker run --rm \ 13 | -e EUSER='ebay_user' \ 14 | -e EPASS='ebay_password' \ 15 | -e EITEM=123456789000 \ 16 | -e EPRICE=33.5 \ 17 | fgorbat/docker-esniper 18 | ``` 19 | 20 | #### By executing this command, you have to supply the following info: 21 | * EUSER=`` 22 | * EPASS=`` 23 | * EITEM=`` 24 | * EPRICE=`` 25 | 26 | #### eBay item number: 27 | ![N|Solid](https://raw.githubusercontent.com/fgorbat/docker-esniper/master/ebay_item_example1.jpg) 28 | 29 | #### Screenshot with Example: 30 | ![N|Solid](https://github.com/fgorbat/docker-esniper/raw/master/ebay_item_won.jpg) 31 | 32 | ##### Want to know how to install docker on Windows, MacOS or Linux? 33 | * Use Docker official [installation instuctions](https://docs.docker.com/engine/installation/) 34 | 35 | #### More details about auction sniping practice: 36 | * Auction sniping practice [wiki](https://en.wikipedia.org/wiki/Auction_sniping) 37 | 38 | #### For FAQs and more info about esniper visit home page: 39 | * Home Page [esniper](http://esniper.sourceforge.net/index.html) 40 | -------------------------------------------------------------------------------- /ebay_item_example1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgorbat/docker-esniper/33e2a8e906e3bfa708284899e9396b501382aff3/ebay_item_example1.jpg -------------------------------------------------------------------------------- /ebay_item_won.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgorbat/docker-esniper/33e2a8e906e3bfa708284899e9396b501382aff3/ebay_item_won.jpg -------------------------------------------------------------------------------- /entrypoint.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | echo ${EITEM} ${EPRICE} > /.eauction 4 | sed -ri "s/EUSER/$EUSER/" /.esniper 5 | sed -ri "s/EPASS/$EPASS/" /.esniper 6 | esniper -c /.esniper /.eauction 7 | --------------------------------------------------------------------------------