https://github.com/radityaharya/line-bot
My personal LINE Messenger bot
https://github.com/radityaharya/line-bot
line-bot
Last synced: 5 months ago
JSON representation
My personal LINE Messenger bot
- Host: GitHub
- URL: https://github.com/radityaharya/line-bot
- Owner: radityaharya
- Created: 2022-09-14T03:03:01.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-04-03T09:30:49.000Z (about 2 years ago)
- Last Synced: 2023-04-03T09:59:54.220Z (about 2 years ago)
- Topics: line-bot
- Language: Python
- Homepage:
- Size: 84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Line Bot
My personal LINE Messenger bot
## Features
- Fetch next schedule from Binusmaya
- Get random image from specified subreddit
- Trakt new episode notification## Environment Variables
To run this project with all of its features, you will need to add the following environment variables to your .env file
`LINE_HOST`
`LINE_CHANNEL_ACCESS_TOKEN`
`LINE_CHANNEL_SECRET`
`BIMAY_TOKEN`
`REDDIT_CLIENT_ID`
`REDDIT_CLIENT_SECRET`
`TMDB_API_KEY`
`SECRET_KEY` (for receiving External Flex requests)
`MONGO_URI`
## Run Locally
Clone the project
```bash
git clone https://github.com/radityaharya/line-bot
```Go to the project directory
```bash
cd line bot
```Install dependencies
```bash
pip install -r requirements.txt
```Start the server
```bash
gunicorn --bind '0.0.0.0:8011' app:run
```## Run Using Docker Compose
To deploy this project run
```bash
docker compose up -d --build
```