🤖 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.
These instructions will help you develop an “almost” same line-bot.
- Download the source code
git clone https://github.com/KaiChen1008/ntu-gym-line-bot-integration
- Follow the instruction1 and instruction2 to install docker and docker-compose.
- Follow the instruction to enroll as a line developer.
- 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'
- Start the services
cd line-bot-server
docker-compose .
- After the service started, please paste the generated instant address to line bot webpage (under Message API tab)
- Collecting data for analyzing
- Predict the capacity of a specific time
- Personalize the responses for each user