Skip to content

Commit b6f1e60

Browse files
committed
chore: remove old deployment defaults and URLs
1 parent d8adc07 commit b6f1e60

12 files changed

Lines changed: 40 additions & 32 deletions

File tree

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ This started as a live hosted project and was then moved to a community-first op
2121

2222
![OpenClawWorld demo preview](docs/moltsland_preview.gif)
2323

24-
- [Watch full demo on X](https://x.com/DevGwardo/status/2021332855872422396/video/1)
2524
- [Download full demo (MP4)](https://github.com/DevvGwardo/openclawworld/releases/download/v0.1.0/moltsland_game.mp4)
2625

2726
## Repository Structure
@@ -95,7 +94,7 @@ If you do not want to run a shared central server, community testers can self-ho
9594
### Client (`client/.env`)
9695

9796
- `VITE_SERVER_URL`: Socket.IO server URL (default `http://localhost:3000`)
98-
- `VITE_API_URL`: API base URL for invite validation (default `https://openclawworld-production.up.railway.app`)
97+
- `VITE_API_URL`: API base URL for invite validation (default `http://localhost:3000`)
9998
- `DEV_MODE`: Local frontend dev flag used by existing logic
10099

101100
### Bot (`bot/.env`)

client/index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,22 +6,22 @@
66
<link rel="apple-touch-icon" href="/favicon.ico" />
77
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
88
<title>OpenClawWorld — A Multiplayer 3D World for AI Agents &amp; Humans</title>
9-
<meta name="description" content="OpenClawWorld is a multiplayer 3D world where AI agents and humans walk around, chat, emote, and hang out together. Join at openclawworld-production.up.railway.app." />
9+
<meta name="description" content="OpenClawWorld is a multiplayer 3D world where AI agents and humans walk around, chat, emote, and hang out together." />
1010
<meta name="theme-color" content="#000000" />
1111

1212
<!-- Open Graph -->
1313
<meta property="og:type" content="website" />
14-
<meta property="og:url" content="https://openclawworld-production.up.railway.app/" />
14+
<meta property="og:url" content="/" />
1515
<meta property="og:title" content="OpenClawWorld — A Multiplayer 3D World for AI Agents &amp; Humans" />
1616
<meta property="og:description" content="A multiplayer 3D world where AI agents and humans walk around, chat, emote, and hang out together." />
17-
<meta property="og:image" content="https://openclawworld-production.up.railway.app/favicon.ico" />
17+
<meta property="og:image" content="/favicon.ico" />
1818
<meta property="og:site_name" content="OpenClawWorld" />
1919

2020
<!-- Twitter Card -->
2121
<meta name="twitter:card" content="summary" />
2222
<meta name="twitter:title" content="OpenClawWorld — Multiplayer 3D World" />
2323
<meta name="twitter:description" content="A multiplayer 3D world where AI agents and humans walk around, chat, emote, and hang out together." />
24-
<meta name="twitter:image" content="https://openclawworld-production.up.railway.app/favicon.ico" />
24+
<meta name="twitter:image" content="/favicon.ico" />
2525
</head>
2626
<body>
2727
<div id="root"></div>

client/src/App.jsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,10 @@ function App() {
5151
// Already onboarded - no need to check invites
5252
if (localStorage.getItem("clawland_onboarded_v2")) return;
5353

54-
const apiBase = import.meta.env.VITE_API_URL || "https://openclawworld-production.up.railway.app";
54+
const apiBase =
55+
import.meta.env.VITE_API_URL ||
56+
import.meta.env.VITE_SERVER_URL ||
57+
"http://localhost:3000";
5558
const params = new URLSearchParams(window.location.search);
5659
const urlInviteToken = params.get("invite");
5760

client/src/components/UI.jsx

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ const PasswordInput = ({ onClose, onSuccess }) => {
360360

361361
const SERVER_URL =
362362
import.meta.env.VITE_SERVER_URL ||
363-
"https://openclawworld-production.up.railway.app";
363+
"http://localhost:3000";
364364

365365
const BotConnectModal = ({ onClose }) => {
366366
const [copied, setCopied] = useState(null);
@@ -373,7 +373,8 @@ const BotConnectModal = ({ onClose }) => {
373373
};
374374

375375
const npxCommand = "npx openclawworld@latest install-openclawworld";
376-
const manualText = "Read https://openclawworld-production.up.railway.app/skill.md and follow the instructions to join OpenClawWorld";
376+
const skillMdUrl = `${SERVER_URL}/skill.md`;
377+
const manualText = `Read ${skillMdUrl} and follow the instructions to join OpenClawWorld`;
377378

378379
return (
379380
<div className="fixed z-10 grid place-items-center w-full h-full top-0 left-0">
@@ -459,9 +460,9 @@ const BotConnectModal = ({ onClose }) => {
459460

460461
{/* Footer link */}
461462
<div className="border-t border-[#333] pt-4 flex items-center justify-between">
462-
<p className="text-xs text-gray-400 font-mono">openclawworld-production.up.railway.app/skill.md</p>
463+
<p className="text-xs text-gray-400 font-mono">{skillMdUrl}</p>
463464
<button
464-
onClick={() => copyText("https://openclawworld-production.up.railway.app/skill.md", "docs")}
465+
onClick={() => copyText(skillMdUrl, "docs")}
465466
className="bg-slate-800 hover:bg-slate-900 text-white text-xs px-3 py-1.5 rounded-lg transition-colors font-semibold"
466467
>
467468
{copied === "docs" ? "Copied!" : "Copy Docs URL"}
@@ -512,7 +513,7 @@ const HelpModal = ({ onClose }) => {
512513
{ key: "AI Agents", desc: "Bots are AI-powered characters that can chat and sell items" },
513514
{ key: "Connect a Bot", desc: "Click the bot icon (purple) and follow the instructions" },
514515
{ key: "OpenClawWorld", desc: "Run the npx command to install and connect your agent" },
515-
{ key: "Manual Setup", desc: "Use the manual tab for custom bot integration via openclawworld-production.up.railway.app" },
516+
{ key: "Manual Setup", desc: "Use the manual tab for custom bot integration via your configured server URL" },
516517
{ key: "Bot Badges", desc: "Bots display a blue 'Bot' badge on their profile card" },
517518
],
518519
camera: [

client/src/components/WelcomeModal.jsx

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,16 @@ export const WelcomeModal = ({ onChoice, inviteData }) => {
1414
const [agentTab, setAgentTab] = useState("openclawhub");
1515
const [copied, setCopied] = useState(null);
1616
const [inviteName, setInviteName] = useState("");
17+
const skillBaseUrl =
18+
import.meta.env.VITE_API_URL ||
19+
import.meta.env.VITE_SERVER_URL ||
20+
"http://localhost:3000";
21+
const skillMdUrl = `${skillBaseUrl}/skill.md`;
1722

1823
const npxCommand = "npx openclawworld@latest install-openclawworld";
19-
const manualText = "Read https://openclawworld-production.up.railway.app/skill.md and follow the instructions to join OpenClawWorld";
20-
const agentCurlCommand = "curl -s https://openclawworld-production.up.railway.app/skill.md";
21-
const agentManualText = "Read https://openclawworld-production.up.railway.app/skill.md and follow the instructions to register";
24+
const manualText = `Read ${skillMdUrl} and follow the instructions to join OpenClawWorld`;
25+
const agentCurlCommand = `curl -s ${skillMdUrl}`;
26+
const agentManualText = `Read ${skillMdUrl} and follow the instructions to register`;
2227

2328
const copyText = (text, id) => {
2429
navigator.clipboard.writeText(text);

client/vercel.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
{
22
"rewrites": [
3-
{ "source": "/skill.md", "destination": "https://openclawworld-production.up.railway.app/skill.md" },
4-
{ "source": "/skill.json", "destination": "https://openclawworld-production.up.railway.app/skill.json" },
53
{ "source": "/((?!assets/).*)", "destination": "/index.html" }
64
]
7-
}
5+
}

packages/openclawworld/README.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# openclawworld
22

3-
Install the [OpenClawWorld](https://openclawworld-production.up.railway.app) skill for your AI agent.
3+
Install the OpenClawWorld skill for your AI agent.
44

55
OpenClawWorld is a multiplayer 3D world where AI agents walk around, chat, emote, build rooms, and hang out with other bots and humans.
66

@@ -60,26 +60,28 @@ If you prefer not to use the CLI:
6060

6161
```bash
6262
mkdir -p ~/.openclawbot/skills/openclawworld
63-
curl -s https://openclawworld-production.up.railway.app/skill.md > ~/.openclawbot/skills/openclawworld/SKILL.md
64-
curl -s https://openclawworld-production.up.railway.app/skill.json > ~/.openclawbot/skills/openclawworld/package.json
63+
curl -s https://your-server-url/skill.md > ~/.openclawbot/skills/openclawworld/SKILL.md
64+
curl -s https://your-server-url/skill.json > ~/.openclawbot/skills/openclawworld/package.json
6565
```
6666

6767
Then register manually (optional):
6868

6969
```bash
70-
curl -X POST https://openclawworld-production.up.railway.app/api/v1/bots/register \
70+
curl -X POST https://your-server-url/api/v1/bots/register \
7171
-H "Content-Type: application/json" \
7272
-d '{"name": "YourBotName"}'
7373
```
7474

75+
Replace `https://your-server-url` with your own server URL.
76+
7577
## Requirements
7678

7779
- Node.js 18+
7880

7981
## Links
8082

81-
- **Website:** [openclawworld-production.up.railway.app](https://openclawworld-production.up.railway.app)
82-
- **API Docs:** Installed as `SKILL.md` or available at [openclawworld-production.up.railway.app/skill.md](https://openclawworld-production.up.railway.app/skill.md)
83+
- **Website:** Your own hosted OpenClawWorld server URL
84+
- **API Docs:** Installed as `SKILL.md` or available at `{SERVER_URL}/skill.md`
8385

8486
## License
8587

packages/openclawworld/bin/openclawworld.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ if (command === "install-openclawworld" || command === "install") {
2828
2. Runs locally without auth by default (OPEN_ACCESS=1)
2929
3. Optional: register your bot and save credentials with --register/--name
3030
31-
https://openclawworld-production.up.railway.app
31+
Set OPENCLAWWORLD_URL=http://localhost:3000 (or your hosted URL) when needed.
3232
`);
3333
}

packages/openclawworld/lib/install.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@ import fs from "fs";
22
import path from "path";
33
import { createInterface } from "readline";
44

5-
const OPENCLAWWORLD_URL = "https://openclawworld-production.up.railway.app";
5+
const OPENCLAWWORLD_URL =
6+
process.env.OPENCLAWWORLD_URL ||
7+
process.env.SERVER_URL ||
8+
"http://localhost:3000";
69
const SKILL_DIR = path.join(
710
process.env.HOME || process.env.USERPROFILE,
811
".openclawbot",

packages/openclawworld/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"socket-io",
2424
"bot-framework"
2525
],
26-
"homepage": "https://openclawworld-production.up.railway.app",
26+
"homepage": "https://github.com/DevvGwardo/openclawworld",
2727
"repository": {
2828
"type": "git",
2929
"url": "https://github.com/DevvGwardo/openclawworld",

0 commit comments

Comments
 (0)