SPB Git

Repository Public

docs.html 7.7 KB 132 lines html

1<!doctype html>2<html lang="en">3<head>4  <meta charset="utf-8">5  <meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">6  <title>Documentation — MacLustr AI</title>7  <meta name="description" content="MacLustr LLM API documentation: authentication, chat completions, streaming, tool calling, structured outputs, errors and rate limits.">8  <meta name="theme-color" content="#07090c" media="(prefers-color-scheme: dark)">9  <meta name="theme-color" content="#f6f7f9" media="(prefers-color-scheme: light)">10  <link rel="icon" href="/assets/favicon.svg" type="image/svg+xml">11  <script src="/assets/site/theme.js"></script>12  <link rel="stylesheet" href="/assets/tokens.css">13  <link rel="stylesheet" href="/assets/site.css">14  <link rel="stylesheet" href="/assets/site/docs.css">15  <link rel="modulepreload" href="/assets/site/core.js">16  <link rel="modulepreload" href="/assets/site/docs.js">17  <link rel="modulepreload" href="/assets/site/docs-content.js">18</head>19<body>20  <a class="skip-link" href="#main">Skip to content</a>21  <header class="site-header">22    <div class="wrap">23      <a class="brand" href="/" aria-label="MacLustr AI — home">24        <img src="/assets/logo.svg" alt="" width="28" height="28">25        <span>MacLustr <span>AI</span></span>26      </a>27      <nav class="site-nav" id="site-nav" aria-label="Primary">28        <a href="/docs" aria-current="page" data-nav="docs">Docs</a>29        <a href="/playground" data-nav="playground">Playground</a>30        <a href="/status" data-nav="status">Status</a>31        <a href="/changelog" data-nav="changelog">Changelog</a>32      </nav>33      <div class="header-tools">34        <button type="button" class="icon-btn theme-toggle" data-theme-toggle aria-label="Switch theme">35          <svg class="i-moon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M20 14.5A8 8 0 0 1 9.5 4a8 8 0 1 0 10.5 10.5Z"/></svg>36          <svg class="i-sun" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" aria-hidden="true"><circle cx="12" cy="12" r="4"/><path d="M12 2.5v2M12 19.5v2M2.5 12h2M19.5 12h2M5.3 5.3l1.4 1.4M17.3 17.3l1.4 1.4M5.3 18.7l1.4-1.4M17.3 6.7l1.4-1.4"/></svg>37        </button>38        <button type="button" class="icon-btn menu-btn" data-menu-btn aria-controls="site-nav" aria-expanded="false" aria-label="Open menu">39          <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" aria-hidden="true"><path d="M4 7h16M4 12h16M4 17h16"/></svg>40        </button>41      </div>42    </div>43  </header>4445  <div class="docs-bar">46    <button type="button" class="docs-bar-btn" data-drawer-open aria-haspopup="dialog" aria-controls="docs-drawer">47      <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" aria-hidden="true"><path d="M4 7h10M4 12h16M4 17h7"/></svg>48      <span class="sr-only">Open documentation menu. Current section: </span><span data-current-title>Documentation</span>49    </button>50    <button type="button" class="icon-btn" data-search-open aria-haspopup="dialog" aria-label="Search documentation"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" aria-hidden="true"><circle cx="11" cy="11" r="6.500"/><path d="m16 16 4.500 4.500"/></svg></button>51  </div>52  <div class="docs wrap">53    <aside class="docs-side">54      <button type="button" class="search-trigger" data-search-open aria-haspopup="dialog" aria-keyshortcuts="/ Meta+K Control+K">55        <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" aria-hidden="true"><circle cx="11" cy="11" r="6.500"/><path d="m16 16 4.500 4.500"/></svg><span>Search docs</span><kbd>/</kbd>56      </button>57      <nav class="docs-nav" aria-label="Documentation" data-docs-nav></nav>58    </aside>59    <main id="main" tabindex="-1" class="docs-main">60      <article class="prose" data-article>61        <p class="docs-loading"><span class="skeleton" style="width:40%"></span></p>62      </article>63      <nav class="pager" data-pager aria-label="Previous and next sections"></nav>64    </main>65    <aside class="docs-toc" aria-labelledby="toc-title">66      <h2 id="toc-title">On this page</h2>67      <ul data-toc></ul>68    </aside>69  </div>7071  <dialog class="drawer" id="docs-drawer" aria-label="Documentation menu">72    <div class="drawer-head">73      <span class="eyebrow">Documentation</span>74      <button type="button" class="icon-btn" data-drawer-close aria-label="Close menu"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" aria-hidden="true"><path d="M6 6l12 12M18 6 6 18"/></svg></button>75    </div>76    <nav class="docs-nav" aria-label="Documentation (mobile)" data-docs-nav></nav>77  </dialog>7879  <dialog class="search" id="docs-search" aria-label="Search documentation">80    <div class="search-box">81      <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" aria-hidden="true"><circle cx="11" cy="11" r="6.500"/><path d="m16 16 4.500 4.500"/></svg>82      <input type="text" inputmode="search" enterkeyhint="go" id="search-input" placeholder="Search the documentation" autocomplete="off" autocapitalize="off" spellcheck="false"83        role="combobox" aria-expanded="false" aria-controls="search-results" aria-autocomplete="list" aria-label="Search the documentation">84      <button type="button" class="search-esc" data-search-close aria-label="Close search">Esc</button>85    </div>86    <ul class="search-results" id="search-results" role="listbox" aria-label="Search results"></ul>87    <p class="search-hint" data-search-hint aria-live="polite">Type to search every section. Use ↑ ↓ to move and Enter to open.</p>88  </dialog>89  <noscript><div class="wrap"><p class="notice">This page needs JavaScript for live data and interactive examples. The API itself is documented in <a href="/openapi.json">/openapi.json</a>.</p></div></noscript>90  <footer class="site-footer">91    <div class="wrap">92      <div class="footer-brand">93        <a class="brand" href="/" aria-label="MacLustr AI — home"><img src="/assets/logo.svg" alt="" width="28" height="28"><span>MacLustr <span>AI</span></span></a>94        <p>Local LLM inference on Apple Silicon with MLX, behind an OpenAI-compatible API.</p>95      </div>96      <nav aria-label="Documentation links">97        <h2>Build</h2>98        <ul>99          <li><a href="/docs/getting-started">Getting started</a></li>100          <li><a href="/docs/chat-completions">Chat completions</a></li>101          <li><a href="/docs/streaming">Streaming</a></li>102          <li><a href="/docs/sdk-examples">SDK examples</a></li>103        </ul>104      </nav>105      <nav aria-label="Reference links">106        <h2>Reference</h2>107        <ul>108          <li><a href="/docs/authentication">Authentication</a></li>109          <li><a href="/docs/error-handling">Error handling</a></li>110          <li><a href="/docs/rate-limits">Rate limits</a></li>111          <li><a href="/openapi.json">OpenAPI contract</a></li>112        </ul>113      </nav>114      <nav aria-label="Service links">115        <h2>Service</h2>116        <ul>117          <li><a href="/playground">Playground</a></li>118          <li><a href="/status">Status</a></li>119          <li><a href="/changelog">Changelog</a></li>120          <li><a href="/docs/performance">Performance</a></li>121        </ul>122      </nav>123      <div class="footer-meta">124        <span>© <span data-year>2026</span> MacLustr. Inference runs on our own hardware.</span>125        <span>Base URL <code>https://llm.spboucher.ai/v1</code></span>126      </div>127    </div>128  </footer>129  <script type="module" src="/assets/site/docs.js"></script>130</body>131</html>132
Files main
Menu

Theme