Drive-Bot is a Facebook Messenger-based tool designed to help you search for documents across extensive Google Drive storage spaces seamlessly.
To deploy Drive-Bot, ensure your environment meets the following requirements:
- Web Server: Apache2 or Nginx
- PHP: Version 5.6 or higher
- Composer: PHP dependency manager (Recommended)
- Infrastructure: VPS or shared hosting with internet access
-
Navigate to your web root directory:
cd /var/www/html -
Clone the repository and enter the project folder:
git clone https://github.com/VNBot-Developers/Drive-Bot && cd Drive-Bot
-
Install dependencies: Use Composer to install the required PHP libraries:
composer install
The installation process typically completes within 2–3 minutes, depending on your network speed.
-
Configure the application: Open
config.phpand update the$qvariable to match your specific search criteria.- Note: For details on constructing search queries, please refer to the Query Documentation.
-
Set up Chatfuel: Integration with Facebook Messenger requires specific configurations on Chatfuel. Follow the instructions in the Chatfuel Setup Guide.
-
Authenticate with Google Drive: Access the URL pointing to
drive.phpon your server. Click the "click" link to initiate the Google OAuth login process. -
Grant Permissions: Authorize the application to access your Google Drive when prompted.
-
Token Configuration: After authorization, the system will generate an access token. Copy this token, paste it into the provided input field, and click Send.
-
Deployment Complete: Drive-Bot is now ready for operation.
- Download the source: Download the complete source code package from this link.
- Upload files: Upload the files to your hosting directory using an FTP client (e.g., FileZilla).
- Finalize Setup: Follow steps 4 through 8 as described in the VPS deployment section to complete the configuration.
If you have any questions or need assistance, feel free to reach out:
- Facebook: Trần Đức Ý
- Email: ducyk41cntt@gmail.com


