list command displays all active rooms on a Gambiarra hub, showing room codes, names, participant counts, and creation times.
Usage
Options
Hub URL to query. Also accepts
-H shorthand.Output as JSON for programmatic use. Also accepts
-j shorthand.Examples
List rooms on local hub
Query the default local hub:List rooms on remote hub
Query a hub running on a different machine:JSON output
Get structured JSON output for scripting:JSON output is useful for parsing with tools like
jq or integrating with scripts.Parse JSON with jq
Extract specific information usingjq:
No rooms available
If the hub has no active rooms:Response format
Each room displays:- Code: The short code used to join the room (e.g.,
ABC123) - Name: The room’s display name
- Participants: Current number of connected participants
- Created: Timestamp when the room was created (in local time)
Error handling
Hub not reachable
If the hub is not running or unreachable:Make sure the hub is running with
gambiarra serve before listing rooms.API error
If the hub returns an error:Use cases
Find room to join
List rooms to find the code you need:Monitor hub activity
Check participant counts across rooms:Check room age
See when rooms were created:Scripting and automation
Integrate with shell scripts:Room information details
Participant count
Shows the number of currently connected participants. This count updates in real-time as participants join or leave.Creation time
Displays the timestamp when the room was created, formatted in your local timezone.Room ID
The internal unique identifier is included in JSON output but not displayed in the human-readable format.Related commands
create- Create a new roomjoin- Join a room as a participantmonitor- Monitor rooms in real-time with TUIserve- Start the hub server
Next steps
After listing rooms:- Note the room code you want to join
- Join the room with your LLM endpoint
- Monitor activity to see real-time updates
- Create a new room if none match your needs