feat(domain): drop the 'studio' (#818)

* feat(domain): drop the

* change all references for Sim Studio to Sim

* change back license and notice

* lint

---------

Co-authored-by: waleedlatif <waleedlatif@waleedlatifs-MacBook-Pro.local>
This commit is contained in:
Waleed Latif
2025-07-29 12:51:43 -07:00
committed by GitHub
parent 13608a8bbc
commit ae43381d84
235 changed files with 809 additions and 646 deletions

View File

@@ -1,10 +1,10 @@
# Sim Studio CLI
# Sim CLI
Sim Studio CLI allows you to run [Sim Studio](https://simstudio.ai) using Docker with a single command.
Sim CLI allows you to run [Sim](https://sim.ai) using Docker with a single command.
## Installation
To install the Sim Studio CLI globally, use:
To install the Sim CLI globally, use:
```bash
npm install -g simstudio
@@ -12,7 +12,7 @@ npm install -g simstudio
## Usage
To start Sim Studio, simply run:
To start Sim, simply run:
```bash
simstudio
@@ -20,7 +20,7 @@ simstudio
### Options
- `-p, --port <port>`: Specify the port to run Sim Studio on (default: 3000).
- `-p, --port <port>`: Specify the port to run Sim on (default: 3000).
- `--no-pull`: Skip pulling the latest Docker images.
## Requirements

View File

@@ -1,7 +1,7 @@
{
"name": "simstudio",
"version": "0.1.19",
"description": "Sim Studio CLI - Run Sim Studio with a single command",
"description": "Sim CLI - Run Sim with a single command",
"main": "dist/index.js",
"type": "module",
"bin": {
@@ -28,7 +28,7 @@
"automation",
"docker"
],
"author": "Sim Studio",
"author": "Sim",
"license": "Apache-2.0",
"dependencies": {
"chalk": "^4.1.2",

View File

@@ -17,10 +17,10 @@ const DEFAULT_PORT = '3000'
const program = new Command()
program.name('simstudio').description('Run Sim Studio using Docker').version('0.1.0')
program.name('simstudio').description('Run Sim using Docker').version('0.1.0')
program
.option('-p, --port <port>', 'Port to run Sim Studio on', DEFAULT_PORT)
.option('-p, --port <port>', 'Port to run Sim on', DEFAULT_PORT)
.option('-y, --yes', 'Skip interactive prompts and use defaults')
.option('--no-pull', 'Skip pulling the latest Docker images')
@@ -85,7 +85,7 @@ async function cleanupExistingContainers(): Promise<void> {
async function main() {
const options = program.parse().opts()
console.log(chalk.blue('🚀 Starting Sim Studio...'))
console.log(chalk.blue('🚀 Starting Sim...'))
// Check if Docker is installed and running
const dockerRunning = await isDockerRunning()
@@ -225,7 +225,7 @@ async function main() {
}
// Start the main application
console.log(chalk.blue('🔄 Starting Sim Studio...'))
console.log(chalk.blue('🔄 Starting Sim...'))
const appSuccess = await runCommand([
'docker',
'run',
@@ -250,13 +250,11 @@ async function main() {
])
if (!appSuccess) {
console.error(chalk.red('❌ Failed to start Sim Studio'))
console.error(chalk.red('❌ Failed to start Sim'))
process.exit(1)
}
console.log(
chalk.green(`✅ Sim Studio is now running at ${chalk.bold(`http://localhost:${port}`)}`)
)
console.log(chalk.green(`✅ Sim is now running at ${chalk.bold(`http://localhost:${port}`)}`))
console.log(
chalk.yellow(
`🛑 To stop all containers, run: ${chalk.bold('docker stop simstudio-app simstudio-db simstudio-realtime')}`
@@ -270,14 +268,14 @@ async function main() {
})
rl.on('SIGINT', async () => {
console.log(chalk.yellow('\n🛑 Stopping Sim Studio...'))
console.log(chalk.yellow('\n🛑 Stopping Sim...'))
// Stop containers
await stopAndRemoveContainer(APP_CONTAINER)
await stopAndRemoveContainer(DB_CONTAINER)
await stopAndRemoveContainer(REALTIME_CONTAINER)
console.log(chalk.green('✅ Sim Studio has been stopped'))
console.log(chalk.green('✅ Sim has been stopped'))
process.exit(0)
})
}