Minimal terminal client for the Homemade Alexa Server. Sends text commands directly to the internal API and prints the response — useful for testing without a voice interface.
./run.shor
python3 chat.pyType a command at the > prompt. Use /exit, /quit, or Ctrl+D to quit.
The server address is read from the ALEXA_SERVER environment variable:
ALEXA_SERVER=http://YOUR_SERVER_IP:8080 ./run.shIf the variable is not set, the client defaults to http://YOUR_SERVER_IP:8080.
Each line of input is sent as POST /api/internal/chat with body {"command": "..."}. The server returns {"response_phrase": "..."}, which is printed to stdout.