Serve installers from website domain

This commit is contained in:
Advait Paliwal
2026-03-24 12:15:30 -07:00
parent ee9eb3a053
commit 3922423ad0
6 changed files with 310 additions and 5 deletions

View File

@@ -13,7 +13,7 @@ order: 1
## Recommended install
```bash
curl -fsSL https://raw.githubusercontent.com/getcompanion-ai/feynman/main/scripts/install/install.sh | bash
curl -fsSL https://feynman.companion.ai/install | bash
```
## Verify
@@ -25,7 +25,7 @@ feynman --version
## Windows PowerShell
```powershell
irm https://raw.githubusercontent.com/getcompanion-ai/feynman/main/scripts/install/install.ps1 | iex
irm https://feynman.companion.ai/install.ps1 | iex
```
## npm fallback

View File

@@ -10,7 +10,7 @@ import AsciiLogo from '../components/AsciiLogo.astro';
<h1 class="text-5xl sm:text-6xl font-bold tracking-tight mb-6" style="text-wrap: balance">The open source AI research agent</h1>
<p class="text-lg text-text-muted mb-10 leading-relaxed" style="text-wrap: pretty">Investigate topics, write papers, run experiments, review research, audit codebases &mdash; every output cited and source-grounded</p>
<div class="inline-flex items-center gap-3 bg-surface rounded-lg px-5 py-3 mb-3 font-mono text-sm">
<code class="text-accent">curl -fsSL https://raw.githubusercontent.com/getcompanion-ai/feynman/main/scripts/install/install.sh | bash</code>
<code class="text-accent">curl -fsSL https://feynman.companion.ai/install | bash</code>
<button id="copy-btn" class="text-text-dim hover:text-accent transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-accent rounded" aria-label="Copy install command">
<svg class="w-4 h-4" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><rect x="9" y="9" width="13" height="13" rx="2" /><path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1" /></svg>
</button>
@@ -151,7 +151,7 @@ import AsciiLogo from '../components/AsciiLogo.astro';
<script is:inline>
document.getElementById('copy-btn').addEventListener('click', function() {
navigator.clipboard.writeText('curl -fsSL https://raw.githubusercontent.com/getcompanion-ai/feynman/main/scripts/install/install.sh | bash');
navigator.clipboard.writeText('curl -fsSL https://feynman.companion.ai/install | bash');
this.innerHTML = '<svg class="w-4 h-4" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path d="M20 6L9 17l-5-5"/></svg>';
var btn = this;
setTimeout(function() {