👋 Check out my AI project Seren!
This script automates the process of reloading Amazon gift card balances with configurable amounts and transactions per execution. This is useful to maximize credit and/or debit card rewards or to prevent the closure of a credit card account due to inactivity.
- Node.js
- Chrome or Firefox desktop browser installed
- Clone or download the project
- Copy
config/default-example.json5
toconfig/default.json5
and modify it with your details - Execute
npm install && npm run build && npm start
- Allows you to use Chrome and Firefox
- Browser is visible to provide peace of mind as to what is happening
- Configurable/extensible
Includes a Docker configuration. To utilize:
- Execute
npm run docker:build && npm run docker:run
- You then need to VNC into port 5900, open a shell, and execute
npm start
Ideally we would start our app as soon as we run our Docker image, removing the need for step 2, but haven't yet been able to make it work - the desktop browsers error out when instantiated. Perhaps they're being instantiated before the desktop interface within the Docker container is ready?
- Add tests
- Try for a more attractive code approach to the code's many webdriver action calls
- Create a scheduler
Browser / Site class model inspired by typescript-selenium-example
A rewritten version of this app using Typescript was released in 2019-05. A rewritten version of this app using Node.js was released on 2019-04-01. To find the original python version, see the branch deprecated-python
. The Python version won't receive further updates/support.