#!/usr/bin/env python3 """Build Jobley, our recruiting board. Every open role on every team, linked to that team's careers page. Data: tools/jobs.json. Run from the repository root; writes index.html, privacy/, 404.html, robots.txt and puts the same header and footer on research/.""" import json, os, re from html import escape as e ROOT = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) JOBS = json.load(open(os.path.join(ROOT, "tools", "jobs.json"))) SOURCE = "https://branchwell.ai/jobley/website" V = "20261203" ARROW = '' TOTAL = sum(len(o["roles"]) for o in JOBS) DESC = "We're hiring builders, and people who want to become one. Every open role on every one of our teams, in one place." def head(title, desc, extra=""): return f''' {extra} {e(title)} ''' HEADER = '''''' FOOTER = f'''''' def write(rel, text): path = os.path.join(ROOT, rel) os.makedirs(os.path.dirname(path) or ROOT, exist_ok=True) with open(path, "w") as f: f.write(text) def org_card(o): careers = f"https://{o['domain']}/careers/" tech = set(o.get("tech", [])) where = f'{e(o["where"])}' if o["where"] else "" tag = ' Tech' roles = "\n".join( f'
  • {e(r)}{tag if r in tech else ""}
  • ' for r in o["roles"]) words = " ".join([o["name"], o["what"], o["where"], *o["roles"]]).lower() return f'''

    {e(o["name"])}

    {where}

    {e(o["what"])}

    Apply on {e(o["domain"])} {ARROW}
    ''' def index(): places = sorted({o["where"] for o in JOBS if o["where"]}) opts = "".join(f'' for p in places) cards = "\n".join(org_card(o) for o in JOBS) h = head("Jobley · We're hiring builders", DESC, '\n ') + f''' {HEADER}

    {TOTAL} roles on {len(JOBS)} teams

    We're hiring builders.

    A builder takes action. Builders don't ask questions and don't ask permission. They see what needs doing and do it. If that's you, or who you want to become, we want you on the team.

    Every open role on every one of our teams is here. Pick one and apply on that team's own site. A real person reads every message. No AI screens, scores or ranks anyone.

    • Part-time and paid by the hour
    • Work as much or as little as you want
    • Days off whenever you want
    • A Bitcoin bonus every day
    • Health care, free groceries and free meals
    open roles

    Find your place on the team.

    {cards}
    how to apply

    Tell us everything you know.

    No résumé needed. On the team's careers page, write a message that tells us everything you know how to do and what you've worked on recently.

    Everything you know

    A plumber might list the systems they install and repair, their licenses and tools. A technician might list the equipment they know inside and out.

    What you worked on recently

    Describe your last few jobs or projects: what you did, what went wrong and how you fixed it.

    What you want to do

    Tell us the work you'd like to do with us, even if it isn't listed here.

    Tech roles

    Software, hardware and design builders also need a Branchwell profile and their own website. We don't hire for tech roles without both.

    Want to build, not sure where?

    Apply through Freeshift. You're hired once, and you can pick up work on any of our teams, in any city we serve.

    {FOOTER} ''' write("index.html", h) def privacy(): h = head("Privacy · Jobley", "What Jobley keeps.") + f''' {HEADER}

    Privacy

    Jobley is a list of jobs. It has no accounts and no forms, and it doesn't collect anything about you.

    When you apply, you apply on that team's own careers page, and that site's privacy page explains what it keeps.

    A small visitor counter counts visits. It stores no names, emails or addresses.

    {FOOTER} ''' write("privacy/index.html", h) def notfound(): h = head("Not found · Jobley", "That page isn't here.") + f''' {HEADER}

    That page isn't here.

    Every open job is on the home page.

    {FOOTER} ''' write("404.html", h) def reshell(rel): path = os.path.join(ROOT, rel) if not os.path.exists(path): return t = open(path).read() t = re.sub(r'', HEADER, t, count=1, flags=re.S) t = re.sub(r'', FOOTER, t, count=1, flags=re.S) if "board.css" not in t: t = t.replace('', f' \n', 1) write(rel, t) index(); privacy(); notfound(); reshell("research/index.html") write("robots.txt", "User-agent: *\nAllow: /\n") print("ok jobley board:", TOTAL, "roles on", len(JOBS), "teams")