This app is designed to fetch job listings from Upwork RSS based on a query and send the results to a specified email address.
- Fetches job listings from upwork based on a query
- Sends job listings to a specified email address
- Configurable via command-line flags and environment variables
- Graceful shutdown on
Ctrl+C
- Rust and Cargo installed
- An SMTP server for sending emails
Clone the repository:
git clone https://github.com/tyrzen/uwrss.git
cd uwrss
You can configure the program using command-line flags or environment variables. If you prefer environment variables,
create a .env
file in the root directory and populate it with your settings. Here's an example:
SMTP_SERVER="smtp.googlemail.com"
SMTP_USERNAME="[email protected]"
SMTP_PASSWORD="yourpassword"
SMTP_PORT=465
RECIPIENT="[email protected], [email protected]"
QUERY="title:((/"Project manager/") OR (/"project management/"))"
PAGING=15
INTERVAL=15
INCLUDE_COUNTRIES="US UK"
Compile the program:
cargo build --release
Run the program using command-line flags:
cargo run --release -- --interval 15 --query 'your-query' --smtp-server 'smtp.googlemail.com' --smtp-port 465 --smtp-username '[email protected]' --smtp-password 'your app password' --recipient '[email protected]' --include-countries 'US UK UA'