diff --git a/README.md b/README.md new file mode 100644 index 0000000..6187c69 --- /dev/null +++ b/README.md @@ -0,0 +1,23 @@ +# Web Terminal + +Browser-based terminal with real-time WebSocket connection. + +## Deploy on Railway + +1. Go to Railway → New Project → Deploy from GitHub repo +2. Select this repo `PAI-SUPERVVIP/shellcode` +3. Deploy! + +## Features + +- Browser-based terminal +- Real-time WebSocket via Socket.io +- Mobile-friendly with touch controls +- Works on any device + +## Tech Stack + +- Node.js + Express +- Socket.io +- xterm.js +- node-pty diff --git a/railway.json b/railway.json index a9d3c44..d996ade 100644 --- a/railway.json +++ b/railway.json @@ -1,20 +1,12 @@ { "$schema": "https://railway.com/railway.schema.json", "build": { - "builder": "DOCKERFILE", - "dockerfilePath": "Dockerfile" + "builder": "DOCKERFILE" }, "deploy": { "runtime": "V2", "numReplicas": 1, "sleepApplication": false, - "useLegacyStacker": false, - "ipv6EgressEnabled": false, - "multiRegionConfig": { - "asia-southeast1-eqsg3a": { - "numReplicas": 1 - } - }, "restartPolicyType": "ON_FAILURE", "restartPolicyMaxRetries": 10 }