Skip to content
homemade-alexaPublic

About

Homemade Alexa terminal client

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

Repository files navigation

Homemade Alexa Client

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.

Usage

./run.sh

or

python3 chat.py

Type a command at the > prompt. Use /exit, /quit, or Ctrl+D to quit.

Configuration

The server address is read from the ALEXA_SERVER environment variable:

ALEXA_SERVER=http://YOUR_SERVER_IP:8080 ./run.sh

If the variable is not set, the client defaults to http://YOUR_SERVER_IP:8080.

How it works

Each line of input is sent as POST /api/internal/chat with body {"command": "..."}. The server returns {"response_phrase": "..."}, which is printed to stdout.

About

Homemade Alexa terminal client

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages