Skip to content

🤖 Public code for non-official NTU gym real-time monitor line bot

Notifications You must be signed in to change notification settings

KaiChen1008/NTU-Gym-Line-Bot-Integration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NTU-Gym-Line-Bot-Integration

🤖 Public Code for Non-Official NTU Gym Real-time Monitor Line Bot

Those who does work out quite often usually get upset when they have to wait in line for entering NTU Gym. As a result, we developed a chatbot in order to check whether NTU Gym is crowded or not.

This project is developed using Django and wrapped by docker-compose. We also use ngrox to get an instantly https address for Line API.

⛔️ The project is temporarily stopped developing due to Covid-19 (the gym is closed now). We will re-start the project once the gym is on.

IMG_8140

🔧 Get Started

These instructions will help you develop an “almost” same line-bot.

  1. Download the source code
git clone https://github.com/KaiChen1008/ntu-gym-line-bot-integration
  1. Follow the instruction1 and instruction2 to install docker and docker-compose.
  2. Follow the instruction to enroll as a line developer.
  3. Once you finished the enrollment, you will get your own api private key. What you have to is to paste the key in line-bot-server/bot-server/main-server/settings.py
# Line bot setting

LINE_CHANNEL_ACCESS_TOKEN   = 'xxxxxx'
LINE_CHANNEL_SECRET         = 'xxxx'
  1. Start the services
cd line-bot-server
docker-compose .
  1. After the service started, please paste the generated instant address to line bot webpage (under Message API tab)

📎 ToDo

  • Collecting data for analyzing
  • Predict the capacity of a specific time
  • Personalize the responses for each user

About

🤖 Public code for non-official NTU gym real-time monitor line bot

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published