Server
The server to which the Scholar Ninja extension connects to (PeerJS + custom bootstrapping)
Install / Use
/learn @ScholarNinja/ServerREADME
Warning: Alpha software.
What is it?
This is the server that the Scholar Ninja extension connects to for signaling, i.e. forming WebRTC connections.
Install node
wget http://nodejs.org/dist/v0.10.28/node-v0.10.28.tar.gz
tar -zxvf node-v0.10.28.tar.gz
cd node-v0.10.28
yum groupinstall "Development Tools"
yum install make
sudo make install
Clone and install dependencies
git clone git@github.com:ScholarNinja/server.git
npm install
Run server
./start.sh
Optional
Install STUN/TURN
https://code.google.com/p/coturn/wiki/Downloads sudo apt-get install build-essential libssl-dev libevent-dev libhiredis-dev
Open ports in Security group:
TCP 443 TCP 3478-3479 TCP 32355-65535 UDP 3478-3479 UDP 32355-65535
Launch with (EC2 example): sudo turnserver --syslog -a -L ‘amazon ec2 PRIVATE ip address’ -X ‘amazon ec2 PUBLIC ip address’ -E ‘amazon ec2 PRIVATE ip address’ -f --min-rt=32355 --max-port=65535 --user=’my_username’:’my_password’ -r realm --log-file=stdout -v
Related Skills
node-connect
345.9kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
106.4kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
345.9kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
345.9kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
