Skip to content

Commit f10b516

Browse files
authored
fix: point install and docs URLs at openscience.sh (#62)
The syntheticsciences.ai/{install,docs,config.json} family returns 404, and the CLI's self-upgrade default pointed at the app subdomain, which serves the dashboard SPA — so 'openscience upgrade' piped HTML into bash and failed for every curl-installed user. openscience.sh serves the install script byte-for-byte and hosts the docs. Covers the install script (both copies), the npm bin wrapper's help text, the self-upgrade default, README, the landing DOCS link, and the docs-site lander one-liner.
1 parent 5d13bb4 commit f10b516

7 files changed

Lines changed: 18 additions & 18 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ Give it a goal. It reads the literature, writes and runs code, runs the experime
1111
[![CI](https://github.com/synthetic-sciences/OpenScience/actions/workflows/ci.yml/badge.svg)](https://github.com/synthetic-sciences/OpenScience/actions/workflows/ci.yml)
1212
[![npm](https://img.shields.io/npm/v/%40synsci%2Fopenscience?label=%40synsci%2Fopenscience&color=0d9488)](https://www.npmjs.com/package/@synsci/openscience)
1313
[![license](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](LICENSE)
14-
[![docs](https://img.shields.io/badge/docs-syntheticsciences.ai-0d9488.svg)](https://syntheticsciences.ai/docs)
14+
[![docs](https://img.shields.io/badge/docs-openscience.sh-0d9488.svg)](https://openscience.sh/docs)
1515

16-
[Install](#install) · [Quickstart](#quickstart) · [Docs](https://syntheticsciences.ai/docs) · [Atlas](#atlas)
16+
[Install](#install) · [Quickstart](#quickstart) · [Docs](https://openscience.sh/docs) · [Atlas](#atlas)
1717

1818
</div>
1919

@@ -88,7 +88,7 @@ OpenScience runs a local server that hosts the workspace UI, the agent runtime,
8888

8989
## Configuration
9090

91-
Global config lives in `~/.config/openscience/openscience.json`. Project config lives in `openscience.json` or a `.openscience/` directory at the repo root ([schema](https://syntheticsciences.ai/config.json)). Custom agents, commands, tools, plugins, and themes load from those directories.
91+
Global config lives in `~/.config/openscience/openscience.json`. Project config lives in `openscience.json` or a `.openscience/` directory at the repo root ([schema](https://openscience.sh/config.json)). Custom agents, commands, tools, plugins, and themes load from those directories.
9292

9393
## Development
9494

backend/cli/bin/openscience

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,6 @@ if (isBinary("/usr/local/bin/openscience")) {
111111
}
112112

113113
console.error("openscience binary not found.")
114-
console.error("Install with: curl -fsSL https://syntheticsciences.ai/install | bash")
114+
console.error("Install with: curl -fsSL https://openscience.sh/install | bash")
115115
console.error("Or set OPENSCIENCE_BIN_PATH environment variable.")
116116
process.exit(1)

backend/cli/src/installation/index.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -134,10 +134,10 @@ export namespace Installation {
134134
let cmd
135135
switch (method) {
136136
case "curl":
137-
// The bash installer moved to app.syntheticsciences.ai with the
138-
// openscience-dashboard retirement. Override via OPENSCIENCE_INSTALL_URL if
139-
// hosting the script elsewhere.
140-
cmd = $`curl -fsSL ${process.env.OPENSCIENCE_INSTALL_URL || "https://app.syntheticsciences.ai/install"} | bash`.env({
137+
// openscience.sh/install serves the repo install script. The app
138+
// subdomain serves the dashboard SPA, so piping it into bash fails.
139+
// Override via OPENSCIENCE_INSTALL_URL if hosting the script elsewhere.
140+
cmd = $`curl -fsSL ${process.env.OPENSCIENCE_INSTALL_URL || "https://openscience.sh/install"} | bash`.env({
141141
...process.env,
142142
VERSION: target,
143143
})

frontend/docs/src/components/Lander.astro

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const discord = config.social.filter(s => s.icon === 'discord')[0];
2323
2424
const command = "curl -fsSL"
2525
const protocol = "https://"
26-
const url = "syntheticsciences.ai/install"
26+
const url = "openscience.sh/install"
2727
const bash = "| bash"
2828
2929
let darkImage: ImageMetadata | undefined;
@@ -121,9 +121,9 @@ if (image) {
121121
</div>
122122
<div class="col4">
123123
<h3>Installer</h3>
124-
<button class="command" data-command="curl -fsSL https://syntheticsciences.ai/install | bash">
124+
<button class="command" data-command="curl -fsSL https://openscience.sh/install | bash">
125125
<code>
126-
<span>curl -fsSL</span> <span class="highlight">syntheticsciences.ai/install</span> <span>| bash</span>
126+
<span>curl -fsSL</span> <span class="highlight">openscience.sh/install</span> <span>| bash</span>
127127
</code>
128128
<span class="copy">
129129
<CopyIcon />

frontend/landing/public/install

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ Options:
2020
--no-modify-path Don't modify shell config files (.zshrc, .bashrc, etc.)
2121
2222
Examples:
23-
curl -fsSL https://syntheticsciences.ai/install | bash
24-
curl -fsSL https://syntheticsciences.ai/install | bash -s -- --version 1.0.180
23+
curl -fsSL https://openscience.sh/install | bash
24+
curl -fsSL https://openscience.sh/install | bash -s -- --version 1.0.180
2525
./install --binary /path/to/openscience
2626
EOF
2727
}
@@ -449,6 +449,6 @@ echo -e ""
449449
echo -e "cd <project> ${MUTED}# Open directory${NC}"
450450
echo -e "openscience ${MUTED}# Run command${NC}"
451451
echo -e ""
452-
echo -e "${MUTED}For more information visit ${NC}https://syntheticsciences.ai/docs"
452+
echo -e "${MUTED}For more information visit ${NC}https://openscience.sh/docs"
453453
echo -e ""
454454
echo -e ""

frontend/landing/src/pages/Landing.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const MONO_N = "font-terminal text-[11px] tracking-[0.08em] text-foreground/40";
2727
const LABEL = "text-[14px] text-muted-foreground";
2828

2929
const GITHUB = "https://github.com/synthetic-sciences/openscience";
30-
const DOCS = "https://syntheticsciences.ai/docs";
30+
const DOCS = "https://openscience.sh/docs";
3131
const NPM_CMD = "npm i -g @synsci/openscience";
3232
const CURL_CMD = "curl -fsSL https://openscience.sh/install | bash";
3333

install

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ Options:
2020
--no-modify-path Don't modify shell config files (.zshrc, .bashrc, etc.)
2121
2222
Examples:
23-
curl -fsSL https://syntheticsciences.ai/install | bash
24-
curl -fsSL https://syntheticsciences.ai/install | bash -s -- --version 1.0.180
23+
curl -fsSL https://openscience.sh/install | bash
24+
curl -fsSL https://openscience.sh/install | bash -s -- --version 1.0.180
2525
./install --binary /path/to/openscience
2626
EOF
2727
}
@@ -449,6 +449,6 @@ echo -e ""
449449
echo -e "cd <project> ${MUTED}# Open directory${NC}"
450450
echo -e "openscience ${MUTED}# Run command${NC}"
451451
echo -e ""
452-
echo -e "${MUTED}For more information visit ${NC}https://syntheticsciences.ai/docs"
452+
echo -e "${MUTED}For more information visit ${NC}https://openscience.sh/docs"
453453
echo -e ""
454454
echo -e ""

0 commit comments

Comments
 (0)