"""Generate the public portfolio and its Gitea homepage from reviewed content. Standard library only. This tool never reads application profiles or credentials. """ from pathlib import Path import html import json import shutil import textwrap ROOT = Path(__file__).resolve().parents[1] DATA = json.loads((ROOT / "content.json").read_text(encoding="utf-8")) OUT = ROOT / "dist" ASSETS = OUT / "assets" / "portfolio" DEPLOY = ROOT / "deploy" CASES = ROOT / "case-studies" BASE = "/assets/portfolio" REPO = "https://code.knickqueue.win/publish-bot/portfolio" VERSION = "20261016-1" def esc(value): return html.escape(str(value), quote=True) def paragraphs(values): return "".join(f"

{esc(value)}

" for value in values) def tags(values): return '
' + ''.join(f'{esc(value)}' for value in values) + '
' def case_url(project): return f"{BASE}/case-studies/{project['id']}.html" def link(url, label, css=""): return f'{esc(label)}' for folder in (ASSETS / "images", ASSETS / "diagrams", ASSETS / "case-studies", DEPLOY, CASES): folder.mkdir(parents=True, exist_ok=True) for file in ("portfolio.css", "portfolio.js"): shutil.copy2(ROOT / "site" / file, ASSETS / file) for file in (ROOT / "assets" / "images").glob("*"): shutil.copy2(file, ASSETS / "images" / file.name) DIAGRAMS = { "centra-tab": ("Encrypted cross-device clipboard", ["Desktop / Android", "Encrypted outbox", "Private hub", "Peer history"], ["Capture locally", "Persist through outages", "Store ciphertext", "Reconcile generations"], "Workspace keys stay on clients · stable identity through recovery"), "repo-relay": ("Reviewed publication boundary", ["Private snapshot", "Immutable review", "Public commit", "Verified release"], ["Pinned source revision", "Profile + file hashes", "Separate public history", "Anonymous clone + hashes"], "Approval expires when bytes or policy change · durable worker state"), "remoraid": ("Session-bound actions and response receipts", ["Authenticated client", "Session / relay", "Target action", "Result journal"], ["Request identity", "Lease + capability checks", "Fresh foreground / screen", "Persist before delivery"], "Lost delivery ≠ permission to repeat a mutation"), "nfcauth": ("Windows authentication and recovery boundaries", ["Signed authority", "SYSTEM service", "Credential provider", "User companion"], ["Issue approved grants", "Validate local policy", "Windows sign-in boundary", "Interactive session status"], "Protected local communication · SCM and companion supervision") } def diagram(key): title, names, detail, note = DIAGRAMS[key] blocks = [] for i, (name, sub) in enumerate(zip(names, detail)): x,y = [(25,90),(320,90),(320,205),(25,205)][i] blocks.append(f'0{i+1}{esc(name)}{esc(sub)}') arrows='' note_lines=''.join(f'{esc(line)}' for i,line in enumerate(textwrap.wrap(note,width=83))) return f'{esc(title)}{esc(" → ".join(names)+". "+note)}SYSTEM OVERVIEW{esc(title)}{"".join(blocks)}{arrows}{note_lines}' for project in DATA["projects"]: (ASSETS / "diagrams" / project["diagram"]).write_text(diagram(project["id"]), encoding="utf-8", newline="\n") def masthead(home=False): prefix = "" if home else "/" return f'''''' def footer(): return f'''
© 2026 Nicholas Quandt · Built and operated on my own infrastructure.{link(REPO,'Portfolio source')} · {link(DATA['github'],'GitHub')} · {link(DATA['linkedin'],'LinkedIn')}
''' def document(title, description, body, canonical): return f'''{esc(title)} · Nicholas Quandt{body}''' rows = [] for i, project in enumerate(DATA["projects"], 1): rows.append(f'''
0{i}

{esc(project['category'])}

{link(case_url(project),project['name'])}

{esc(project['headline'])}

{esc(project['summary'])}

{esc(project['status'])}{tags(project['technologies'])}{link(case_url(project),'Read the case study →','project-link')}
{esc(DIAGRAMS[project['id']][0])}
''') tools = ''.join(f'''

{esc(item['name'])}

{esc(item['status'])}

{esc(item['description'])}

{esc(item['tag'])}{link(item['url'],'Source & releases ↗','project-link')}
''' for item in DATA['tools']) lab = ''.join(f'''

{esc(item['name'])}

{esc(item['status'])}

{esc(item['description'])}

{link(item['url'],'Explore the source ↗','project-link') if item.get('url') else ''}
''' for item in DATA['lab']) source_links = ''.join(f'{esc(item[1])}{esc(item[2])}' for item in [("portfolio","Portfolio source","Python / HTML / CSS"),("UniClik","UniClik","C#"),("WindowsVolumeSteps","WindowsVolumeSteps","C++"),("ats-native-fsd","ATS native simulator controller","Python")]) HOME = f'''{masthead(True)}

Nicholas Quandt / selected engineering work

Desktop software.
Connected devices.
Resilient systems.

I build desktop tools, device integrations and self-hosted platforms. My focus is reliable state, clear boundaries and recovery when something goes wrong.

Explore selected work ↓{link(DATA['resume'],'View résumé ↗','text-link')}
01 / CENTRA TABENCRYPTED ON YOUR DEVICES
Centra Tab's native Windows interface with synthetic clipboard test entries
Native Windows UI · synthetic test entriesDesktop ↔ hub ↔ phone
Build across boundariesWindows, Linux, macOS and Android
Make failure observableReceipts, durable queues and recovery
Ship the whole systemPackaging, deployment and verification

01 / selected work

Four systems. Four engineering stories.

What I built, the decisions behind it, and the evidence that supports each result.

{''.join(rows)}

02 / how I work

The difficult part is the boundary.

Between a device and its service. Between a saved setting and a restart. Between an upload and a verified release.

01

Preserve identity and intent

A temporary failure should not create a new workspace or repeat an action. I make ownership, pending work and uncertain outcomes explicit.

02

Build a recovery path

Durable state, bounded workers, atomic replacement and intentional maintenance behavior are part of the design from the beginning.

03

Keep the evidence specific

Source tests, installed behavior and physical-device trials establish different things. My case studies state the conditions and limits of the result.

03 / useful tools

Small problems, complete deliveries.

Public source and downloadable releases. Each repository documents its own setup, license and current status.

{tools}

04 / engineering experiments

Room to investigate.

Systems work exploring control, agent behavior and local inference. Experimental status is part of the story.

{lab}

Additional work includes a FUTO keyboard fork (NuBoard), vehicle-protocol investigation in an upstream fork, and a now-retired updater for third-party creative tools. Those contributions have their own ownership and validation boundaries.

05 / background

Software informed by operations.

My background spans systems escalation, Microsoft cloud environments, deployment automation and platform engineering. That experience shapes the software I build: configuration has to survive upgrades, a failed service needs a recovery path, and a release should be inspectable.

As co-founder and platform engineer at Fur-Ever.Club, I built its containerized platform and deployment workflows. The product is operating in beta. The work connects Linux, Docker, Next.js, FastAPI, PostgreSQL/PostGIS, Redis, payments and operational monitoring.

Based in Port Saint Lucie, Florida. Remote preferred; open to relocation.

{link(DATA['resume'],'Résumé & experience ↗','button')}{link(DATA['linkedin'],'LinkedIn ↗','text-link')}

06 / public code

Inspect the work.

{link('https://code.knickqueue.win/explore/repos','Browse every public repository ↗','text-link')}
{source_links}

Let's talk

Building something that needs to hold up?

I'm interested in software, systems and platform engineering opportunities.

{link('mailto:'+DATA['email'],'Get in touch ↗','button primary')}
{footer()}''' (OUT / "index.html").write_text(document("Software & systems engineering", "Nicholas Quandt's selected software and systems work: encrypted desktop sync, release infrastructure, device control and Windows authentication.", HOME, "https://code.knickqueue.win/"), encoding="utf-8", newline="\n") (DEPLOY / "home.tmpl").write_text('{{template "base/head" .}}\n\n\n\n{{template "base/footer" .}}\n', encoding="utf-8", newline="\n") def markdown(project): text = f"# {project['name']}\n\n**{project['headline']}**\n\n{project['summary']}\n\nStatus: {project['status']}. Evidence reviewed {DATA['reviewed']}.\n\n[Read the illustrated case study](https://code.knickqueue.win{case_url(project)})\n\n## My contribution\n\n{project['contribution']}\n\n## The problem\n\n" + '\n\n'.join(project['problem']) + '\n\n## Engineering decisions\n\n' for decision in project['decisions']: text += f"### {decision['title']}\n\n{decision['text']}\n\n" text += f"## A failure that shaped the design\n\n{project['failure']}\n\n## Evidence and scope\n\n" for evidence in project['evidence']: text += f"- **{evidence['label']}:** {evidence['result']} Scope: {evidence['scope']}\n" text += '\nThese are reviewed recorded results, unless explicitly described as current public-access verification. Application tests and physical-device checks were not rerun for this portfolio.\n\n## Remaining limits\n\n' + '\n'.join('- '+item for item in project['limits']) + '\n\n## Evidence references\n\n' + '\n'.join('- '+item for item in project['references']) + f"\n\nRevision: `{project['revision']}`\n\n{project['sourceStatus']}\n" for item in project['links']: text += f"\n[{item['label']}]({item['url']})\n" return text for index, project in enumerate(DATA['projects']): sections = ['problem','contribution','decisions','failure','evidence','walkthrough','limits','references'] labels = ['The problem','My contribution','Engineering decisions','A useful failure','Evidence','Recovery walkthrough','Remaining limits','References'] toc = ''.join(f'{label}' for key,label in zip(sections,labels)) evidence = ''.join(f'{esc(item["label"])}{esc(item["result"])}{esc(item["scope"])}' for item in project['evidence']) decisions = ''.join(f'

{esc(item["title"])}

{esc(item["text"])}

' for item in project['decisions']) walkthrough = ''.join(f'
  • 0{i+1}

    {esc(item["title"])}

    {esc(item["text"])}

  • ' for i,item in enumerate(project['walkthrough'])) next_project = DATA['projects'][(index+1)%len(DATA['projects'])] body = f'''{masthead()}

    {esc(project['category'])}

    {esc(project['headline'])}

    {esc(project['summary'])}

    {esc(project['status'])}Evidence reviewed {DATA['reviewed']}
    {tags(project['technologies'])}
    {esc(DIAGRAMS[project['id']][0])}

    The problem

    {paragraphs(project['problem'])}

    My contribution

    {esc(project['contribution'])}

    Engineering decisions

    {decisions}

    A failure that shaped the design

    {esc(project['failure'])}

    Evidence and scope

    These are reviewed recorded results unless explicitly described as current public-access verification. Application tests and physical-device checks were not rerun for this portfolio.

    {evidence}
    CheckRecorded resultConditions & limits

    Walk through the recovery path

    An illustrated explanation of the design. This is not a live application or a recording of a device trial.

      {walkthrough}

    Remaining limits

      {''.join('
    • '+esc(item)+'
    • ' for item in project['limits'])}

    Evidence references

    These filenames identify the source and acceptance records used to prepare this write-up. Private application files are not published as part of the portfolio.

      {''.join('
    • '+esc(item)+'
    • ' for item in project['references'])}

    Revision: {esc(project['revision'])}

    {esc(project['sourceStatus'])}

    {''.join(link(item['url'],item['label']+' ↗','button') for item in project['links'])}{link(REPO+'/src/branch/main/case-studies/'+project['id']+'.md','Markdown version ↗','text-link')}
    {link('/#work','← All selected work')}{link(case_url(next_project),'Next: '+next_project['name']+' →')}
    {footer()}''' (ASSETS / "case-studies" / (project['id']+'.html')).write_text(document(project['name'],project['summary'],body,'https://code.knickqueue.win'+case_url(project)),encoding="utf-8",newline="\n") (CASES / (project['id']+'.md')).write_text(markdown(project),encoding="utf-8",newline="\n") print(f"Built homepage, {len(DATA['projects'])} case studies and {len(DIAGRAMS)} diagrams in {OUT}")