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
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ Give it a goal. It reads the literature, writes and runs code, runs the experime
[![CI](https://github.com/synthetic-sciences/OpenScience/actions/workflows/ci.yml/badge.svg)](https://github.com/synthetic-sciences/OpenScience/actions/workflows/ci.yml)
[![npm](https://img.shields.io/npm/v/%40synsci%2Fopenscience?label=%40synsci%2Fopenscience&color=0d9488)](https://www.npmjs.com/package/@synsci/openscience)
[![license](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](LICENSE)
[![docs](https://img.shields.io/badge/docs-syntheticsciences.ai-0d9488.svg)](https://syntheticsciences.ai/docs)
[![docs](https://img.shields.io/badge/docs-openscience.sh-0d9488.svg)](https://openscience.sh/docs)

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

</div>

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

## Configuration

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.
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.

## Development

Expand Down
2 changes: 1 addition & 1 deletion backend/cli/bin/openscience
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,6 @@ if (isBinary("/usr/local/bin/openscience")) {
}

console.error("openscience binary not found.")
console.error("Install with: curl -fsSL https://syntheticsciences.ai/install | bash")
console.error("Install with: curl -fsSL https://openscience.sh/install | bash")
console.error("Or set OPENSCIENCE_BIN_PATH environment variable.")
process.exit(1)
8 changes: 4 additions & 4 deletions backend/cli/src/installation/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,10 +134,10 @@ export namespace Installation {
let cmd
switch (method) {
case "curl":
// The bash installer moved to app.syntheticsciences.ai with the
// openscience-dashboard retirement. Override via OPENSCIENCE_INSTALL_URL if
// hosting the script elsewhere.
cmd = $`curl -fsSL ${process.env.OPENSCIENCE_INSTALL_URL || "https://app.syntheticsciences.ai/install"} | bash`.env({
// openscience.sh/install serves the repo install script. The app
// subdomain serves the dashboard SPA, so piping it into bash fails.
// Override via OPENSCIENCE_INSTALL_URL if hosting the script elsewhere.
cmd = $`curl -fsSL ${process.env.OPENSCIENCE_INSTALL_URL || "https://openscience.sh/install"} | bash`.env({
...process.env,
VERSION: target,
})
Expand Down
6 changes: 3 additions & 3 deletions frontend/docs/src/components/Lander.astro
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const discord = config.social.filter(s => s.icon === 'discord')[0];

const command = "curl -fsSL"
const protocol = "https://"
const url = "syntheticsciences.ai/install"
const url = "openscience.sh/install"
const bash = "| bash"

let darkImage: ImageMetadata | undefined;
Expand Down Expand Up @@ -121,9 +121,9 @@ if (image) {
</div>
<div class="col4">
<h3>Installer</h3>
<button class="command" data-command="curl -fsSL https://syntheticsciences.ai/install | bash">
<button class="command" data-command="curl -fsSL https://openscience.sh/install | bash">
<code>
<span>curl -fsSL</span> <span class="highlight">syntheticsciences.ai/install</span> <span>| bash</span>
<span>curl -fsSL</span> <span class="highlight">openscience.sh/install</span> <span>| bash</span>
</code>
<span class="copy">
<CopyIcon />
Expand Down
6 changes: 3 additions & 3 deletions frontend/landing/public/install
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ Options:
--no-modify-path Don't modify shell config files (.zshrc, .bashrc, etc.)

Examples:
curl -fsSL https://syntheticsciences.ai/install | bash
curl -fsSL https://syntheticsciences.ai/install | bash -s -- --version 1.0.180
curl -fsSL https://openscience.sh/install | bash
curl -fsSL https://openscience.sh/install | bash -s -- --version 1.0.180
./install --binary /path/to/openscience
EOF
}
Expand Down Expand Up @@ -449,6 +449,6 @@ echo -e ""
echo -e "cd <project> ${MUTED}# Open directory${NC}"
echo -e "openscience ${MUTED}# Run command${NC}"
echo -e ""
echo -e "${MUTED}For more information visit ${NC}https://syntheticsciences.ai/docs"
echo -e "${MUTED}For more information visit ${NC}https://openscience.sh/docs"
echo -e ""
echo -e ""
2 changes: 1 addition & 1 deletion frontend/landing/src/pages/Landing.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const MONO_N = "font-terminal text-[11px] tracking-[0.08em] text-foreground/40";
const LABEL = "text-[14px] text-muted-foreground";

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

Expand Down
6 changes: 3 additions & 3 deletions install
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ Options:
--no-modify-path Don't modify shell config files (.zshrc, .bashrc, etc.)

Examples:
curl -fsSL https://syntheticsciences.ai/install | bash
curl -fsSL https://syntheticsciences.ai/install | bash -s -- --version 1.0.180
curl -fsSL https://openscience.sh/install | bash
curl -fsSL https://openscience.sh/install | bash -s -- --version 1.0.180
./install --binary /path/to/openscience
EOF
}
Expand Down Expand Up @@ -449,6 +449,6 @@ echo -e ""
echo -e "cd <project> ${MUTED}# Open directory${NC}"
echo -e "openscience ${MUTED}# Run command${NC}"
echo -e ""
echo -e "${MUTED}For more information visit ${NC}https://syntheticsciences.ai/docs"
echo -e "${MUTED}For more information visit ${NC}https://openscience.sh/docs"
echo -e ""
echo -e ""
Loading