This bot pulls listings from wg-gesucht.de, filters them and posts new entries to Telegram. Requires Node.js.
Be the first one to apply for your favourite apartment!
This code is in a very early stage, but already very useful.
/start
starts the bot/stop
stops the bot
You have to deploy this bot by yourself, since the filter options are the same for all users.
- Clone this repository on your server.
- Run
npm install
. - Copy
config.json.sample
toconfig.json
. - Talk to @BotFather to get a bot token.
- Add the token to
config.json
. - Adjust the filter in the code, look out for
var filter = { ... }
- Start with
node index.js
(you should do this inside ascreen
). That's it!
- Implement command to set up filters (they are hardcoded at the moment).
- Keep state across restarts.
- Doesn't scale well...
This code is licensed under the AGPL license.
I welcome any contribution that makes this hacky code better, adds new features and/or more data sources.