Skip to content

SynapseFI/demo.slackbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

96 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

demo.slackbot

Slack integration using Synapse for automated savings.


Disclaimer SynapseBot is only a proof of concept. It is not secure and should never be used for real users, nodes, or transactions.


Slack Interface

See samples.md.

Non-Docker Instructions

To run:

python3 app/app.py

# in a separate terminal
python3 app/slack_event_loop.py

Docker Instructions

To build:

docker build --rm -t demo.slackbot .

To run:

docker run -d -p 89:80 -v $(pwd)/app:/app --name=demo.slackbot demo.slackbot

App Structure

app/
├── app.py
├── bot.py
├── commands.py
├── config.py
├── core/
├── db.py
├── models.py
├── schema.sql
├── slack_event_loop.py
├── static/
└── templates/