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.
- Host: GitHub
- URL: https://github.com/jmandel/seva-skype-docker
- Owner: jmandel
- Created: 2014-04-11T00:06:17.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2015-07-08T17:32:00.000Z (almost 10 years ago)
- Last Synced: 2025-02-23T05:05:51.790Z (4 months ago)
- Language: CSS
- Homepage:
- Size: 341 KB
- Stars: 7
- Watchers: 1
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```