Skip to main content

A Python package for controlling your PC using Google Gemini AI.

Project description

Gemini Chat

Welcome to Gemini Chat, a powerful AI-driven chat application that allows users to interact with Google's Gemini AI. This project showcases various features, including screenshot capture and Python script execution on your local machine.

Features

1. Chat with Gemini AI

  • Users can type messages and receive intelligent responses generated by the Gemini AI model.

2. Screenshot Capture

  • Type screenshot in the chat to capture the current screen. The application will minimize the terminal window, take a screenshot, save it in a folder called screenshots, and then restore the terminal window.
  • Screenshots are saved with incremental naming, such as screenshot1.png, screenshot2.png, etc.

3. Run Python Scripts

  • When Gemini AI provides code in response to user queries, it can save the code in a temporarycodes folder as tempcode1.py, tempcode2.py, and so forth.
  • Users can choose to execute the saved Python script directly from the application, and the output will be displayed in the terminal.

4. API Key Management

  • On the first run, the application prompts the user to enter their Google Gemini API key through a Tkinter GUI window. The key is saved in an apikey.txt file for future use.
  • If apikey.txt already exists, the application will use the stored key without prompting the user again.

Installation

To install this project, follow these steps:

pip install geminicontrolpc

Usage

Run the Application: Launch the application by typing the following command in your terminal:

geminicontrolpc

Interact with the AI:

Start chatting by typing your questions or commands in the terminal. To take a screenshot, simply type:

screenshot

Run Python Code:

If Gemini AI provides code, you can execute it by responding to the prompt after the code is saved. Contributions Contributions are welcome! Please submit a pull request or create an issue for any feature requests or bug reports.

License This project has no liscence! I really dont even know what a lisence is haha.

Acknowledgments Thanks to Google for providing the Gemini AI model. Special thanks to the developers of the libraries used in this project: Pillow, PyGetWindow, and Tkinter. Contact For more information, feel free to reach out to me at allanleonardiii@gmail.com or trey6383@outlook.com. If you email trey6383@outlook.com theres a higher chance ill see it.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

geminicontrolpc-0.1.3.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

geminicontrolpc-0.1.3-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file geminicontrolpc-0.1.3.tar.gz.

File metadata

  • Download URL: geminicontrolpc-0.1.3.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for geminicontrolpc-0.1.3.tar.gz
Algorithm Hash digest
SHA256 3bb75e0a397b8e0832b07e72fd70be29d228c0d58f1ca27ab6c3eb3de1c8884c
MD5 495d28856102dbf2ff24dd24ff7ea3b1
BLAKE2b-256 1afe89a02b9ee2ca4d8e5c1a75d287375155872f896d2c306438989e8e596e9c

See more details on using hashes here.

File details

Details for the file geminicontrolpc-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for geminicontrolpc-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 607138f0782c8e9f21c46e9fe004250d7c9e0a2db4f392c615160de4ab4a97ca
MD5 08759cd71c8f470dc137f517c68bea7e
BLAKE2b-256 5bfaf46ea13dc6fb2382ba4059587e087b8aed948f9de0d1148fef576e5b47b2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page