An open API service indexing awesome lists of open source software.

https://github.com/jmandel/seva-skype-docker

A Skype bot that runs in docker, to log FHIR chats. In xvfb. Since skype had no API. Goodness help us all.
https://github.com/jmandel/seva-skype-docker

Last synced: about 2 months ago
JSON representation

A Skype bot that runs in docker, to log FHIR chats. In xvfb. Since skype had no API. Goodness help us all.

Awesome Lists containing this project

README

        

## Build the docker image

```
$ sudo docker build -t sevabot .
```

## Configure the docker image

Configure the container passing in a "secret" (sevabot password) + skype admin
username:

```
sudo docker run -e secret=123456 -e skype_user=jcmandel -e mongo_url="mongodb://localhost/myapp" sevabot
export CID=`sudo docker ps -l -q`
export IP=`sudo docker inspect -format '{{ .NetworkSettings.IPAddress }}' $CID`
vncviewer $IP
```

In the vnc viewer, agree to the Skype terms of service, enter a skype bot
username + password, and check off the "sign in automatically" option. Then
sign in, and approve sevabot's connection request (choosing "remember this
devision).

Once that's done, kill the container and commit:

```
sudo docker kill $CID
sudo docker commit $CID sevabot
```

## Run it!
At this point you've got a configured image that you can launch via:

```
sudo docker run -d -p 5000:5000 sevabot start
```