Kamernet-Bot is a bot designed to automatically reply to listings on the platform Kamernet. By using custom parameters, the bot processes new rental listings and responds automatically if all criteria are met.
- Automatically checks for the desired listings (Room, Apartment,Studio etc..).
- Responds to listings that match given criteria (e.g., price range, location, room type).
- Customizable parameters for filtering and replying to listings.
- Configurable timing interval for checking listings and sending responses.
- Logs interactions for tracking purposes.
- Using a patched version of Puppeteer, it now passes all the tests on Bot Detector and Browser Scan ensuring it behaves as much as possible like a human and avoids detection...(FOR NOW)! Results may change at any time.
- Comes with a Dockerfile to build and run the bot on an separated environment like a VPS.
Before using Kamernet-Bot, ensure you have the following software installed:
- Node.js (version 16 or higher)
- npm (Node package manager)
-
Clone the repository:
git clone https://github.com/SalimOfShadow/Kamernet-Bot.git
-
Navigate to the project folder:
cd Kamernet-Bot
-
Install dependencies:
npm install
-
(Optional) To run with Docker, follow the Docker setup instructions below.
The bot can be configured by modifying the config.json file. Locate your config.json file and open it with your favourite text editor program (Notepad will do just fine!). Insert your parameters on all the fields,you can use the provided config.default.json file as a template.
KAMERNET_EMAIL=your_email # Your Kamernet username
LOCATION="Amsterdam" # The desired location for the room (e.g., city or neighborhood)
LISTING_TYPE="room,apartment,studio,anti-squat,student-housing" # The type of listings you are searching for
MAX_PRICE="1000" # Maximum price you're willing to pay for rent
MIN_SIZE=6 # Minimum surface area in square meters
RADIUS=1 # Maximum radius in km from your selected location
CUSTOM_REPLY_ROOM="Example Reply" # Custom message for a single room ad
CUSTOM_REPLY_APARTMENT="Example Reply" # Custom message for a whole apartment ad
INTERVAL=15 # Interval (in minutes) for checking new listings
FILTERED_WORDS="Dutch Only" # Blacklist for words found in the descriptions
The bot will check the Kamernet website for new listings every 15 minutes by default,but this is purely arbitrary.If you wish so,you can modify the interval by adjusting the paramater inside the config.json file.
-
Start the bot by running the following command:
npm start
-
The bot will begin checking new listings on Kamernet.net and automatically reply to any that match the criteria defined in your .json file.
-
The bot will output logs to the terminal. It will also create a file named logs.txt with informations about replies sent, successful interactions, or errors encountered.
To run Kamernet-Bot using Docker:
-
Build the Docker image:
docker build -t Kamernet-Bot .
-
Run the Docker container:
docker run -d Kamernet-Bot
This will run Kamernet-Bot inside a Docker container, using the variables from your config.json file.
This project is licensed under the MIT License - see the LICENSE file for details.
Feel free to fork this repository, submit issues, and create pull requests. Contributions are welcome!