Giter Club home page Giter Club logo

rmondal-official / pinac-workspace Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 8.0 20.07 MB

Automate Google Apps with AI | Using LangChain | Refreshing Interface

License: GNU General Public License v3.0

Python 64.93% HTML 7.33% JavaScript 8.94% CSS 18.81%
python api desktop awesome google automation app tools ai pinac javascript langchain ai-tools python-project ui-design web website-design html-css-javascript python-beginners python-project-beginner

pinac-workspace's Introduction

⚠️ Repository Notice ⚠️

Important Update: This repository for PINAC_Workspace is no longer being actively maintained and will be closing soon. We are excited to announce that development will continue in our new repository, PINAC_Workspace-2.0 from @pinacai

✨ Development to get better: visit PINAC Workspace 2.0

As we continue to innovate and improve, we've realized that the Eel framework, while robust, offers limited features for our ambitious goals. That's why we're thrilled to introduce PINAC_Workspace-2.0 —a leap forward into a more dynamic and expansive development environment. Here's what new to expect:

  • A seamless integration of Electron JS for a robust core and React JS for a responsive frontend, complemented by the power of Python in the backend.
  • Enhanced optimization for multiplatform compatibility, ensuring a smooth and consistent experience across all devices.
  • A commitment to code clarity and maintainability, making it easier for developers to contribute and collaborate.
  • Recognition and incorporation of community contributions—your valuable code from PINAC-Workspace will be part of this new chapter.

Thanks to all our contributors for their support, we're excited for you to join us on this journey to a more versatile and powerful workspace. Stay tuned for the official launch of PINAC_Workspace-2.0 !




Star Badge Open Source Love View My Profile View Repositories

🚀 Welcome to PINAC-Workspace, your dynamic AI ally on the Google Workspace journey! Say hello to a world where tasks transform into adventures and productivity gets a makeover with a splash of charm! 🌟

🌟 Features

  • Effortless Gmail Integration: Tired of typing? Delegate your email tasks to AI. Provide the details, and watch as AI swiftly composes and organizes your drafts.

  • Google Calendar Sync: Your schedule, streamlined. Glance through today's agenda or peek into upcoming events with our intuitive Google Calendar integration.

  • Smart Contacts Access: Need to Connect someone? Look no further! Connect with your contacts directly through PINAC. Your digital rolodex is now at your fingertips.

  • Google Task Tornado: Keep your productivity soaring with seamless access to your Google Tasks. PINAC makes sure you're always ahead of your to-dos.

  • Instant AI Assistance: Queries? Concerns? Curiosities? Pose any question and receive instant, AI-powered responses.

  • Stylish Interface: Who says productivity tools can't be stylish? Dive into a world of sleek design and intuitive interaction with PINAC's visually stunning GUI. Engage in lively conversations, pose questions, and bask in the beauty of productivity reimagined! 🎨


app screenshot

🚀 Getting Started

This tool is tested on Python 3.10.12. But this will work very well with other Python versions. But once search on Google for the Python version compatibility with google python modules. But still, if you face any error report it in the Issues section.

  • Clone the repository: Get the masterpiece in your local system by running

  • Activate Google API: Unlock the power of Google API by following our Google API Guide. Don't worry; we've got your back! Dive into the Google API Guide for a smooth setup.

  • Navigate to the Project: Step into the heart of PINAC-Workspace by navigating to the project directory: cd PINAC-Workspace

  • Obtain Your OpenAI API Key: Once logged in navigate to the API Keys section and generate a new key.

  • Create the .env File Inside your project's /src/configs directory, create a new file named .env. It's important to note that this file is typically ignored by version control systems (like Git) to prevent accidental exposure of your secret key.

  • Set the Environment Variable: Open the .env file in a text editor and add the following line, replacing <YOUR_OPENAI_API_KEY> with your actual key: OPENAI_API_KEY=<YOUR_OPENAI_API_KEY>

  • Prepare Your Machine: Create the Virtual Environment by the name venv and activate it by running

    source venv/bin/activate
    

    Hey, your workspace is ready! Now just install dependencies by running the command

    pip install -r requirements.txt
    
  • Launch Your Experience: Once you've embarked on this exciting journey, run the main.py file and let the adventure begin! Connect to your Google Apps by clicking the Sign Up Button.

📄 License

This project is licensed under the GPL-3.0 license

🤖 Contributors

PINAC-Workspace is flourishing under the care and contribution of a GitHub Community. Thanks to all our contributors

pinac-workspace's People

Contributors

rajeshtechforge avatar jeevikasirwani avatar dibyanshuaman avatar muscabbb avatar danejsakshi13 avatar subhamc88 avatar artypratham avatar kinnam888 avatar saadahmed9 avatar

Stargazers

 avatar  avatar  avatar

Watchers

Kostas Georgiou avatar  avatar

pinac-workspace's Issues

Update README

Rewrite the whole README.md page for making it much more creative and attractive. Keep the Readme header image unchanged.

Hint: You may make it on the theme of Space by using custom theme images.

Who is interested in making this comment on this issue.

Displaying the Email-template on Email-Composer page

Currently, the specific email template given by AI in response to user queries is shown on the chat interface. But now we have the email-composer box, therefore we need to show this template on the composer box correctly. The subject will be placed in the subject box and the rest body in the body box, for now recipient email will be blank by default.

You need to make changes in the main.py file, followed by index.js and email-composer.js. Having any doubt about understanding this issue or the code, simply ask me !

Not able to sign up

After clicking sign-up button and granting access to gmail account, I can see the message "The authentication flow has completed. You may close this window."
But after closing the above window, I can see my gmail account is still not connected as the signup button is still visible.
How to ensure sign up is successful?

Add Auto-removing Welcome Text

It is necessary to automatically remove the welcome text "Hello, How can I help you today?" once the user asks their first question.

Add Animation to Welcome Text

In our App Interface, we need to change the Static welcome text to Dynamic and add an auto-typing animation with multiple texts. The texts will be:

  • Hello, how can I help you today ?
  • Need to send an urgent email ? I can assist you
  • Stay at the top of your schedule with me !
  • Have any question ? Just ask me

Need any help from me ? Feel free to ask !

Add Gemini AI Model

Hi there!

I would be happy if someone helped me by adding the Gemini AI model code. All you need to do is create a new file called src/ai_models/GeminiAI.py and write the code in it. If you have any questions or need any further assistance, just let me know and I'll be happy to help in any way I can. Have a great day!

Need to add Google Sign-In

We need to add Google Sign-In in this app with permission of the following scopes through a Google verified app :

  1. 'openid',
  2. 'https://www.googleapis.com/auth/contacts',
  3. 'https://www.googleapis.com/auth/gmail.modify',
  4. 'https://www.googleapis.com/auth/calendar',
  5. 'https://www.googleapis.com/auth/tasks',
  6. 'https://www.googleapis.com/auth/drive'

Still, now, this application relies on secret token files within this scope. However, creating secret tokens poses challenges for users without technical expertise. The prompt implementation of this feature is crucial for the project’s advancement.

Knock me if you need any help from my side

Need to add a Document Upload Button

We require the addition of a button for uploading documents, specifically PDF files, inside the input box. A sample image is shown below for reference :
Example Screenshot
(Image is only for understanding purpose. Please note that the button is for PDF files and not images)

Please let me know if you need any assistance from my end.

Add auto scroll to top in App Interface

The app interface does not scroll automatically when either the AI or the user provides a response. Consequently, it becomes challenging to determine whether the AI has given any response (I have to scroll manually for now).

So, we need to implement a feature that automatically scrolls the interface to the top whenever the user makes a request or the AI provides a response. This way, the most recent content becomes visible to the user.

Directory of Javascript file of App Interface:

UI/web/script.js

Issue.Video.mp4

Add Sign In button

In the header section remove the user icon and add a Sign In button instead. You don't have to write any function for the button.

Add Light Theme

Currently, this application's Interface is only available in Dark Theme, but now we need to add a Light Theme also, with a switch for seamlessly shifting between two themes.

Add Sidebar

Need to add a sidebar on the left side with buttons for shifting pages

Buttons that need to be added are:

  • Profile
  • New Chat
  • About Us

Additionally, you can add any extra button in your mind. Feel free to modify the HTML and CSS structure to implement these changes. If you need any help from my side, knock me.

smoother sidebar

smoother sidebar/menu that does not interrupts the logo and that has UI appealing background.

Redefine Light Theme

Change the Colour tone of the light theme with a more beautiful and modern-looking (glass effect) colour combination.

Add animation while waiting for AI response

Need to add animation in the chatbox of the app's interface while waiting for AI response(after the user asks any question). This will significantly improve user experience!

Knock me if you need any help from my side

Add Calendar UI

For showing the user's upcoming event or due task we need a simple & minimalist calendar UI design. Something like :
calendar UI sample design
(Please note this image is only for understanding purpose)

For this requirement you create a folder UI/calender and place Html, CSS, Js file. Make it responsive and use appropriate function to show any give event on calendar.

No need to take care of rest of the project. Create it independent of rest of the project.

If you have any doubt regarding this, comment below.l, I will answer you.

Add email compose box

Need to add a modern-looking email compose box

You have to create new files as UI/email-composer.html, UI/css/email-composer.css and UI/script/email-composer.js (optional). Please ensure it has an input box for the recipient email, subject, body, attachment button and send & create draft button.

You may take inspiration from well-known email services. But we are trying to make it look unique. If you need any help from me, please feel free to knock me.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.