#!/usr/bin/env python3
"""Generate the Jobley volunteer website and legacy verification page."""
import json, os, re, runpy, subprocess, sys
from html import escape
ROOT = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
VOLUNTEER_GROUPS = runpy.run_path(os.path.join(ROOT, "tools", "atom-volunteer-roles.py"))["GROUPS"]
NEW_RESEARCH = {'Baby products': ('atom-baby-products', 'Research and education only. No product is available and no children participate in prototype tests.'), 'Sell your home by owner': ('atom-sell-your-home-by-owner', 'Create free guides for owners who choose to sell without a listing agent. No brokerage, listings, personalized advice, transactions or lender referrals.'), 'Online banking research': ('atom-online-banking-research', 'Unpaid, pre-charter research using fictional data only. No bank is open. No customer accounts, money movement, loans, or applications.'), 'Litter, recycling and clean waterways': ('atom-clean-waterways', 'Volunteer with public-source research or permitted dry-land cleanup. No entering water, handling hazardous items or installing equipment.'), 'Mosquito control research': ('atom-mosquito-control-research', 'Research-only. No pesticide formulation, spraying, biological releases, animal testing or extermination service.')}
PROJECT_WORK = runpy.run_path(os.path.join(ROOT, "tools", "project-roles.py"))["ROLES"]
PROJECT_ROLE_TRACKS = {title: (group, route, scope, curriculum, motif)
for group, title, route, scope, _, _, curriculum, motif in PROJECT_WORK}
# Extend an existing workstream without replacing its group-wide routes or scope.
PROJECT_GROUPS = {}
for group, title, route, scope, description, first_task, *_ in PROJECT_WORK:
existing = next((roles for name, roles in VOLUNTEER_GROUPS if name == group), None)
if existing is None:
existing = []
PROJECT_GROUPS[group] = (route, scope)
VOLUNTEER_GROUPS.append((group, existing))
existing.append((title, description, first_task))
VOLUNTEER_COUNT = sum(len(roles) for _, roles in VOLUNTEER_GROUPS)
OPEN_DESIGN_ROLES = {
"Cat tree and pet furniture designer": ("cat-tree", "cat-tree", "pet-furniture"),
"Scratching post product designer": ("scratching-post", "scratching-post", "pet-furniture"),
"Leash and collar hardware sourcing volunteer": ("dog-walking-gear", "dog-walking-gear", "pet-gear"),
"Pet-friendly textile materials developer": ("pet-friendly-fabrics", "pet-friendly-fabrics", "pet-textiles"),
"Local vehicle distribution and service planner": ("global-distribution", "global-product-distribution", "local-distribution"),
"Local delivery network and driver operations planner": ("global-distribution", "global-product-distribution", "delivery-network"),
"Shipping platform software and reliability volunteer": ("global-distribution", "global-product-distribution", "shipping-software"),
"Cross-border freight, customs and sourcing specialist": ("global-distribution", "global-product-distribution", "freight-documentation"),
}
# ---- The product, in one place -------------------------------------------------------------
NAME = "Jobley" # pending the owner's pick; see the PRD
DOMAIN = "jobley.ai"
SLUG = "jobley" # Pages project, analytics data-site, bundle id suffix, MCP server name
SITE = f"https://{DOMAIN}"
GSC = "ALCOIlR4g2OrItSH5QfWIxAIl7dadEQ8OxE6f5WoFa0" # google-site-verification token for the home page, once Search Console has one
BING = "E2001B47E91F72A19BB1E8E642B26928" # account-wide msvalidate.01 token
V = "20261127" # cache-buster for the icon, favicon and social card
VOLUNTEER_CSS_V = "20261129d" # bump whenever assets/volunteer.css changes; only /volunteer/ and /careers/ load it
VOLUNTEER_CSS = f"volunteer.css?v={VOLUNTEER_CSS_V}"
VOLUNTEER_MAIL = "mailto:hello@jobley.ai?subject=Volunteer"
# The promise every page that takes a post makes. The API keeps it true: only a person's token can publish.
GUARANTEE = "Only Jobley posts here. Volunteer work is open to everyone. Just email us."
JOB_DAYS = 45 # keep in step with LIMITS.jobDaysLive in src/config.js
READ = "November 27, 2026" # the day the competitor pages on /compare/ were read
# ---------------------------------------------------------------------------------------------
if "--release" in sys.argv:
raise SystemExit("Jobley is website-only; native release publishing is disabled.")
COMMUNITY_ONLY = sys.argv[1:] == ["--community-pages"]
LEARNING = runpy.run_path(os.path.join(ROOT, "tools", "learning-paths.py"))
ART = runpy.run_path(os.path.join(ROOT, "tools", "role-illustrations.py"))
LINE = "Find open volunteer work. Pick something you want to help with and email us to get started. No forms or permission needed."
DESC = f"{NAME} is a board for volunteer work. Open to people anywhere in the world. Every role is unpaid and optional."
TITLE = f"{NAME} · Volunteer work"
ORG = {"@type": "Organization", "@id": f"{SITE}/#org", "name": NAME, "url": f"{SITE}/",
"logo": f"{SITE}/assets/icon.png"}
APP = {"@type": "WebApplication", "@id": f"{SITE}/#app", "name": NAME, "url": f"{SITE}/", "description": DESC,
"applicationCategory": "BusinessApplication", "applicationSubCategory": "Volunteer board",
"browserRequirements": "A web browser.", "isAccessibleForFree": True,
"image": f"{SITE}/assets/icon.png?v={V}",
"featureList": ["Volunteer opportunities open to people anywhere in the world",
"No volunteer forms or résumé collection"],
"author": {"@id": f"{SITE}/#org"}, "publisher": {"@id": f"{SITE}/#org"}}
ICON_ARROW = ''
ICON_SEARCH = ''
ICON_PEN = ''
ICON_HAND = ''
ICON_BELL = ''
ICON_PLUG = ''
ICON_BOOK = ''
ICON_HOME = ''
ICON_HELP = ''
ICON_SHIELD = ''
NAV = [("/volunteer/", "Volunteer work", ""), ("/careers/", "Careers", "nav-hide-sm")]
FOOT_NAV = [("/volunteer/", "Volunteer work"), ("/research/", "Research"), ("/careers/", "Careers"), ("/moderators/", "Moderate"),
("/help/", "Help"), ("/privacy/", "Privacy"), ("/licenses/", "License")]
PRINT_PROJECT = "/projects/print-and-fulfillment/"
PET_FOOD_PROJECT = "/projects/pet-food-and-treats/"
PAGES = ["/", "/volunteer/", "/careers/", PRINT_PROJECT, PET_FOOD_PROJECT, "/moderators/", "/help/", "/compare/", "/privacy/", "/licenses/", "/research/"]
def ld(graph):
return '"
def head(path, title, desc, graph, noindex=False, home=False, scripts=(), raw_meta=None, styles=()):
url = SITE + path
meta = []
if raw_meta is not None:
meta += raw_meta
elif noindex:
meta.append(' ')
else:
meta.append(f' ')
meta += [' ',
' ']
if not noindex and raw_meta is None:
meta += [f' ']
if not noindex:
meta += [' ', f' ',
' ',
f' ', f' ',
f' ', f' ',
' ',
' ', ' ',
f' ',
' ',
f' ', f' ',
f' ',
f' ']
if home:
if GSC:
meta.append(f' ')
meta.append(f' ')
meta += [f' ', f' ',
' ',
*[f' ' for s in styles],
]
meta += [f' ' for s in scripts]
if home:
meta += [' ',
' ']
meta += [' ' if home else None,
f'
{title}', (' ' + (graph if isinstance(graph, str) else ld(graph))) if graph else None]
return '\n\n\n \n \n' + "\n".join(m for m in meta if m) + "\n \n\n"
def header(current=None, body_class=None):
current_attr = ' aria-current="page"'
links = "\n".join(f' {t}' for h, t, c in NAV)
cta = f'Find volunteer work'
body = f'' if body_class else ""
return f'''{body}
Skip to content
'''
def footer():
nav = "".join(f'{t}' for h, t in FOOT_NAV)
return f'''
'''
def crumbs(name, path):
return {"@type": "BreadcrumbList", "itemListElement": [{"@type": "ListItem", "position": 1, "name": NAME, "item": SITE + "/"},
{"@type": "ListItem", "position": 2, "name": name, "item": SITE + path}]}
def webpage(path, name, desc):
return {"@type": "WebPage", "@id": f"{SITE}{path}#webpage", "url": SITE + path, "name": name, "description": desc,
"isPartOf": {"@id": f"{SITE}/#website"}, "inLanguage": "en-US", "publisher": {"@id": f"{SITE}/#org"},
"about": {"@id": f"{SITE}/#app"}}
def write(rel_path, text):
p = os.path.join(ROOT, rel_path)
os.makedirs(os.path.dirname(p) or ROOT, exist_ok=True)
open(p, "w").write(text)
TOOLS = [("get_status", "Whether the app is signed in, who as (curator or moderator), and how many posts are waiting."),
("list_jobs · get_job", "Legacy compatibility tools. Volunteer opportunities are on the web roster."),
("list_review_queue", "Posts waiting for a person, oldest first, with what the poster wrote."),
("get_review_item", "One waiting post in full, with its notes and history."),
("get_house_rules", "Legacy moderation rules; they do not govern volunteering."),
("tidy_job_post", "Fix the formatting of a waiting post: spacing, paragraphs, an obvious typo in the title. It cannot change publication status. Off until you allow changes."),
("add_review_note", "Leave a note on a waiting post for the person reviewing it. Off until you allow changes.")]
RULES = [("Jobley listings only.", "The board lists only roles Jobley posts."),
("Open to everyone.", "Pick a role and email us to start. No forms or résumé."),
("Clear scope.", "Each role describes the contribution and identifies planning work as such."),
("Privacy and safety.", "Do not ask for money, sensitive personal information, or confidential work.")]
def closing():
return f'''
Start working together.
Browse here, pick a role, and email us. Say what you can help with and we’ll help you pick a first task.
'''
BOARD_ID = "volunteer-board" # the roster wrapper on /volunteer/; the browse link scrolls here
START_IDS = {"getting-started", "getting-started-title", BOARD_ID} # volunteer_page() asserts no role or group slug takes one
def getting_started(on_board=False, indent=" "):
"""Offer two starting points."""
if on_board:
go = (f'Browse volunteer work'
' ↓')
else:
go = f'Browse volunteer work {ICON_ARROW}'
lines = [
'',
'
',
'
Getting started
',
'
No forms needed.
',
'
',
'
',
'
',
'
Ready? Email us
',
'
Tell us what you’d like to help with and we’ll get you started.
Jobley posts the kinds of work that need help. Drivers, farmers, engineers, data scientists, and people from every trade are welcome. You can learn with others or get straight to work on something you know.
Pick what you want to help with
Start with the volunteer roster. There are no forms, résumés or approvals to wait for.
Email us
Tell us what you’d like to do, share an idea, or ask who is already working on it.
Organize with others
Share a concrete next step and coordinate so people aren’t duplicating work.
Share useful progress
Post what you tried, what you learned, and what someone else can pick up.
No screening stands between you and the volunteer community. Join in directly.
Only what we need
Jobley does not collect forms or résumés from volunteers. What we keep
Free to browse
Use the site without an account. Email us when you’re ready to start.
{closing()}'''
h += " \n" + footer()
write("index.html", h)
def volunteer_switch(current):
"""The roster / by-career switch at the top of /volunteer/ and the career directory."""
cur = lambda path: ' aria-current="page"' if path == current else ""
return (f'')
def trade_training_section():
return """
Electrical, plumbing and HVAC learning paths
Start with free introductory learning. It is peer learning, not accredited training, an apprenticeship, a license or a certification. Learn at your own pace and take those skills wherever you choose. The paths are open whether or not you volunteer, and do not promise placement or authorization to do trade work.
Start with electrical safety and reading simple diagrams. For hands-on training, look for a recognized electrical trade program or registered apprenticeship. Ask your local licensing authority about required classroom hours, supervised experience and exams.
Start with water supply, drainage and reading plans. For hands-on training, look for a recognized plumbing program or registered apprenticeship. Confirm supervised experience, exams, license levels and permitted work with the authority where you live.
Start with ventilation and cooling fundamentals. Look for a recognized HVAC program or registered apprenticeship. In the United States, check the EPA’s Section 608 requirements before refrigerant-related work, and check any separate local license requirements.
Use your national or regional apprenticeship office or licensing authority to verify a provider, entry requirements, supervised hours and any tuition, materials or exam fees. In the United States, start with the U.S. Department of Labor’s apprenticeship finder. Formal training and exams are separate from Jobley.
As a volunteer, stick to learning, planning and peer review. Do not do hands-on or regulated work unless you are qualified, authorized and supervised as required.
"""
def learning_page(path, title, description, track, community, first_task, parent, formal=None, occupation=None, art_src=None):
if art_src is None:
art_src = ART["art"](write, "support", path.strip("/").split("/")[-1], ART["role_motif"](title, community))
project_role = PROJECT_ROLE_TRACKS.get(title)
concept, exercise, artifact, resource = project_role[3] if project_role else LEARNING["TRACKS"][track]
if formal is None:
formal = LEARNING["FORMAL"].get(track, (
"Look up the occupation, then compare entry qualifications and training where you live. Ask a provider which skills and supervised hours it covers.",
LEARNING["BLS"]))
d = f"Free starter curriculum, practice and next steps for {title}."
rendered_steps = (
("Learn how the work fits together", concept, resource, "Read the learning resource"),
("Do a first exercise", first_task, None, None),
("Practice and compare", exercise, None, None),
("Show what you learned", artifact + " Ask someone to review what you made and explain one thing you would improve.", None, None),
)
steps = "".join(
f'
{escape(label)}
{escape(copy)}
'
+ (f'{escape(link)}' if url and 'projectatom' not in url else '') + '
'
for label, copy, url, link in rendered_steps)
next_heading = "Scope and next steps" if project_role else "Formal training and next steps"
training = (f"
' if occupation and occupation != formal[1] else ''
scope = "These are free introductory exercises, not a credential or a job offer. Keep practice to public or sample material. Regulated or hazardous tasks require independent qualifications, authorization and supervision where applicable."
h = head(path, escape(title) + f" starter curriculum · {NAME}", escape(d), None, noindex=True, styles=(VOLUNTEER_CSS,)) + header()
h += f'''
''' + footer()
write(path.strip("/") + "/index.html", h)
def volunteer_track(group, title, trade):
lower = title.lower()
if title in PROJECT_ROLE_TRACKS: return None
if title in OPEN_DESIGN_ROLES: return OPEN_DESIGN_ROLES[title][2]
if group in NEW_RESEARCH: return trade.removeprefix("atom-")
if group == "Solar roof tiles": return "solar-roof-envelope" if "envelope" in lower else "solar-roof-pv"
if group == "Civilian nuclear energy":
if "licensing" in lower: return "civilian-energy-oversight"
if "grid" in lower: return "civilian-energy-grid"
return "civilian-energy-preparedness"
if any(x in lower for x in ("electrical", "electrician")): return "electrical"
if "plumb" in lower: return "plumbing"
if "cooling" in lower or "hvac" in lower: return "hvac"
if "veterinar" in lower: return "veterinary"
if "research" in lower and trade == "atom-health-veterinary": return "health-veterinary"
if "educat" in lower or "training" in lower: return "education"
if "budget" in lower or "finance" in lower: return "finance"
return trade.removeprefix("atom-")
def volunteer_page():
t = f"Find volunteer work · {NAME}"
d = "Explore unpaid community work in chip design and manufacturing, worldwide data centers, software, AI, and more. Pick a task and email us to get started."
graph = [webpage("/volunteer/", t, d), crumbs("Volunteer work", "/volunteer/"), ORG]
groups = VOLUNTEER_GROUPS
sl = lambda text: re.sub(r"[^a-z0-9]+", "-", text.lower()).strip("-")
titles = [sl(title) for _, roles in groups for title, _, _ in roles]
assert len(titles) == len(set(titles))
assert not START_IDS & (set(titles) | {sl(group) for group, _ in groups}), "a role or group slug collides with a Getting started id"
toc ='
' for group, _ in groups)
sections = []
def trade_category(group, title):
if title in PROJECT_ROLE_TRACKS: return PROJECT_ROLE_TRACKS[title][1]
if group in PROJECT_GROUPS: return PROJECT_GROUPS[group][0]
if group in NEW_RESEARCH: return NEW_RESEARCH[group][0]
t = title.lower()
if title in OPEN_DESIGN_ROLES: return "atom-build-" + OPEN_DESIGN_ROLES[title][0]
if group == "Leadership and operations": return "atom-leadership-operations"
if group == "Community": return "atom-design-media" if "writer" in t or "design and media" in t else "atom-community"
if group == "Software and AI": return "atom-ai-data" if any(x in t for x in ("ai ", "model", "data scientist", "distillation")) else "atom-software"
if group == "Free meals, farming and delivery":
if "farm" in t or "sourcing" in t: return "atom-farming"
if any(x in t for x in ("driver", "dispatch", "route")): return "atom-delivery-driving"
return "atom-kitchens-food"
if group == "Free movie and TV streaming": return "atom-film-tv-production"
if group == "Chip design and manufacturing": return "atom-chips-manufacturing"
if group == "Solar roof tiles": return "atom-build-solar-roof-tiles"
if group == "Civilian nuclear energy": return "atom-civilian-nuclear-energy"
if group == "Data centers, power and manufacturing": return "atom-data-centers-trades"
if group == "Health, veterinary care and research": return "atom-health-veterinary"
if group == "Motors, robotics and space": return "atom-motors" if any(x in t for x in ("vehicle", "ev ", "charging")) else "atom-robotics-space"
raise ValueError("Missing community category for " + group)
for group, roles in groups:
items = []
for title, description, exercise in roles:
title_html = escape(title)
trade = trade_category(group, title)
guide = f"/volunteer/learn/{sl(title)}/"
motif = PROJECT_ROLE_TRACKS[title][4] if title in PROJECT_ROLE_TRACKS else ART["role_motif"](title, trade)
role_src = ART["art"](write, "volunteer", sl(title), motif)
learning_page(guide, title, description, volunteer_track(group, title, trade), trade, exercise, "/volunteer/#" + sl(title), art_src=role_src)
formal = '
Public-source research and education only. There is no construction, facility work, fuel processing, weapons work, or use of restricted information. No forms are needed.
'
if group == "Civilian nuclear energy" else ""
)
if group == "Pet products and local distribution":
scope = '
These are unpaid design and planning roles. No forms are needed. No products, sales, deliveries or appointments are available through these listings.
'
if group == "Solar roof tiles":
scope = f'
Help plan and review one shared open tile design. If the design is validated, independent local teams can make it themselves. There is no working prototype, product, installation service, or sign-up process.
'
if group in PROJECT_GROUPS: scope = f'
{escape(PROJECT_GROUPS[group][1])}
'
if group == "Data centers, power and manufacturing":
scope += '
Study first-party internet hosting and potential future owned data centers. No facility or hosting service is open. These roles are unpaid research only.
Illustrative concept only, not an existing facility.'
if group == "Open Garden Design":
scope += ''
if group in NEW_RESEARCH: scope = f'
People anywhere in the world can volunteer. Pick work that interests you, email us, and organize together. Every opportunity here is unpaid and optional.
{volunteer_switch("/volunteer/")}
Some programs are still in planning. You can help design them now. Working on a planning task does not mean a facility, delivery shift or medical service is open. The health roles are advisory; no patient or animal care is offered through this board.
Chip manufacturing, worldwide data centers and AI infrastructure are planned programs. These listings are for research, design and planning. No fabrication or data center shifts are available now. Please do not share confidential designs, proprietary documents or other nonpublic information.
Pick a role for a practical first task and a learning path. Select Volunteer to email us about it. No forms, résumé, or approval is required. Want ideas based on your background? Explore by career.
{trade_training_section()}{"".join(sections)}
''' + footer()
write("volunteer/index.html", h)
def careers_page():
t = f"Volunteer ideas by career · {NAME}"
d = "Find volunteer ideas by career and start organizing with others."
config = runpy.run_path(os.path.join(ROOT, "tools", "career-families.py"))
families = config["FAMILIES"]
source = json.load(open(os.path.join(ROOT, "tools", "career-titles.json")))
by_group = {code: 0 for code, *_ in families}
for code, title in source:
by_group[code[:2]] += 1
assert sum(by_group.values()) == 848
directory = [[code, title, next((trade for pattern, trade in config["ROUTES"] if re.search(pattern, title, re.I)), ""),
config["ALIASES"].get(code, "")] for code, title in source]
write("assets/career-directory.json", json.dumps({"careers": directory, "families": families}, ensure_ascii=False, separators=(",", ":")) + "\n")
by_code = {family[0]: family for family in families}
career_art = {}
for code, title, override, _ in directory:
career_art[code] = ART["art"](write, "career", code, ART["motif_for"](title, ART["FAMILIES"][code[:2]]))
family, community, family_idea = by_code[code[:2]][1:]
track = LEARNING["SPECIAL_CODES"].get(code) or override or LEARNING["FAMILY_TRACK"][code[:2]]
title_description, task, occupation = LEARNING["OCCUPATIONS"].get(code, (
f"Explore the {title.lower()} career in {family.lower()}. This starter path covers shared fundamentals, with a first exercise to connect them to this role.",
f"Look up {title.lower()} in a public occupation profile. Pick one common task, describe its inputs and output in your own words, then sketch a paper or sample-data version you can do safely.",
LEARNING["BLS"],
))
learning_page(f"/careers/{code}/", title, title_description, track, "atom-" + (override or community),
task, f"/careers/families/{code[:2]}/", occupation=occupation, art_src=career_art[code])
family_art = {}
for code, family, _, idea in families:
family_art[code] = ART["art"](write, "family", code, ART["FAMILIES"][code])
path = f"/careers/families/{code}/"
links = "".join(f'
'
for code, name, trade, idea in families
)
opts = "".join(f'' for code, name, *_ in families)
h = head("/careers/", t, d, [webpage("/careers/", t, d), crumbs("Volunteer ideas by career", "/careers/"), ORG],
scripts=("careers.js?v=20261201",), styles=(VOLUNTEER_CSS,)) + header()
h += f'''
Worldwide volunteer community
Find a way to help by career.
Explore {len(directory)} civilian career titles across {len(families)} families. Search for what you know or browse a field you want to learn. These are unpaid volunteer ideas, not openings, shifts, or commitments.
Print and fulfillment: explore the expertise needed for a direct manufacturing pilot. This independent project is not a job opening or a volunteer listing.
Pet food and treats: explore five research roles in formulation, U.S. sourcing, manufacturing safety and palatability.
Career directory
Search is unavailable. The career family learning paths below still work.
For licensed or safety-critical fields, stick to appropriate planning, general education and coordination. Do not do regulated or hazardous work unless you are independently qualified and authorized, with supervision where required. The directory does not authorize work or offer services.
''' + footer()
write("careers/index.html", h)
def print_project_page() -> None:
title = "Print and fulfillment project"
desc = "Explore the skills behind an independent direct-factory pilot for cotton and performance tees."
roles = [
("apparel-sourcing", "Apparel sourcing and factory qualification",
"Experience qualifying apparel factories, reviewing samples and negotiating realistic quantities and lead times.",
"Compare factories that print directly and can ship from their own site. Document in-house and subcontracted steps, size ranges, sample terms and repeat-run capacity.",
"production-study"),
("garment-printing", "Garment printing and quality",
"Experience with textile printing, cotton and performance fabrics, and repeatable production checks.",
"Evaluate one cotton tee and one performance tee against fit, print feel, stretch and repeated washing. Deliver an approval scorecard for samples.",
"printer-test"),
("shipping-operations", "International fulfillment and customs",
"Experience with outbound parcels, customs, tracking, failed deliveries and returns.",
"Compare tested destinations for true delivered cost and recipient charges, then document which lanes can launch and how exceptions will be handled.",
"truck"),
("print-prepress", "Card printing and prepress",
"Experience with digital production presses, uncoated card stock, cutting and QR print checks.",
"Specify a simple low-cost card and qualification tests for the future owned printer. No card purchasing, printing or distribution during the apparel pilot.",
"evidence"),
]
cards = []
for slug, name, background, deliverable, motif in roles:
src = ART["art"](write, "project-print", slug, motif)
cards.append(f'''
Qualify a factory that can print durable cotton and performance tees and ship from its own facility, without a print-on-demand marketplace in the middle.
Start remotely with two printed samples, one in each fabric. Approve samples before a small pilot, and open destinations only after confirming delivered cost, tracking, duties and returns. Worldwide fulfillment is a goal, not current coverage.
Business cards are on hold until a printer can be sourced, installed and qualified for in-house production.
Planning only. These briefs describe expertise the independent venture may need. They are not employment offers, unpaid work requests or an invitation to sign up. No sign-ups are open or collected here.
''' + footer()
write("projects/print-and-fulfillment/index.html", h)
def pet_food_project_page() -> None:
title = "Pet food and treats research"
desc = "Research roles for U.S.-sourced dog and cat treats and separate adult dog and cat foods."
roles = [
("pet-food-science", "Pet-food scientist and process validation",
"Hands-on development of meat-based pet treats and complete dog or cat food, with experience transferring a prototype into a U.S. food plant.",
"Write a brief for separate, cooked duck treat prototypes. Compare consistent portion size, texture, yield, packaging and cost, and identify the evidence a plant must provide before release.",
"production-study"),
("veterinary-nutrition", "Veterinary nutrition and formulation",
"Board-certified veterinary nutrition or equivalent specialist credentials, with commercial canine and feline formulation experience.",
"Define separate specifications for one adult dog food and one adult cat food, including the evidence for nutritional adequacy. Do not treat a snack as a complete diet.",
"preventive-vet"),
("us-sourcing", "U.S. sourcing and manufacturer qualification",
"Pet-food supplier assurance, ingredient traceability and U.S. co-manufacturer due diligence.",
"Build a supplier screen that distinguishes where the duck and other ingredients originate from where the product is made. Specify domestic-origin records, lot traceability and backup supply before a purchase decision.",
"truck"),
("food-safety", "Quality, microbiology and shelf life",
"Animal-food preventive controls, poultry-product verification, post-process contamination control, and shelf-life and packaging studies.",
"Design a manufacturer and lab release checklist that covers microbial checks, packaging integrity and shelf-life evidence. No tentative stability claims and no feeding unreleased samples.",
"validation-study"),
("palatability-research", "Humane palatability research",
"Veterinary or animal-welfare oversight and experience designing voluntary canine and feline food preference studies.",
"Separate dog and cat observations, define opt-out and stop criteria, and distinguish preference from nutrition or safety. Home taste feedback is optional only after professional safety release and a veterinarian confirms suitability for each pet.",
"animal"),
]
cards = []
for slug, name, background, deliverable, motif in roles:
src = ART["art"](write, "project-pet-food", slug, motif)
cards.append(f'''
Explore meat-based pet treats manufactured in the United States with U.S.-sourced ingredients. Duck is the first protein to evaluate, not a proven preference for every pet.
The first treat study compares dried pieces with a cooked, portioned format, using separate dog and cat prototypes. Consistent size, lower cost and longer shelf life are targets to test, not product claims.
Next, research one complete adult dog food and one separate complete adult cat food. Nutritional adequacy and manufacturing safety need their own evidence. A household taste check cannot establish either, and no comparison to another brand is claimed.
Planning only. These briefs describe expertise the project may need, not employment offers or requests for unpaid work. No sign-ups are open or collected here.
''' + footer()
write("projects/pet-food-and-treats/index.html", h)
def field(name, label, kind="text", hint=None, required=True, attrs=""):
opt = "" if required else " (optional)"
req = " required" if required else ""
hint_html = f'\n {hint}' if hint else ""
described = f' aria-describedby="{name}-hint {name}-error"' if hint else f' aria-describedby="{name}-error"'
if kind == "textarea":
control = f''
elif kind == "select":
control = f''
else:
control = f''
return f'''
{control}{hint_html}
'''
HONEYPOT = '''
'''
def form_foot(button, note):
return f'''
{note}
'''
def moderators():
t = f"Become a moderator · {NAME}"
d = f"{NAME} has a separate request form for board moderator access. Community volunteers email us to join."
graph = [webpage("/moderators/", t, d), crumbs("Moderators", "/moderators/"), ORG]
h = head("/moderators/", t, d, graph, scripts=("forms.js",)) + header("/moderators/") + f'''
moderators
Help us read. Become a moderator.
Board moderator access is separate from volunteering. To volunteer in community moderation without a form, see the volunteer roster.
Thank you. We have your request.
It is saved as . We read every request ourselves and will write to the email you gave.
''' + footer()
write("moderators/index.html", h)
def faq():
return [(f"What is {NAME}?", "A worldwide board for unpaid volunteer work. All participation is optional."),
("How do I join?", 'Pick a role on the volunteer roster and select Volunteer to email us. No forms, résumé or approval is required.'),
("Is it free?", "Yes. Browsing the board and choosing a role are free."),
("Who posts listings?", "Only Jobley lists roles on this board."),
("Do you collect my details?", "Not when you choose a volunteer role. The separate board-moderator form is for managing access to the board only.")]
def help_page():
t = f"Help · {NAME}"
d = f"Answers about {NAME}: how to choose a volunteer role and get started."
qs = faq()
fq = {"@type": "FAQPage", "@id": f"{SITE}/help/#faq", "url": f"{SITE}/help/",
"mainEntity": [{"@type": "Question", "name": q, "acceptedAnswer": {"@type": "Answer", "text": a}} for q, a in qs]}
graph = [webpage("/help/", t, d), fq, crumbs("Help", "/help/"), APP, ORG]
qa = "\n".join(f"
{q}
\n
{a}
" for q, a in qs)
rules = "\n".join(f"
{a} {b}
" for a, b in RULES)
h = head("/help/", t, d, graph) + header() + f'''
help
{NAME} Help
{d}
Our promise: {GUARANTEE}
Common questions
{qa}
Volunteer listing guidelines
These rules apply throughout the volunteer board.
{rules}
We remove misleading or unsafe listings.
''' + footer()
write("help/index.html", h)
def compare():
t = f"Ways to help · {NAME}"
d = "Pick an unpaid volunteer role and email us to get started."
h = head("/compare/", t, d, [webpage("/compare/", t, d)]) + header() + f'''
''' + footer()
write("compare/index.html", h)
def privacy():
t = f"Privacy · {NAME}"
d = f"How {NAME} handles volunteer browsing, the board moderator form, and private historical records."
graph = [webpage("/privacy/", t, d), crumbs("Privacy", "/privacy/"), ORG]
h = head("/privacy/", t, d, graph) + header() + f'''
privacy
Privacy
Choosing a volunteer role does not send personal details to Jobley. Updated November 27, 2026.
Historical submissions
Historical submissions are private and no longer appear on the board. Access is limited to authorized people; connected agents cannot see personal records. You can request access, correction or deletion using the contact details below. We retain historical submissions for up to 12 months.
When you apply to moderate
We store your request and read it ourselves. If you become a moderator, the decisions you make (publish, send back, edit, note) are logged with your name so every decision has a person behind it.
Keeping the forms clean
The forms use Cloudflare Turnstile to tell people from bots, which may set a cookie and reads standard browser signals under Cloudflare’s privacy policy. To limit how many submissions one connection can send in an hour, we store a salted, one-way hash of the IP address with each submission. We do not store the IP address itself.
Where we host
This site runs on Cloudflare. Cloudflare serves every page and manages our traffic, so it handles standard request details such as your IP address and browser to deliver the site and protect it from abuse. Form submissions are stored in a Cloudflare D1 database. Cloudflare handles that data under its privacy policy.
We’re not a Cloudflare sponsor. We chose them because we think they’re the best value and the best service, and we’ll keep using them for as long as that stays true.
Questions and changes
We don’t sell your information, and we don’t use it for advertising. To ask what we hold, or to have it corrected or deleted, email hello@jobley.ai. We answer within 30 days.
If this page changes, the date at the top changes with it.
''' + footer()
write("privacy/index.html", h)
def license_page():
t = "License · Jobley"
d = "Public-domain licensing and third-party notices for Jobley."
graph = [webpage("/licenses/", t, d), crumbs("License", "/licenses/"), ORG]
h = head("/licenses/", t, d, graph) + header() + '''
license
License
Public-domain licensing for Jobley’s source code.
Public domain
Jobley’s code is free and open source, released into the public domain under the Unlicense. Anyone may copy, change, share or sell it, for any purpose, without asking. We claim no copyright in it. Parts made by others, such as open source libraries, keep their own licenses.
''' + footer()
write("licenses/index.html", h)
def notfound():
h = head("/404", f"Page not found · {NAME}", "", None, noindex=True) + header(body_class="missing-page") + f'''
Page not found.
The page may have moved, or the link may have changed. You can still get back to the board or find help.
''' + footer()
write("404.html", h)
def app_turnstile():
h = head("/app/turnstile/", f"Checking you’re a person · {NAME}", "", None, noindex=True, scripts=("app-turnstile.js",)) + f'''
One moment. We’re checking you’re a person.
'''
write("app/turnstile/index.html", h)
def llms():
write("llms.txt", f"""# {NAME}
> Jobley is a worldwide volunteer board. Every role is unpaid and optional. Pick a role and email us to start. No forms, résumé or approval is required.
- [Volunteer roster]({SITE}/volunteer/): all current roles
- [Career directory]({SITE}/careers/): browse civilian career backgrounds and ways to contribute; these are ideas, not listings
- [Help]({SITE}/help/): how to join
- [Board moderator access]({SITE}/moderators/): a separate form for managing who can moderate the board
- [Privacy]({SITE}/privacy/): volunteer browsing and historical records
""")
AI_BOTS = ["OAI-SearchBot", "ChatGPT-User", "GPTBot", "ClaudeBot", "Claude-SearchBot", "Claude-User", "PerplexityBot", "Perplexity-User",
"Google-Extended", "GoogleOther", "Applebot", "Applebot-Extended", "bingbot", "Amazonbot", "meta-externalagent",
"meta-externalfetcher", "DuckAssistBot", "MistralAI-User", "CCBot", "cohere-ai", "YouBot"]
# A named group ignores *, so every Disallow goes in both groups.
DISALLOW = "Disallow: /api/admin/\nDisallow: /job-template\nDisallow: /app/"
def crawl_files():
bots = "\n".join(f"User-agent: {b}" for b in AI_BOTS)
write("robots.txt", f"""# {NAME} welcomes search engines and AI assistants.
# A plain-text summary for language models: {SITE}/llms.txt
User-agent: *
Allow: /
{DISALLOW}
# AI search, assistant and training crawlers, allowed by name.
{bots}
Allow: /
{DISALLOW}
Sitemap: {SITE}/sitemap.xml
""")
urls = "\n".join(f" {SITE}{p}{V[:4]}-{V[4:6]}-{V[6:]}" for p in PAGES)
write("sitemap.xml", f'\n\n{urls}\n\n')
def headers_file():
"""_headers with the house CSP. The one inline