Skip to content

homemade-alexa/client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors