Skip to content

spieredd/Sneaker-Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sneaker-Bot

About

Sneaker-Bot is an open-source software specialized for Snkrs raffle.

Get started

You will need to install Node.js.

1. Clone the repository:

git clone https://github.com/science-math-guy/Sneaker-Bot.git

2. Install the NPM dependecies:

npm install

3. Run the bot:

npm start

Contribute

Anyone can contribute to the project by forking the repository.

To run the project on development mode:

npm run dev

Deploy

  1. Setup a Firebase function:

The best way to deploy this bot would be to set up a schedule Firebase function like the one below:

    exports.sneakerbot = functions.pubsub.schedule('every 1 minutes').timeZone('Europe/Paris').onRun(async(context) => {
        await axios.post('https://example.com', {}, {}).then((res) => {
            console.log(res.data);
        });
    });

For more about deployement by either visit the Firebase Functions docs or contact me.

NPM Dependencies

(Dev Dependencies)

Contact