Housing Camper is a tool designed to keep you informed about the latest room availability on the University Residences (UR) housing portal. It continuously monitors the portal for specified keywords and alerts you when these keywords appear or disappear.
To run the tool, follow these steps:
-
Install dependencies:
npm install
-
If you are using the local alert version, make sure VLC is installed on your system.
-
Run the tool:
node camper.js
or
node camper_discord.js
Before running the tool, make sure to configure the following settings:
-
Target URL: Set the URL of the University Residences housing portal in the
targetUrl
variable in the code. -
Keywords: Specify the keywords you want to monitor by updating the
keywords
array in the code. -
Discord Integration (optional): If you are using the Discord version, replace the placeholder values in the
token
andchannelId
variables with your Discord bot token and the desired channel ID.
The local alert version uses VLC to play an alert sound when new rooms are detected. Ensure VLC is installed on your system for this feature to work.
The Discord version sends notifications to a Discord channel when new rooms are detected. Configure the Discord bot token and channel ID in the code.
This project is licensed under the MIT License - see the LICENSE file for details.