Home
Softono

AutoChatgpt

Open source MIT Python
13
Stars
3
Forks
0
Issues
1
Watchers
1 year
Last Commit

 About AutoChatgpt

Your AI assistant on autopilot - A powerful automation framework for ChatGPT that simulates human-like interaction patterns. No API required!

Platforms

Web Self-hosted

Languages

Python

Links

Need Help Installing AutoChatgpt?

We provide expert installation service for this software. Our team will install, configure, and secure AutoChatgpt on your server. plans start at just $30.

AutoChatgpt

View on GitHub

AutoChatgpt

License Python Automation Stars

A Python framework for automating ChatGPT interactions with human-like behavior simulation. No API required!

Key Features

  • Browser Automation: Automated ChatGPT interactions through web interface
  • Human-Like Typing: Configurable typing speeds and patterns
  • Message Handling: Send messages and parse responses
  • Customizable Behavior: Adjust typing speed, pauses, and error rates
  • Response Parsing: Extract and format conversation content

Installation

git clone https://github.com/vibheksoni/AutoChatgpt.git
cd AutoChatgpt

# Install dependencies
pip install -r requirements.txt

Quick Start

from gpt import ChatGPTClient

# Initialize the client
client = ChatGPTClient()

# Send a message with human-like typing
client.send_message("What is Python?")

# Get the conversation history
messages = client.get_messages()
for msg in messages:
    print(f"{msg.role}: {msg.content}")

Features

Human-Like Typing Simulation

client.send_message(
    "Hello, how are you?",
    typing_speed=(0.05, 0.15),    # Typing speed variation
    word_pause=(0.2, 0.5),        # Natural pauses between words
    mistake_chance=0.05,          # Occasional typos
    human_correct=True            # Natural correction behavior
)

Configurable Logging

import logging

# Debug mode with custom log file
client = ChatGPTClient(
    log_level=logging.DEBUG,
    log_file="chatgpt_debug.log"
)

# Disable logging
client = ChatGPTClient(log_level=None)

Interactive Conversations

# From examples/conversation_loop.py
client = ChatGPTClient()
while True:
    user_input = input("You: ")
    if user_input.lower() == 'quit':
        break
    client.send_message(user_input)

Examples

The examples directory contains automation scenarios:

  • basic_chat.py: Simple automated interactions
  • custom_typing.py: Advanced human-like behavior
  • conversation_loop.py: Continuous chat automation
  • code_generation.py: Automated code generation

Error Handling

The framework includes comprehensive error handling for:

  • Network issues
  • Authentication challenges
  • Message parsing errors
  • Session management
  • Response timeouts

Contributing

Contributions are what make the open source community amazing! Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

Show Your Support

If you find this project useful, please consider giving it a star! It helps others discover this tool and motivates continued development.

GitHub Star

License

Distributed under the MIT License. See LICENSE for more information.

Author

Vibhek Soni - Backend Developer & Security Engineer

Need Development Work?

If you need custom development, security consulting, or have a project in mind, feel free to reach out through my contact page: vibhek.com/contact

Support This Project

If you like this project, please consider:

  • Starring the repository
  • Following me on GitHub
  • Forking the project

Acknowledgments

  • Thanks to all contributors who help improve this project
  • Special thanks to the open-source community
  • Inspired by the need for human-like ChatGPT automation

Made with ❤️ by Vibhek Soni