Skip to content

TheKohan/jj-it-fetcher

Repository files navigation

image

jj-it-fetcher

Job board scraper with integrated discord notifications to keep you posted daily. Features a minimalistic ui with offers preview. You can check the live version here.

Description

This project is an api scraper written with Bun, Hono,Supabase Vite and React. It Aggregates job offers from multiple services like justjoinit or nofluffjobs, lets you preview new offers or set up Discord webhook based notification to get notified whenever there are job opportunities you cannot miss ! Feel free to fork and adjust it to scrape offers fledged to your profile. You can also drop feature-request or issue that will be worth looking at.

Getting Started

Dependencies

  • bun cli
  • supabase project set-up

Installing

  • Set environment variables in .env file (create it in root of the project). Follow this guide to connect your prisma client to Supabase.
SUPABASE_URL=<supabaseUrl> #url for your supabase project
SUPABASE_API_KEY=<supabaseApiKey> #api key for your supabase project
DIRECT_URL=<directURL> # db direct url
DATABASE_URL=<databaseURL> #your database connection string
DISCORD_WEBHOOK_URL=<webhookURL> #webhook url for your discord channel
PORT=8000 #Port for the process
curl -fsSL https://bun.sh/install | bash
bun db-push

Check the Modding section on how to adjust the scraper

Start Api

  • Start server locally
bun run-dev:api
  • With docker
bun docker-build

docker run -it -p 8000:8000 jj-it-fetcher

Start Dashboard

  • Start dashboard locally
bun run-dev:web

Tuning the scraper

Adjusting scrape parameters

Lets assume you only want to scrape api with predefined set of query strings that match what you're looking for. In each fetch module you'll find config.ts file which exports linkFunction. This function is what scraper uses to get the data. You can modify it by adding query params to the url.

WARNING: Some api endpoints are accepting arguments payload, for then there will be a payload const in config.ts which needs to be adjusted.

Authors

@TheKohan

License

This project is licensed under the MIT License - see the LICENSE.md file for details

About

Scraper for it job boards

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published