Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 10 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,19 +30,25 @@ J5 Code drives the coding agents already set up on your machine. Install and sig

### Command line

A self-contained server for macOS (Apple silicon) and Linux x64. No Node.js or npm is needed:
A self-contained server for macOS (Apple silicon), Linux x64 and Windows x64. No Node.js or npm is needed:

```bash
curl -fsSL https://j5.codes/install.sh | sh
```

Then run `j5` to start the server and open the web app. `j5 service install` keeps it running in the background, `j5 update` moves to a newer release, and `j5 --help` has the full reference. Data lives in `~/.j5code` (override with `J5CODE_HOME`).
On Windows, in PowerShell:

Intel Macs, Linux on ARM, and Windows have no build yet. The [install guide](./docs/j5/user/install.md#other-platforms) covers running a server from source there.
```powershell
irm https://github.com/Jacksondr5/j5code/releases/latest/download/install.ps1 | iex
```

Then run `j5` to start the server and open the web app. `j5 service install` keeps it running in the background on macOS and Linux, `j5 update` moves to a newer release, and `j5 --help` has the full reference. Data lives in `~/.j5code` (override with `J5CODE_HOME`).

Intel Macs and Linux on ARM have no build yet. The [install guide](./docs/j5/user/install.md#other-platforms) covers running a server from source there.

### Desktop app

Download the macOS (Apple silicon) app from [j5.codes/download](https://j5.codes/download) or [GitHub Releases](https://github.com/Jacksondr5/j5code/releases). It is the only desktop build today. `winget`, Homebrew, and AUR packages named T3 Code install upstream T3 Code, not J5 Code.
Download the macOS (Apple silicon) or Windows x64 app from [j5.codes/download](https://j5.codes/download) or [GitHub Releases](https://github.com/Jacksondr5/j5code/releases). The Windows app is in beta and isn't code-signed yet. `winget`, Homebrew, and AUR packages named T3 Code install upstream T3 Code, not J5 Code.

### Mobile app

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 6 additions & 2 deletions apps/marketing/src/lib/releases.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,13 @@ export async function fetchLatestRelease(): Promise<Release> {
return data as Release;
}

/** The Apple Silicon DMG is the only desktop artifact the fork publishes today. */
/** The desktop installer whose file name ends with `suffix`, such as `-arm64.dmg` or `-x64.exe`. */
export function pickAsset(assets: ReleaseAsset[], suffix: string): string | undefined {
return assets.find((a) => a.name.endsWith(suffix))?.browser_download_url;
}

export function pickMacAsset(assets: ReleaseAsset[]): string | undefined {
return assets.find((a) => a.name.endsWith("-arm64.dmg"))?.browser_download_url;
return pickAsset(assets, "-arm64.dmg");
}

export function detectPlatform(): "mac" | "win" | "linux" | undefined {
Expand Down
2 changes: 2 additions & 0 deletions apps/marketing/src/lib/site.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ export const CONTACT_EMAIL = "hello@j5.codes";
* at build time), which in turn fetches the release archive from GitHub.
*/
export const INSTALL_COMMAND = `curl -fsSL ${SITE_URL}/install.sh | sh`;
/** The Windows x64 server, installed from PowerShell with the script each release publishes. */
export const WINDOWS_INSTALL_COMMAND = `irm ${GITHUB_RELEASES_URL}/latest/download/install.ps1 | iex`;
export const INSTALL_DOCS_URL = `${GITHUB_REPOSITORY_URL}/blob/j5/main/docs/j5/user/install.md`;

/** Status words used on every card. Copy must not claim more than the word allows. */
Expand Down
46 changes: 37 additions & 9 deletions apps/marketing/src/pages/download.astro
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ import Layout from "../layouts/Layout.astro";
import CopyCommand from "../components/CopyCommand.astro";
import Boat from "../components/Boat.astro";
import { RELEASES_URL } from "../lib/releases";
import { INSTALL_COMMAND, INSTALL_DOCS_URL } from "../lib/site";
import { INSTALL_COMMAND, INSTALL_DOCS_URL, WINDOWS_INSTALL_COMMAND } from "../lib/site";
---

<Layout title="Download — J5 Code" description="Download the J5 Code desktop app for Apple Silicon Macs, or install the self-contained server on macOS or Linux.">
<Layout title="Download — J5 Code" description="Download the J5 Code desktop app for Apple Silicon Macs or Windows (beta), or install the self-contained server on macOS, Linux or Windows.">
<div class="download-page" data-motion>
<div class="heading-boat"><Boat tone="dark" size={64} class="bob" /></div>
<h1 class="heading display">Download J5 Code</h1>
Expand All @@ -22,13 +22,30 @@ import { INSTALL_COMMAND, INSTALL_DOCS_URL } from "../lib/site";
<h2 class="platform-name">macOS</h2>
</div>
<div class="download-cards">
<a class="download-card" data-asset="arm64.dmg" href={RELEASES_URL}>
<a class="download-card" data-asset="-arm64.dmg" href={RELEASES_URL}>
<span class="card-arch">Apple Silicon</span>
<span class="card-format">.dmg</span>
</a>
</div>
<p class="note">
The only desktop build today. Intel Macs, Windows and Linux desktops are not packaged.
Intel Macs and Linux desktops are not packaged.
</p>
</section>

<section class="platform-section">
<div class="platform-header">
<svg class="platform-icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" aria-hidden="true"><path fill="currentColor" d="M3 5.5l8-1.2v7.2H3zM12.5 4l8.5-1.3v8.8h-8.5zM3 12.5h8v7.2l-8-1.2zM12.5 12.5H21v8.8L12.5 20z"/></svg>
<h2 class="platform-name">Windows</h2>
<span class="beta">Beta</span>
</div>
<div class="download-cards">
<a class="download-card" data-asset="-x64.exe" href={RELEASES_URL}>
<span class="card-arch">x64</span>
<span class="card-format">.exe</span>
</a>
</div>
<p class="note">
The app isn't code-signed yet, so Windows warns before it runs it.
</p>
</section>

Expand All @@ -38,12 +55,14 @@ import { INSTALL_COMMAND, INSTALL_DOCS_URL } from "../lib/site";
<h2 class="platform-name">Command line</h2>
</div>
<p class="note note-lead">
A self-contained server for macOS (Apple silicon) and Linux x64. No Node.js or npm needed.
A self-contained server for macOS (Apple silicon), Linux x64 and Windows x64. No Node.js or npm needed.
Then run <code>j5</code> to start the server and open the web app, and <code>j5 update</code> to move to a newer release.
</p>
<CopyCommand command={INSTALL_COMMAND} />
<p class="note">On Windows, in PowerShell:</p>
<CopyCommand command={WINDOWS_INSTALL_COMMAND} />
<p class="note">
Intel Macs, Linux on ARM and Windows have no build yet; the <a class="inline-link" href={INSTALL_DOCS_URL} target="_blank" rel="noopener noreferrer">install guide</a> covers running from source there.
Intel Macs and Linux on ARM have no build yet; the <a class="inline-link" href={INSTALL_DOCS_URL} target="_blank" rel="noopener noreferrer">install guide</a> covers running from source there.
</p>
</section>
</div>
Expand All @@ -55,7 +74,7 @@ import { INSTALL_COMMAND, INSTALL_DOCS_URL } from "../lib/site";
</Layout>

<script>
import { fetchLatestRelease, pickMacAsset, RELEASES_URL } from "../lib/releases";
import { fetchLatestRelease, pickAsset, RELEASES_URL } from "../lib/releases";
import { startMotion } from "../lib/motion";

startMotion({ scenes: Array.from(document.querySelectorAll<HTMLElement>("[data-motion]")) });
Expand All @@ -77,9 +96,8 @@ import { INSTALL_COMMAND, INSTALL_DOCS_URL } from "../lib/site";
changelogLink.style.display = "";
}

const mac = pickMacAsset(release.assets ?? []);
cards.forEach((card) => {
card.href = mac ?? RELEASES_URL;
card.href = pickAsset(release.assets ?? [], card.dataset.asset ?? "") ?? RELEASES_URL;
});
} catch {
if (versionLabel) versionLabel.textContent = "Could not load release info.";
Expand Down Expand Up @@ -170,6 +188,16 @@ import { INSTALL_COMMAND, INSTALL_DOCS_URL } from "../lib/site";
font-size: 1.15rem;
}

.beta {
font: 600 10px var(--font-mono);
letter-spacing: 0.08em;
text-transform: uppercase;
color: var(--brass);
border: 1px solid currentColor;
border-radius: 999px;
padding: 2px 8px;
}

.download-cards {
display: grid;
grid-template-columns: repeat(2, 1fr);
Expand Down
14 changes: 2 additions & 12 deletions apps/marketing/src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ const harnesses = [
<h2 class="display">On the Horizon</h2>
<p>
These features will take your agents even further. Other people in front of your agents,
more platforms, and a fleet that's easier to keep in view.
and a fleet that's easier to keep in view.
</p>
</div>

Expand Down Expand Up @@ -361,15 +361,6 @@ const harnesses = [
</div>

<div class="horizon-grid horizon-grid--minor">
<article class="horizon-col horizon-col--plain">
<div class="feature-top">
<svg class="glyph" viewBox="0 0 24 24" aria-hidden="true"><path d="M3 5.5l8-1.2v7.2H3zM12.5 4l8.5-1.3v8.8h-8.5zM3 12.5h8v7.2l-8-1.2zM12.5 12.5H21v8.8L12.5 20z"/></svg>
<Pennant status="horizon" />
</div>
<h3>Windows support</h3>
<p>Run J5 clients on Windows.</p>
</article>

<article class="horizon-col horizon-col--plain">
<div class="feature-top">
<svg class="glyph" viewBox="0 0 24 24" aria-hidden="true"><circle cx="12" cy="12" r="3"/><circle cx="12" cy="12" r="8"/><path d="M12 4V1.5M12 20v2.5M4 12H1.5M20 12h2.5M6.3 6.3L4.6 4.6M17.7 17.7l1.7 1.7M6.3 17.7l-1.7 1.7M17.7 6.3l1.7-1.7M12 9V4M12 15v5M9 12H4M15 12h5"/></svg>
Expand Down Expand Up @@ -445,7 +436,7 @@ const harnesses = [
<CopyCommand command={INSTALL_COMMAND} />
</div>
<p class="cta-note">
Apple Silicon app today. The installer puts a self-contained server on macOS or Linux x64.
Apps for Apple Silicon Macs and Windows (beta). The installer puts a self-contained server on macOS or Linux x64.
<a href="/download">All download options</a>
</p>
</div>
Expand Down Expand Up @@ -1111,7 +1102,6 @@ const harnesses = [
}

.horizon-grid--minor {
grid-template-columns: repeat(2, minmax(0, 1fr));
margin-top: 18px;
}

Expand Down
2 changes: 1 addition & 1 deletion apps/marketing/src/pages/linking.astro
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ import { INSTALL_DOCS_URL } from "../lib/site";
<div><dt>Supervised</dt><dd>start and drive work; asks before commands and file changes</dd></div>
<div><dt>Auto-accept edits</dt><dd>edits go ahead; other actions still ask</dd></div>
<div><dt>Auto</dt><dd>routine actions go ahead where the provider supports it</dd></div>
<div><dt>Full access</dt><dd>commands and edits without prompts; needed to start Peer Agents on the other machine</dd></div>
<div><dt>Full access</dt><dd>commands and edits without prompts</dd></div>
</dl>
</div>
</figure>
Expand Down
Loading
Loading