Skip to content

ilkerogutcu/keydrop-giveaway-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KeyDrop Giveaway Bot

KeyDrop Giveaway Bot is an request-based automatic join bot for the KeyDrop website's giveaways. Its purpose is to joinable users to join these giveaways without having to manually join their details each time. With this bot, users can simply input their desired giveaway and wait for the results. It streamlines the giveaway process and makes it easier for users to participate in these events.

Installation

Use git to download source code.

Building

Clone the project

  git clone https://github.com/ilkerogutcu/keydrop-giveaway-bot

Go to the project directory

  cd keydrop-giveaway-bot/src

Build Project

  dotnet build

Start Project

  dotnet run

Environment Variables

To run this project, you will need to add the following environment variables to your appsettings.json file.

sessionId: While on the KeyDrop website, open the DevTools on your browser and navigate to the Application tab. Under the Storage section, expand the Cookies dropdown and find the "session_id". Replace the default value with the name of your "session_id" value.

userAgent: Get your user-agent information from https://www.whatsmyua.info/

Docker

You can containerize this project with Docker. It allows you to run it somewhere on your server without the need have it running on your personal machine.

Configuration

The container runs under Linux operating system, thus, to be able to bypass CloudFlare protection you also need a Linux browser User Agent.

To get this, grab the value of Latest Chrome on Linux User Agents from this website, e.g.

Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36

Usage

docker build -t keydrop-giveaway-bot:latest .
docker run -it keydrop-giveaway-bot -e sessionId="your_session_id" -e userAgent="user_agent_from_previous_section"

Screenshots

screenshot1

screenshot2

Contributing

Thank you for your interest in contributing to this project! Contributions are welcome and appreciated.

If you have any questions or suggestions, please feel free to open an issue or submit a pull request. I will review your contributions as soon as possible.

Together, we can make this project better!