A Go-based web scraper that monitors junior developer job listings and sends Discord notifications for new postings.
- 🔄 Automatically scrapes JustJoin.IT job board every 10 minutes
- 💾 Stores job offers in MariaDB database
- 🤖 Discord bot integration with:
- Embedded messages containing job details
- Company logos in embeds
- Technology-specific role mentions for:
- Vue
- TypeScript
- Golang
- Svelte
- Node.js
- JavaScript
- Nuxt
- Laravel
- 🔍 Filters for junior-level positions
- 🔄 Automatic duplicate detection
- Go 1.20+
- MariaDB 11.8
- Discord Bot Token
- Discord Server with configured roles
- Clone the repository
git clone https://github.com/yourusername/Zdrapywacz.git
cd Zdrapywacz- Create a .env file in the root directory:
DB_USER=your_mysql_user
DB_PASSWORD=your_mysql_password
DB_PORT=3306
DB_NAME=your_database_name
BOT_ID=your_discord_bot_token- Create MySQL database:
CREATE DATABASE your_database_name;- Build and run using Make:
make runOr manually:
go build -o bin/output.exe
./bin/output.exe- Create a Discord bot at Discord Developer Portal
- Enable necessary intents for your bot
- Create roles in your Discord server for technology mentions
- Update the role IDs in
discordBot/discordbot.go:
techs := map[string]string{
"vue": "your_vue_role_id",
"typescript": "your_typescript_role_id",
// ...
}Zdrapywacz/
├── main.go # Main application and scraper logic
├── discordBot/ # Discord bot implementation
├── databaseconf/ # Database models and configuration
├── .env # Environment configuration
└── Makefile # Build and run commands
DB_USER: MySQL usernameDB_PASSWORD: MySQL passwordDB_PORT: MySQL port (default: 3306)DB_NAME: Database nameBOT_ID: Discord bot token
This project is open-source and available under the MIT License.