This project is a GSuite Timesheet Generator that automates the process of creating timesheets from Google Calendar events. It includes features for invoice generation and currency conversion.
Before you begin, ensure you have met the following requirements:
- You have installed Node.js (version 14 or later)
- You have installed pnpm
- You have a Google account with Calendar access
- You have an OpenAI API key
- You have an Exchange Rate API key
To install the GSuite Timesheet Generator, follow these steps:
- Clone the repository:
git clone https://github.com/yourusername/gsuite-timesheet.git
cd gsuite-timesheet
- Install the dependencies:
pnpm install
- Set up the Google credentials:
-
Follow the Google instructions to set up credentials for a desktop application.
-
Once you've downloaded the credentials file, rename it to
credentials.json
and place it in the root directory of the project.
You also need to create the exchange rate api key.
- Create a
.env
file in the root directory and add your API keys:
OPENAI_API_KEY=your_openai_api_key_here
EXCHANGE_RATE_API_KEY=your_exchange_rate_api_key_here
To run the GSuite Timesheet Generator, use the following command:
pnpm run dev -- --open
This will start the development server and open the application in your default web browser. The application will be available at http://localhost:5173/
.
- Fetch and display Google Calendar events
- Calculate total hours worked
- Generate invoices based on timesheet data
- Convert currency (USD to INR)
- Customize invoice details
Contributions to the GSuite Timesheet Generator are welcome. Please adhere to this project's code of conduct
.
This project uses the following license: GNU GENERAL PUBLIC LICENSE
If you want to contact me, you can reach me at rahul@ogha.ai
.