Refactor inferredOwner, inferredRepo, and inferredDir logic
Tiny Node.js proxy for fetching Roblox presence info & join links.Required backend for the RobloxWatcher Tampermonkey userscript.
👉 Install the RobloxWatcher Userscript on GreasyFork
git clone https://github.com/gaston1799/RobloxWatcher.git cd RobloxWatcher npm install
Copy the example file:
cp .env.example .env
Then edit .env and paste your .ROBLOSECURITY cookie (see below for how to retrieve it):
.env
ROBLOSECURITY=your_cookie_here PORT=3000
⚠️ Never commit .env with your real cookie. It’s ignored in .gitignore.
.gitignore
.ROBLOSECURITY
_|WARNING:...
ROBLOSECURITY=_|WARNING:...yourlongcookiehere...
npm run dev
Default: http://localhost:3000
GET /health→ { ok: true }
GET /health
{ ok: true }
GET /presence-raw?userIds=123,456→ Raw Roblox API presence payload
GET /presence-raw?userIds=123,456
GET /presence-users?userIds=123,456→ Presence + last seen in game
GET /presence-users?userIds=123,456
GET /server-link?userId=123→ Join link if the user is in a public game
GET /server-link?userId=123
GET /join-by-follow?userId=123→ Fallback link using Roblox’s follow system
GET /join-by-follow?userId=123
http://localhost:3000
版权所有:中国计算机学会技术支持:开源发展技术委员会 京ICP备13000930号-9 京公网安备 11010802032778号
RobloxWatcher Server
Tiny Node.js proxy for fetching Roblox presence info & join links.
Required backend for the RobloxWatcher Tampermonkey userscript.
👉 Install the RobloxWatcher Userscript on GreasyFork
🚀 Setup
1. Clone and install
2. Configure environment
Copy the example file:
Then edit
.envand paste your .ROBLOSECURITY cookie (see below for how to retrieve it):⚠️ Never commit
.envwith your real cookie. It’s ignored in.gitignore.🔑 Retrieving your
.ROBLOSECURITYcookie.ROBLOSECURITY._|WARNING:...)..envfile:3. Run the server
Default: http://localhost:3000
🛠 Endpoints
GET /health→
{ ok: true }GET /presence-raw?userIds=123,456→ Raw Roblox API presence payload
GET /presence-users?userIds=123,456→ Presence + last seen in game
GET /server-link?userId=123→ Join link if the user is in a public game
GET /join-by-follow?userId=123→ Fallback link using Roblox’s follow system
🔒 Security
.ROBLOSECURITYprivate.✅ Next Steps
http://localhost:3000.