What2Drive is a Python-based tool that helps you efficiently manage and organize your documents by automatically saving them to Google Drive and providing relevant insights.
- Automated Document Saving: Save document images to Google Drive with appropriate file names.
- Content Detection: Detect and suggest updates for image file names based on the content of invoices.
- Summarization: Generate summaries of document contents to quickly grasp essential information.
- Efficient Tracking: Keep track of invoices and other important documents effortlessly.
- Customizable: Easily adapt the tool to your specific document management needs.
To install Node.js, follow these steps:
-
Visit the official Node.js website at nodejs.org.
-
On the homepage, you will see two versions available for download: LTS (Long Term Support) and Current.
-
For most users, it is recommended to download the LTS version, as it provides stability and long-term support. Click on the "LTS" button to download the latest LTS version.
-
If you specifically require the latest features and updates, you can choose the Current version.
-
-
Once you click on the download button, the installer package will start downloading based on your operating system (Windows, macOS, or Linux).
-
After the download is complete, locate the installer package in your downloads folder and run it.
-
Follow the instructions provided by the installer. By default, the installer will install Node.js and npm (Node Package Manager) on your system.
-
During the installation process, you may be asked to accept the terms and conditions and choose the installation location. You can generally leave the default settings as they are.
-
Once the installation is complete, you can verify the installation by opening a new terminal or command prompt window and running the following commands:
-
To check the installed version of Node.js:
node --version -
To check the installed version of npm:
-
to setting upgoogle drive you can watch this you tube video : https://youtu.be/G_4KUbuwtlM
-
Clone the repository:
git clone https://github.com/onk2cell/what2drive.git -
Navigate to the project directory:
cd what2drive -
Create and activate a virtual environment (optional but recommended):
python -m venv env source env/bin/activate -
Install the required dependencies:
pip install -r requirements.txt
-
Set up Google Drive API credentials:
- Follow the instructions in the to create and obtain the necessary API credentials.
- Save the credentials file as
credentials.jsonin the project directory.
-
Customize the configuration:
- Open
config.jsonand update the settings as per your requirements.
- Open
-
Run the program:
python watchbitch.pyThis will start the What2Drive tool and perform the necessary operations based on your configuration.
Contributions are welcome! If you encounter any issues or have suggestions for improvements, feel free to submit a pull request or open an issue in the GitHub repository.
.