Documentation
¶
Overview ¶
Package sources imports jobs from configured public job sources.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultSeed ¶
DefaultSeed returns the curated set of public job boards JobForge ships with. Every entry uses an officially-documented public API endpoint — no scraping, no auth, no ToS exposure. Users can add their own with `jobforge sources add`, or extend this list and rebuild.
The list is intentionally short. Better to ship 20 high-signal boards the user actually wants than 200 dead slugs. Each URL is constructed from the official ATS pattern:
Greenhouse: https://boards-api.greenhouse.io/v1/boards/<slug>/jobs Lever: https://api.lever.co/v0/postings/<slug>?mode=json Ashby: https://api.ashbyhq.com/posting-api/job-board/<slug>
If a slug 404s at import time, the user sees a clear error and can drop the source with `/sources rm`.
func ScrapeSourcesFromProfile ¶ added in v0.7.0
ScrapeSourcesFromProfile builds LinkedIn, Indeed, and Glassdoor search sources from the user's profile (roles, location, remote preference). Job URLs are discovered when the user runs jobs import/sync — no manual per-job URL entry required.
Types ¶
type Client ¶
type Client struct {
HTTPClient *http.Client
Scraper scraper.Config // zero = env + auto engine at import time
}
Client fetches and parses public job listings.
type ImportResult ¶
ImportResult summarizes one source import.