Job Board
Scrapes job sites once a day, stores results in SQLite (data/jobs.sqlite), and shows them in a web UI where you can mark jobs as seen.
No runtime dependencies. It uses Bun's built-in SQLite, HTTP server and HTMLRewriter.
Sources
| Source | How | Notes |
|---|---|---|
| slo-tech.com (Ljubljana) | HTML scrape | ~20 newest jobs |
| startup.si | HTML scrape (no public API or feed) | Site lists every posting since 2019 on one page, so only the last 90 days are kept (startupSi(days) in src/scrapers/index.ts) |
| adecco.com (Slovenia, IT) | Internal JSON API the site's job search uses (no public API) | Filtered by category; add more with adecco("<CategoryFilter value>", "<label>") |
| mojedelo.com (IT, Osrednjeslovenska) | Internal JSON API the site's search uses (no public API) | Takes a search URL copied from the site; add more with mojeDelo("<label>", "<search URL>") (don't rename the label later, it's part of the source ID) |
| optius.com (IT, Osrednjeslovenska) | Official RSS feed | Build a feed URL at https://www.optius.com/rss/ (its IDs differ from the search page's); add more with optius("<label>", "<feed URL>") (same label rule as MojeDelo) |
| bettercareer.si | Next.js __NEXT_DATA__ JSON embedded in the listing page |
IT-only by design; the payload holds every active job, so no filtering or pagination needed |
Run
bun install
bun start # http://127.0.0.1:3000
bun start --port 8080 # or -p 8080
The server scrapes every 24h. On startup it waits out the rest of the 24h since the last scrape (or scrapes right away if none happened in the last 24h).
You can also click Scrape now in the UI, or run bun run scrape once (e.g. from cron).
Env vars: PORT (3000; --port overrides it), JOB_BOARD_HOST (127.0.0.1; --host overrides it), SCRAPE_INTERVAL_HOURS (24), DB_PATH (data/jobs.sqlite),
OPENCODE_API_KEY (enables AI summaries and cover letters, see below), SUMMARY_MODEL (claude-haiku-5-5),
COVER_LETTER_MODEL (claude-opus-5-5). The models and prompts can also be changed on the Settings page.
Bun reads them from a .env file in the working directory too (it's gitignored).
AI summaries and cover letters
Set OPENCODE_API_KEY to an OpenCode Console API key (pay-as-you-go
credits) and every job gets a Summary button. It fetches the posting, sends it through the
Console gateway (its OpenAI-style chat completions endpoint, which works for every model it serves), and saves the result in the DB, so each job is only summarized once
(about $0.001 each with the default claude-haiku-5-5). SUMMARY_MODEL takes any model ID the gateway lists.
Without the key the buttons are hidden.
Cover letter writes a letter for the job from what you enter under About you on the Settings page (CV,
experience, skills, contact details; any format) plus the posting. Only facts from About you go into the
letter. It's saved with the job, with Copy and Regenerate buttons. A letter with the default
claude-opus-5-5 costs a few cents and takes about 30 seconds. About you is sent to the model with every
cover letter request.
Build a binary for a server
bun build --compile bundles the app and the Bun runtime into one executable (~90 MB), so the
server doesn't need Bun or node_modules:
bun run build # bin/job-board for this machine
bun run build:linux-x64 # bin/job-board-linux-x64
bun run build:linux-arm64 # bin/job-board-linux-arm64 (e.g. Raspberry Pi, ARM VPS)
On the server:
./job-board # http://127.0.0.1:3000, scrapes every 24h
./job-board --port 8080
./job-board --host 0.0.0.0 --port 8080 # listen on all interfaces
./job-board scrape # scrape once and exit (exit code 1 if a scraper failed)
It listens on loopback (127.0.0.1) only by default, so it's meant to sit behind a reverse proxy
(nginx, Caddy). There is no login: only use --host 0.0.0.0 on a trusted network.
The database goes to data/jobs.sqlite next to the binary (override with DB_PATH).
The binaries target glibc Linux; for Alpine use --target=bun-linux-x64-musl, and for old CPUs
without AVX2 use --target=bun-linux-x64-baseline.
Example systemd unit (/etc/systemd/system/job-board.service):
[Unit]
Description=Job board
After=network-online.target
[Service]
ExecStart=/opt/job-board/job-board --host 127.0.0.1 --port 3000
Restart=on-failure
User=jobboard
# Environment=OPENCODE_API_KEY=... (or put it in /opt/job-board/.env and set WorkingDirectory=/opt/job-board)
[Install]
WantedBy=multi-user.target
UI
- New / Seen / All tabs. Click Mark seen to move a job to Seen (opening a job does not mark it).
- Click ☆ to star a job; starred jobs are listed under Starred (starring is independent of seen/new).
- no longer listed means the job was missing from that source's latest successful scrape.
- Click Summary for an AI summary of the posting in English (needs
OPENCODE_API_KEY). It's saved and shown under the job from then on. - Click Cover letter to have one written from your About you (Settings). Regenerate writes a new one.
- Settings: your About you text, and the model, effort (low/medium/high, how long a reasoning model thinks) and system prompt for summaries and for cover letters.
- Search filters on title, company and tags. Recent scrape runs (and errors) are listed at the bottom.
Adding a site
- Create
src/scrapers/<site>.tsexporting an object that implementsScraper(src/scrapers/types.ts):export const mySite: Scraper = { id: "my-site", // stable, stored in DB name: "My Site", async scrape() { const html = await fetchHtml("https://..."); // helper in ./http.ts return [/* { externalId, title, url, company?, location?, tags?, postedAt? } */]; }, async getDescription({ externalId, url }) { // Plain text of one posting, for AI summaries. htmlToText(html, selector) keeps only the // text inside the elements that hold the ad. return htmlToText(await fetchHtml(url), ".job-description"); }, }; - Add it to the list in
src/scrapers/index.ts.
externalId must stay stable for a job, because it is what decides whether a job is new.
getDescription is only called when you click Summary. Read the ad from wherever the site keeps it: the job
page's HTML (slotech.ts, optius.ts), JSON embedded in the page (bettercareer.ts, adecco.ts), the
site's API (mojedelo.ts), or the listing page (startupsi.ts).
For another slo-tech city, just add sloTech("Maribor") to the list.