as

Projects / simplijobs

simplijobs

A diff for SimplifyJobs internship listings.

Why

The list is long and most of it was there yesterday. The useful output is the new rows. Remembering the last check is the whole product.

Diagrams

A solid outline is the path in the repo. A dashed outline is the alternative that shape is refusing.

check fetches SimplifyJobs listings, compares them to the last local snapshot, and prints the new ones. Company and location filters sit on that diff. status shows the last check. reset forgets it.

flowchart TD
  src["SimplifyJobs listings"]
  last["Last local snapshot"]
  diff["New rows"]
  filt["Company and location filters"]
  src --> diff
  last --> diff
  diff --> filt
  class src,last,diff,filt chosen
          

The list is long and most of it was there yesterday. Remembering the last check is the product. There is no account. A changed title looks new. A listing that disappeared is not the headline.

flowchart TD
  q{What to print}
  q -->|"rows since the last check"| diff["The diff"]
  q -->|"the whole list again"| allrows["The full listing"]
  state{Who remembers the check}
  state -->|"a local file, status and reset"| local["No account"]
  state -->|"a login"| acct["An account"]
  class diff,local chosen
  class allrows,acct rejected
          

Why this shape

check fetches the listings, compares them to what was stored last time, and prints the new ones. Filters for company and location sit on that diff, so you do not re-filter a thousand old rows by hand. status shows the last check. reset forgets it, which is the escape hatch when the stored snapshot is wrong. State is local. There is no account.

Where it breaks

A listing that changes its title looks new. A listing that disappeared is not the headline. The tool is a diff of what you have not seen, not a tracker of what closed. And it follows the SimplifyJobs data. If that repo lags, so does the diff.