Administrator guide
Install Metanity Room, invite participants and manage the room. The screenshots show release 2026-11-28.11 using sample data.
Recommended server size by participant count
These estimates are for a Linux VPS dedicated to Metanity Room. The estimates assume everyone moves on the same map and connects to the built-in SFU on entry, including participants who stay muted. Choose the audio setup you plan to use and the largest number of people expected on the same map at once. Outbound bandwidth is the rate the server can sustain when sending to the internet. Check the limit for your individual VPS plan.
All microphones muted
| Participants | vCPUs | Memory | Outbound bandwidth |
|---|---|---|---|
| 1–20 | 1 | 1 GB | 5 Mbps |
| 21–50 | 2 | 1 GB | 10 Mbps |
| 51–100 | 2 | 2 GB | 10 Mbps |
Podium only (one speaker addressing everyone)
| Participants | vCPUs | Memory | Outbound bandwidth |
|---|---|---|---|
| 1–20 | 1–2 | 1 GB | 10 Mbps |
| 21–50 | 2 | 2 GB | 15 Mbps |
| 51–100 | 2 | 2 GB | 25 Mbps |
Nearby conversations (one podium speaker and four nearby speakers)
These figures assume one podium speaker and four nearby speakers talk at once, with almost everyone within earshot. Nearby audio quality adjusts after the listener count stays at or above a threshold for five seconds. Use the rightmost column to allow headroom when all five start speaking together.
| Participants | vCPUs | Memory | Outbound after quality adjustment | Outbound at call start |
|---|---|---|---|---|
| 1–20 | 2 | 2 GB | 10 Mbps | 10 Mbps |
| 21–50 | 2 | 2 GB | 25 Mbps | 25 Mbps |
| 51–100 | 2–4 | 2 GB | 50 Mbps | 50 Mbps |
For a seminar of 20 using this setup, allow 2 vCPUs, 2 GB of memory and 10 Mbps of outbound bandwidth. With 100 participants, voice and movement together use an estimated 32 Mbps after quality adjustment and 38 Mbps at call start. We recommend 50 Mbps for both.
Allow additional outbound bandwidth if the same VPS relays most voice traffic through TURN or serves large images or PDFs to everyone at once.
Network ports
The table lists the ports for HTTPS access and built-in TURN, and which service receives each connection.
| Port and protocol | Service and purpose |
|---|---|
| 8080 / TCP | The bundled configuration listens on 127.0.0.1:8080. Use it for local tests or as the forwarding destination for a proxy on the same host. |
| 443 / TCP | Participants connect here for HTTPS and secure WebSockets. The room accepts direct connections in automatic certificate mode. With a reverse proxy or tunnel, the proxy or the tunnel provider’s public endpoint accepts the connection. |
| 3478 / UDP and TCP | The default listening port for participant connections to the built-in TURN server. |
| 49160–49200 / UDP | The default media relay range for built-in TURN. When using this provider, allow port 3478 and this UDP range on the relay host. |
For HTTPS setup, see Windows, macOS or Linux.
See Audio testing and TURN for relay setup.
Install and start the server
Open the instructions for the operating system of your host computer. The executable includes the browser interface and ten maps.
The starter configuration listens on 127.0.0.1:8080. After starting the server, open http://localhost:8080/ on that computer to check the participant sign-in screen. Open http://localhost:8080/admin and sign in with your administrator password.
Windows setup
Install and start on Windows
- Download the Windows ZIP and extract it to a folder your account can write to.
- Open the supplied
config.yamlin a text editor. Underserver, setadmin_passwordto your administrator password. For shared sign-in, set a separate 8–128 character password forroom_password. - Open PowerShell in the extracted folder and run the following command. Press Ctrl+C to stop the server.
.\metanity-room.exe -config config.yaml
Publish from Windows over HTTPS
First run the Windows ZIP on the host PC and check the sign-in screen at http://localhost:8080/. Set an administrator password and choose a participant sign-in method before inviting anyone. Replace room.example.org below with your own hostname.
Option 1. Use a tunnel on a network without inbound port forwarding
- Choose a domain managed in your Cloudflare account. Create a remotely managed Cloudflare Tunnel and select Windows. Run the dashboard’s connector installation command in an administrator PowerShell window on the room PC. Keep the connector token private.
- Add a published application route for your hostname. Choose HTTP as the service type and
127.0.0.1:8080as the service address. The connector on this PC forwards traffic to the room. The network must allow its outbound connection. - Stop the room with Ctrl+C. In the existing
server:section ofconfig.yaml, set these fields and keep your passwords and other settings.
tls_mode: "http"
addr: "127.0.0.1:8080"
allowed_origins: ["https://room.example.org"]
trust_proxy_headers: trueRestart the executable from the extracted folder. This setup keeps port 8080 on the PC and requires no inbound router forwarding. Cloudflare’s connector and route instructions
Option 2. Let the Windows application issue its own certificate
- Use a public IP address that accepts inbound connections. Point the hostname’s DNS A record to that address. If you publish an AAAA record, IPv6 must reach the same PC. DNS must lead directly to the room for certificate validation.
- If using a NAT router, reserve the PC’s LAN address and forward external TCP 443 to TCP 443 on that PC. Check that port 443 is available. In administrator PowerShell, change to the extracted folder and allow the executable through Windows Firewall.
New-NetFirewallRule -DisplayName "Metanity Room HTTPS" -Direction Inbound -Action Allow -Protocol TCP -LocalPort 443 -Program (Resolve-Path .\metanity-room.exe).PathStop the room and edit these fields under the existing server: heading. Keep the certificate cache directory writable and preserve it across restarts.
tls_mode: "autocert"
domain: "room.example.org"
allowed_origins: ["https://room.example.org"]
trust_proxy_headers: falseStart the room from its folder in an ordinary PowerShell window.
.\metanity-room.exe -config config.yaml
Verify from outside your network
Turn off Wi-Fi on a phone and open https://room.example.org/. Check the certificate, sign in and select a map. Once you can join, test audio across two networks. For a tunnel error, verify the connector is online and the local room is running. For a direct certificate error, check DNS and TCP 443 forwarding. Keep the PC awake and the room process running while the room is open.
macOS setup
Install and start on macOS
- From the Apple menu, choose About This Mac. Download the ZIP for your Mac. Choose Apple silicon for an M-series chip or Intel for an Intel processor. Extract it to a folder your account can write to.
- Open the supplied
config.yamlin a text editor. Underserver, setadmin_passwordto your administrator password. For shared sign-in, set a separate 8–128 character password forroom_password. - In Terminal, type
cdfollowed by a space, drag the extracted folder from Finder into Terminal and press Return. Run the following commands. Press Ctrl+C to stop the server.
chmod 700 ./metanity-room
chmod 600 config.yaml
./metanity-room -config config.yaml
If macOS blocks the executable, verify the ZIP against the SHA-256 checksum on the downloads page, then follow Apple’s guidance. Safely open apps on your Mac
Publish from macOS over HTTPS
Check that the participant sign-in page opens on the same Mac before proceeding. Replace room.example.org with a public hostname you manage.
Option 1. Publish with Cloudflare Tunnel
- Use a domain managed in Cloudflare and create a Cloudflare Tunnel. Select macOS for the connector and run the installation command shown in the dashboard in Terminal on the same Mac. Keep the connector token private.
- Add a published application route for your hostname. Choose HTTP as the service type and
127.0.0.1:8080as the service address. Cloudflare’s connector and route instructions - Stop the room and set the following fields under the existing
server:heading inconfig.yaml. Keep your passwords and other settings, then restart the room.
tls_mode: "http"
addr: "127.0.0.1:8080"
allowed_origins: ["https://room.example.org"]
trust_proxy_headers: true
Participants connect over HTTPS on port 443 and the application on the Mac listens at 127.0.0.1:8080. The router needs no inbound port forwarding.
Option 2. Publish directly on TCP 443 with automatic certificates
- Point your public hostname to a public IP address that accepts inbound connections. If you publish an IPv6 AAAA record, that address must also reach the Mac. Behind a NAT router, reserve the Mac’s local IP address and forward external TCP 443 to TCP 443 on the Mac.
- Check that port 443 is available. If the macOS firewall is enabled, open System Settings → Network → Firewall → Options and allow incoming connections for
metanity-room. Apple’s firewall settings guide - Stop the room and set the following fields under the existing
server:heading. The certificate cache directory must be writable by the user running the room.
tls_mode: "autocert"
domain: "room.example.org"
allowed_origins: ["https://room.example.org"]
trust_proxy_headers: false
From the extracted folder, run ./metanity-room -config config.yaml. The application listens for HTTPS on TCP port 443.
Verify from outside your network
Turn off Wi-Fi on a phone, open the public HTTPS URL and sign in. Once you can join, test audio across two networks. Keep the Mac awake and the room process running while the room is open.
Linux setup
Install on Linux
These steps install the release archive on a fresh 64-bit Ubuntu or Debian host. Sign in as the regular user who will run the server. For an existing installation, follow Updates and recovery.
1. Check the CPU and command-line tools
uname -mThe Linux archive is built for 64-bit Intel and AMD processors (x86_64). An aarch64 host requires a separate build. If you need tools to download or extract the archive or edit the configuration, the apt command below is for Ubuntu and Debian-based distributions. On other distributions, install the tools with your distribution’s package manager. The command to start the server after extraction is the same.
sudo apt update && sudo apt install curl tar gzip nano
2. Download, verify and extract the release
The following commands use a temporary download folder, check the archive’s SHA-256 checksum, and extract it to ~/metanity-room. For a fresh installation, choose a user account where that destination does not already exist.
umask 077
cd "$(mktemp -d)" || exit 1
base_url='https://www3.cuc.ac.jp/~kamata/metanity-room/downloads'
archive='metanity-room-2026-12-02.1-linux-amd64.tar.gz'
curl -fLO "$base_url/$archive" &&
curl -fLO "$base_url/SHA256SUMS.txt" &&
sha256sum --check --ignore-missing SHA256SUMS.txt &&
mkdir -m 700 "$HOME/metanity-room" &&
tar -xzf "$archive" --strip-components=1 -C "$HOME/metanity-room"
3. Set the administrator password and start the server
cd "$HOME/metanity-room"
chmod 700 metanity-room
chmod 600 config.yaml
nano config.yamlUnder server, enter your administrator password between the quotes in admin_password: "". For shared sign-in, set a separate 8–128 character password for room_password. In nano, press Ctrl+O, then Enter to save, and Ctrl+X to exit.
./metanity-room -config config.yaml
4. Check the connection
Leave the process running. In another terminal on the Linux host, request its configuration. A JSON response with the sign-in settings confirms that the server is listening.
curl -fsS http://127.0.0.1:8080/api/config
Open http://localhost:8080/admin in a browser on that host and sign in with your administrator password. For a headless server, run the following command on your own computer, replacing user@server.example.edu with your SSH destination. Open http://localhost:18080/admin on your computer while the tunnel is connected.
ssh -N -L 18080:127.0.0.1:8080 user@server.example.edu
5. Publish over HTTPS
On the same server, have the reverse proxy accept HTTPS for the public hostname and forward requests to http://127.0.0.1:8080. Forward /ws to the same destination and allow WebSocket upgrades.
Set the following fields under the existing server: heading in config.yaml. Replace room.example.org with your public hostname.
tls_mode: "http"
addr: "127.0.0.1:8080"
allowed_origins: ["https://room.example.org"]
If you use Cloudflare Tunnel, run the Linux connector on the same server and route the public hostname to http://127.0.0.1:8080. Set trust_proxy_headers to true under server. Cloudflare’s connector and route instructions
Restart the room and give participants the public HTTPS URL. Check the network ports, then test audio across two networks.
Optional: run continuously with systemd
Stop the foreground test with Ctrl+C. As the same Linux user, create the following service file.
mkdir -p "$HOME/.config/systemd/user"
nano "$HOME/.config/systemd/user/metanity-room.service"[Unit]
Description=Metanity Room
[Service]
WorkingDirectory=%h/metanity-room
ExecStart=%h/metanity-room/metanity-room -config config.yaml
Restart=on-failure
RestartSec=3
UMask=0077
[Install]
WantedBy=default.target
Save the file and start the service. Look for active (running) in the status output.
systemctl --user daemon-reload
systemctl --user enable --now metanity-room.service
systemctl --user status metanity-room.service --no-pager
Enable lingering for this user to keep the service running after logout and start it at boot. systemd loginctl reference
sudo loginctl enable-linger "$(id -un)"
If the service doesn’t start, inspect the recent log entries.
journalctl --user -u metanity-room.service -n 30 --no-pager
View full sizeAudio testing and TURN
With turn.provider: "none", the server uses STUN only. Join the same conversation area on two devices, one on the campus network and one on a mobile connection. Allow microphone access in both browsers, unmute both microphones and check that each person can hear the other. Configure TURN for networks that cannot connect directly to the built-in SFU.
- Cloudflare TURN
- Set
turn.providerto"cloudflare". Enter your TURN credentials underturn.cloudflare.key_idandturn.cloudflare.api_token. Restart, then select Recheck relay settings in the admin screen. To test a relay-only call, open your public room URL with/?relay=1on both devices. - Built-in or external TURN
- For
builtin, setturn.builtin.public_ipto a reachable public IP. Allow the listening port (TCP and UDP 3478 by default) and the relay port range (UDP 49160–49200 by default). Forexternal, setturn.shared_secretandturn.external.urlsto match your TURN service.
View full sizeSign-in and accounts
Class capacity and speaker limits
In the sign-in settings in /admin, set participant capacity to 500 before a 500-person class. The default is 256. The same value sets the number of successful admissions per IP address per minute. After entering their password, participants see their queue position and proceed automatically when authentication or a seat becomes available.
Set the maximum number of unmuted nearby speakers whose voices can reach the same listener (default 4). Podiums share a separate quota within each map (default 1). Both limits are editable in /admin. An additional speaker is muted and notified when the relevant quota is full.
All voice uses the built-in SFU at every room size. On the open floor, volume falls with distance. Speech from a table reaches only that table at a constant volume. Podium speakers can be heard throughout the map. Browser Opus discontinuous transmission reduces silent traffic where supported.
For nearby conversations, microphone quality follows the number of listeners receiving each speaker. After 5 seconds at 40, 120 or 300 listeners, the bitrate cap drops from its usual 40 kbit/s to 24, 20 or 16 kbit/s, respectively. From 120 listeners, the browser is asked to send 40 ms of audio per packet. Browsers that retain their original packet duration can continue speaking. Quality recovers after 30 seconds below 80% of the relevant threshold. Podiums use 40 kbit/s and 20 ms.
The SFU runs in the room executable. Off-campus use requires a working WebRTC path between browsers and the SFU. For an HTTPS tunnel, configure TURN reachable by both endpoints and test nearby conversation and a podium broadcast from outside the campus network.
Under Sign-in method, open the Shared password or Individual accounts tab. The In use label shows the current method. Choose Apply this method to change it. Register at least one enabled user before applying Individual accounts.
Your edits stay in place as you move between tabs. When you switch back to a method, you can use the same saved room password, roster and map permissions.
View full sizeHow participant passwords are stored and transmitted
Each individual account can be in one room session at a time. Entering with the same ID from another device or tab ends the previous session and displays the reason there.
For individual accounts, the server stores both initial passwords and passwords set by participants as salted bcrypt hashes in users.db. Administrators cannot view a participant's personal password. The standard roster CSV excludes passwords and hashes.
For shared password sign-in, the server stores the room password in plain text as server.room_password in config.yaml. Restrict access to config.yaml, users.db, and their backups. When making the room publicly available, use HTTPS for participant and administrator connections.
Use a shared password
Enter the same new password (8–128 characters) in both masked fields and choose Save room password. Shared entry stays closed until a valid password is set. Give participants that password and your room URL. To change the administrator password, enter your current password and the new password twice.
Create individual accounts
Under User accounts, enter a user ID and a display name. To restrict access, choose Selected maps only and select the allowed maps. Choose Save account.
View full sizeImport a roster
Expand Import accounts from CSV. Paste one person per line, then choose Import accounts. Include the header when adding a notes column.
login_id,display_name,note
student01,Student A,Group A
student02,Student B,Group B
View full sizeThe server issues an initial password for each new account. For a batch import, use Download credentials CSV before closing the result and give each person only their own row. This CSV contains initial passwords in plain text. Delete it when you no longer need it for distribution. Participants set their personal password at first sign-in. If someone forgets it, issue a new initial password from the account list.
Maps and exhibits
In Map and region editor, select the map to edit. Use Copy to create a separate version for a class.
Click a region on the map or choose it from Region to edit. Its details appear below the map. You can also import files and open Map creation prompt for AI in the same editor.
Draw a conversation area
Choose Draw rectangle and Conversation. Drag across the area on the map and give it a name. To let participants read materials while talking, overlap a materials zone with the conversation area. You can draw them in either order. With the selection tool, click where areas overlap and choose by name and purpose. Only the chosen area’s details appear below the map. For a speaking position that reaches everyone on the map, choose the broadcast purpose instead.
View full sizeAdd a PDF, image or resource link
Select + Add exhibit or guide. Set the position and display name, then enter the resource URL or choose a file. Choose Save map and visit that location as a participant to check the exhibit.
View full sizeUse Show to participants to control which maps appear in the picker. With individual accounts, participants see the visible maps they have permission to enter.
To change the title or image on the entry screen, open the participant sign-in screen editor, check the preview and choose Save sign-in screen. Use the Japanese and English tabs to edit each title, text color and font size, then save both together.
Participants and logs
Send an announcement or manage a microphone
In Participants and announcements, enter a message and choose Send announcement to display it in participants’ chat. Check microphone and connection status in the server status section. To mute one person, select Mute in their row. Choose Mute everyone before a presentation if needed. Choose Release mute lock to let the participant unmute their own microphone. Check the display name before selecting Remove from room.
View full sizeReview and export room logs
In Room logs, choose a date to see entries, departures, participant counts, and moderation actions such as removals and mute locks. Choose Export CSV (Excel) or Export JSONL to save the records. The default retention period is 30 days, including today in Japan time. Choosing Save retention period deletes daily logs older than the new limit.
Log posts for review (optional)
Ordinary chat, reactions, and administrator announcements are not saved on the server. Select Log posts for review and choose Save logging preference to log chat posts matching Japanese or English rules for sexual solicitation or harassment, criminal solicitation or threats, and bullying or harassment. Select Posts for review in the event filter to see or export the posting time, author, matching categories, and message. Review each post in context because the rules can miss harmful posts or flag harmless ones. These records share the room log’s retention period. The daily limit is 64 MiB, with 1 MiB reserved for operational events.
Save your own chat
Choose Save chat to download a text file containing up to the 200 most recent comments and reactions shown in your chat panel.
View full sizeUpdates and recovery
- Tell participants the room is closing, then stop the server. Back up the old executable,
config.yaml, the map storage directory (maps/default/by default),logs/,users.dband any accompanying SQLite files whose names start withusers.db. - Extract the new archive to a separate folder. Replace only the executable in the existing installation. Start it from the usual working folder with the same configuration. Check the version in the admin header, the map list and sign-in with a test account.
- To restore a backup, stop the server and restore the complete backup to an empty working folder. Start the backed-up executable there and check participant and administrator sign-in.