Skip to content

vsilent/smarty-bot

Repository files navigation

About

smarty-bot is a http/websocket/xmpp(gtalk) chat bot written in python. It converts speech or chat commands into python actions.

It's going to be more than just a chat bot, it converts chat/speech commands into real actions ( turn on lights, make coffee, open door, remind me etc. ) .

Installation

  1. Register a new account for you bot at gmail.com, for example mysuperbot@gmail.com
  2. git clone https://github.com/vsilent/smarty-bot.git
  3. Edit core/config/settings.py
  4. Execute: docker-compose up -d
  5. Create database with command: docker exec -t smarty python core/people/person.py

Login to your personal gtalk account , find bot's gtalk contact and say hi.

Create custom reaction

It's easy, just tell bot something like:
create a new reaction "say hello to me" All necessary files will be created. Find script under core/brain/say/hello/to/me/reaction.py
Programm your script.

Check script by saving the file and asking bot: say hello to me Your cool script will be executed.

About

smarty-bot - converts chat or speech commands into actions

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages