<!DOCTYPE html> <html lang="en-US"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=Edge"> <link rel="stylesheet" href="/oshepherd/assets/css/just-the-docs-default.css"> <link rel="stylesheet" href="/oshepherd/assets/css/just-the-docs-head-nav.css" id="jtd-head-nav-stylesheet"> <style id="jtd-nav-activation"> .site-nav ul li a { background-image: none; } </style> <script src="/oshepherd/assets/js/vendor/lunr.min.js"></script> <script src="/oshepherd/assets/js/just-the-docs.js"></script> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- Begin Jekyll SEO tag v2.8.0 --> <title>oshepherd | Run Ollama inference across your workers with Redis or Supabase.</title> <meta name="generator" content="Jekyll v3.10.0" /> <meta property="og:title" content="oshepherd" /> <meta property="og:locale" content="en_US" /> <meta name="description" content="Run Ollama inference across your workers with Redis or Supabase." /> <meta property="og:description" content="Run Ollama inference across your workers with Redis or Supabase." /> <link rel="canonical" href="https://mnemonica-ai.github.io/oshepherd/assets/css/just-the-docs-head-nav.css" /> <meta property="og:url" content="https://mnemonica-ai.github.io/oshepherd/assets/css/just-the-docs-head-nav.css" /> <meta property="og:site_name" content="oshepherd" /> <meta property="og:type" content="website" /> <meta name="twitter:card" content="summary" /> <meta property="twitter:title" content="oshepherd" /> <script type="application/ld+json"> {"@context":"https://schema.org","@type":"WebPage","description":"Run Ollama inference across your workers with Redis or Supabase.","headline":"oshepherd","url":"https://mnemonica-ai.github.io/oshepherd/assets/css/just-the-docs-head-nav.css"}</script> <!-- End Jekyll SEO tag --> <link rel="icon" type="image/png" href="/oshepherd/assets/oshepherd_logo.png"> <style> /* A quiet, readable surface, inspired by ollama.com. Theme behavior stays native. */ :root { --shepherd-ink: #171717; --shepherd-muted: #595959; --shepherd-border: #e5e5e5; --shepherd-soft: #f7f7f7; } html { scroll-padding-top: 2rem; } body { background: #fff; color: var(--shepherd-ink); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif; font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; } a { color: var(--shepherd-ink); } a:hover { color: #000; } a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 2px solid #171717; outline-offset: 4px; } .side-bar, .main-header, .site-header { background: #fff; border-color: var(--shepherd-border); } .site-title { gap: .55rem; font-size: 1.3rem !important; font-weight: 650; letter-spacing: -.045em; } .site-title::before { content: ""; flex: 0 0 2rem; width: 2rem; height: 2rem; background: url("/oshepherd/assets/oshepherd_logo.png") center / contain no-repeat; } .site-title:hover, .site-button:hover { background: var(--shepherd-soft); } .site-button, .icon, .nav-list .nav-list-item .nav-list-expander { color: var(--shepherd-ink); } .site-nav { padding-bottom: 2rem; } .nav-list .nav-list-item .nav-list-link { margin: .15rem .75rem; padding: .55rem .75rem; border-radius: .5rem; color: var(--shepherd-muted); line-height: 1.5; overflow-wrap: anywhere; } .nav-list .nav-list-item .nav-list-link:hover, .nav-list .nav-list-item .nav-list-link.active { color: var(--shepherd-ink); background: var(--shepherd-soft); background-image: none; } .nav-list .nav-list-item .nav-list-link.active { font-weight: 600; } .site-footer { color: var(--shepherd-muted); } .aux-nav .aux-nav-list-item { font-size: .875rem; } .aux-nav .site-button { min-height: 44px; } .aux-nav .site-button[href="https://github.com/mnemonica-ai/oshepherd"] { gap: .45rem; } .aux-nav .site-button[href="https://github.com/mnemonica-ai/oshepherd"]::before { content: ""; flex: 0 0 1rem; width: 1rem; height: 1rem; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23171717'%3E%3Cpath d='M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82a7.65 7.65 0 0 1 4 0c1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.01 8.01 0 0 0 16 8c0-4.42-3.58-8-8-8Z'/%3E%3C/svg%3E") center / contain no-repeat; } .search-input { color: var(--shepherd-ink); font-size: .95rem; } .search-input::placeholder { color: var(--shepherd-muted); opacity: 1; } .search-label .search-icon { color: var(--shepherd-muted); } .search-input:focus + .search-label .search-icon { color: var(--shepherd-ink); } .search-results { border-color: var(--shepherd-border); background: #fff; } .search-result:hover, .search-result.active { background: var(--shepherd-soft); } .search-result-title, .search-result-rel-url { color: var(--shepherd-ink); } .main-content { color: var(--shepherd-ink); } .main-content h1, .main-content h2, .main-content h3, .main-content h4, .main-content h5, .main-content h6 { color: var(--shepherd-ink); font-weight: 600; line-height: 1.25; letter-spacing: -.035em; } /* The theme's heading size mixins use !important at every breakpoint. */ .main-content h1 { margin-bottom: 1.6rem; font-size: clamp(2rem, 4vw, 2.8rem) !important; } .main-content h2 { margin-top: 3.5rem; font-size: 1.65rem !important; } .main-content h3 { margin-top: 2.5rem; font-size: 1.2rem !important; } .main-content p, .main-content ol, .main-content ul { margin-bottom: 1.25rem; } .main-content a:not(.anchor-heading) { text-decoration: underline; text-decoration-color: #b5b5b5; text-underline-offset: .2em; } .main-content a:not(.anchor-heading):hover { text-decoration-color: #171717; } .main-content .anchor-heading, .main-content .anchor-heading svg { color: #737373; } .main-content code { border-color: var(--shepherd-border); background: var(--shepherd-soft); border-radius: .25rem; } .main-content pre { padding: 1.25rem; border: 1px solid var(--shepherd-border); border-radius: .65rem; background: var(--shepherd-soft); } .main-content pre code { padding: 0; border: 0; background: transparent; } .main-content blockquote { border-color: #c9c9c9; color: var(--shepherd-muted); } .main-content hr, .main-content footer { border-color: var(--shepherd-border); } .main-content .table-wrapper { margin: 1.75rem 0; border: 1px solid var(--shepherd-border); border-radius: .65rem; box-shadow: none; } .main-content table { border-collapse: collapse; margin: 0; } .main-content th, .main-content td { padding: .9rem 1rem; border-color: var(--shepherd-border); background: #fff; font-size: .9rem; line-height: 1.6; } .main-content th { background: var(--shepherd-soft); font-weight: 600; } .main-content .mermaid { margin: 2rem 0; overflow-x: auto; } .main-content .mermaid svg { max-width: 100%; height: auto; } @media (min-width: 50rem) { .main { max-width: 58rem; } .main-content-wrap { padding: 3rem 3rem 4rem; } .main-header { padding-right: 1rem; } } @media (min-width: 66.5rem) { .side-bar { width: max(16.5rem, calc((100% - 74.5rem) / 2 + 16.5rem)); min-width: 16.5rem; } .side-bar + .main { margin-left: max(16.5rem, calc((100% - 74.5rem) / 2 + 16.5rem)); } .site-nav, .site-header, .site-footer { width: 16.5rem; } } @media (max-width: 49.999rem) { .main-content-wrap { padding: 2rem 1.25rem 3rem; } .main-content h2 { margin-top: 2.75rem; } .site-button { min-width: 44px; min-height: 44px; } .main-content pre { padding: 1rem; } } </style> <script> /* Keep source-only links useful without publishing the repository's internals. */ document.addEventListener("DOMContentLoaded", function () { const base = "/oshepherd/"; const repository = "https://github.com/mnemonica-ai/oshepherd/"; const directories = ["tests/contracts", "oshepherd/backends/supabase/release/migrations"]; document.querySelectorAll("a[href]").forEach(function (link) { const href = link.getAttribute("href"); if (!href || href.startsWith("#")) return; let target; try { target = new URL(href, location.href); } catch (_) { return; } if (target.origin !== location.origin || !target.pathname.startsWith(base)) return; const path = target.pathname.slice(base.length); if (!path || path === "index.html" || /^docs\/(?:[^/]+\.html)?$/.test(path) || path.startsWith("assets/")) return; const kind = path.endsWith("/") || directories.includes(path) ? "tree" : "blob"; link.href = repository + kind + "/main/" + path + target.search + target.hash; }); }); </script> </head> <body> <a class="skip-to-main" href="#main-content">Skip to main content</a> <svg xmlns="http://www.w3.org/2000/svg" class="d-none"> <symbol id="svg-link" viewBox="0 0 24 24"> <title>Link</title> <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-link"> <path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"></path><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"></path> </svg> </symbol> <symbol id="svg-menu" viewBox="0 0 24 24"> <title>Menu</title> <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-menu"> <line x1="3" y1="12" x2="21" y2="12"></line><line x1="3" y1="6" x2="21" y2="6"></line><line x1="3" y1="18" x2="21" y2="18"></line> </svg> </symbol> <symbol id="svg-arrow-right" viewBox="0 0 24 24"> <title>Expand</title> <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right"> <polyline points="9 18 15 12 9 6"></polyline> </svg> </symbol> <!-- Feather. MIT License: https://github.com/feathericons/feather/blob/master/LICENSE --> <symbol id="svg-external-link" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-external-link"> <title id="svg-external-link-title">(external link)</title> <path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"></path><polyline points="15 3 21 3 21 9"></polyline><line x1="10" y1="14" x2="21" y2="3"></line> </symbol> <symbol id="svg-doc" viewBox="0 0 24 24"> <title>Document</title> <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-file"> <path d="M13 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9z"></path><polyline points="13 2 13 9 20 9"></polyline> </svg> </symbol> <symbol id="svg-search" viewBox="0 0 24 24"> <title>Search</title> <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-search"> <circle cx="11" cy="11" r="8"></circle><line x1="21" y1="21" x2="16.65" y2="16.65"></line> </svg> </symbol> <!-- Bootstrap Icons. MIT License: https://github.com/twbs/icons/blob/main/LICENSE.md --> <symbol id="svg-copy" viewBox="0 0 16 16"> <title>Copy</title> <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-clipboard" viewBox="0 0 16 16"> <path d="M4 1.5H3a2 2 0 0 0-2 2V14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V3.5a2 2 0 0 0-2-2h-1v1h1a1 1 0 0 1 1 1V14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V3.5a1 1 0 0 1 1-1h1v-1z"/> <path d="M9.5 1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5-.5h3zm-3-1A1.5 1.5 0 0 0 5 1.5v1A1.5 1.5 0 0 0 6.5 4h3A1.5 1.5 0 0 0 11 2.5v-1A1.5 1.5 0 0 0 9.5 0h-3z"/> </svg> </symbol> <symbol id="svg-copied" viewBox="0 0 16 16"> <title>Copied</title> <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-clipboard-check-fill" viewBox="0 0 16 16"> <path d="M6.5 0A1.5 1.5 0 0 0 5 1.5v1A1.5 1.5 0 0 0 6.5 4h3A1.5 1.5 0 0 0 11 2.5v-1A1.5 1.5 0 0 0 9.5 0h-3Zm3 1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5-.5h3Z"/> <path d="M4 1.5H3a2 2 0 0 0-2 2V14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V3.5a2 2 0 0 0-2-2h-1v1A2.5 2.5 0 0 1 9.5 5h-3A2.5 2.5 0 0 1 4 2.5v-1Zm6.854 7.354-3 3a.5.5 0 0 1-.708 0l-1.5-1.5a.5.5 0 0 1 .708-.708L7.5 10.793l2.646-2.647a.5.5 0 0 1 .708.708Z"/> </svg> </symbol> </svg> <header class="side-bar"> <div class="site-header"> <a href="/oshepherd/" class="site-title lh-tight"> oshepherd </a> <button id="menu-button" class="site-button btn-reset" aria-label="Menu" aria-expanded="false"> <svg viewBox="0 0 24 24" class="icon" aria-hidden="true"><use xlink:href="#svg-menu"></use></svg> </button> </div> <nav aria-label="Main" id="site-nav" class="site-nav"> <ul class="nav-list"><li class="nav-list-item"><a href="/oshepherd/" class="nav-list-link">oshepherd</a></li><li class="nav-list-item"><a href="/oshepherd/docs/" class="nav-list-link">Guides</a></li><li class="nav-list-item"><a href="/oshepherd/docs/install.html" class="nav-list-link">Install oshepherd</a></li><li class="nav-list-item"><a href="/oshepherd/docs/supabase-walkthrough.html" class="nav-list-link">Local walkthrough: Ollama through Supabase containers</a></li><li class="nav-list-item"><a href="/oshepherd/docs/supabase-cloud-walkthrough.html" class="nav-list-link">Cloud walkthrough: Ollama through Supabase Cloud</a></li><li class="nav-list-item"><a href="/oshepherd/docs/supabase-worker-walkthrough.html" class="nav-list-link">Worker walkthrough: add another Ollama server</a></li><li class="nav-list-item"><a href="/oshepherd/docs/supabase-client-walkthrough.html" class="nav-list-link">Client walkthrough: give a script its own inference credentials</a></li><li class="nav-list-item"><a href="/oshepherd/docs/setup-supabase.html" class="nav-list-link">Hosted Supabase setup and operations</a></li><li class="nav-list-item"><a href="/oshepherd/docs/setup-redis.html" class="nav-list-link">Set up oshepherd with Redis</a></li><li class="nav-list-item"><a href="/oshepherd/docs/setup-supabase-local.html" class="nav-list-link">Developer acceptance: disposable local Supabase</a></li></ul> </nav> <div class="d-md-block d-none site-footer"> This site uses <a href="https://github.com/just-the-docs/just-the-docs">Just the Docs</a>, a documentation theme for Jekyll. </div> </header> <div class="main" id="top"> <div id="main-header" class="main-header"> <div class="search" role="search"> <div class="search-input-wrap"> <input type="text" id="search-input" class="search-input" tabindex="0" placeholder="Search oshepherd" autocomplete="off"> <label for="search-input" class="search-label"> <span class="sr-only">Search oshepherd</span> <svg viewBox="0 0 24 24" class="search-icon" aria-hidden="true"><use xlink:href="#svg-search"></use></svg> </label> </div> <div id="search-results" class="search-results"></div> </div> <nav aria-label="Auxiliary" class="aux-nav"> <ul class="aux-nav-list"> <li class="aux-nav-list-item"> <a href="https://github.com/mnemonica-ai/oshepherd" class="site-button" > GitHub </a> </li> </ul> </nav> </div> <div class="main-content-wrap"> <div id="main-content" class="main-content"> <main> </main> <hr> <footer> <div class="d-md-none mt-4 fs-2"> This site uses <a href="https://github.com/just-the-docs/just-the-docs">Just the Docs</a>, a documentation theme for Jekyll. </div> </footer> </div> </div> <div class="search-overlay"></div> </div> <script type="module"> import mermaid from 'https://cdn.jsdelivr.net/npm/mermaid@12.3.0/dist/mermaid.esm.min.mjs'; var config = {} ; mermaid.initialize(config); mermaid.run({ querySelector: '.language-mermaid', }); </script> </body> </html>
