Home - Victorianuonuo/nudge_bot GitHub Wiki
This is a developer guide for Slack chatbot. This chatbot focuses on productivity and trying to find ways to help users focus on their tasks as well as their weekly goals. The chatbot integrates with Google Calendar and RescueTime.
Slack Chatbot Setup
See the instructions here.
Server Setup
We use Node.js and heroku for this project. To avoid free edition Heroku fell asleep, write code below to keep the server awake.
setInterval(function() {
https.get(process.env.DOMAIN);
console.log("keepwake");
}, 300000); // every 5 minutes (300000)
//This is for the wake process, mongthly quoto limited
Database Setup: MongoDB
See the instructions here.
Oauth 2.0 Connection
Features
- Weekly goals
- Short focus
- Distraction
Utilities
- GIFs
- Scheduled Tasks
- Quick Reactions