/network-gpt

A ChatGPT API powered tool for chatting with network commands via a web-based terminal interface.

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

Network GPT

Run network commands in a web terminal-inspired interface powered by ChatGPT API.

This repository contains a custom ChatGPT application that performs network commands on your own machine.

NetworkGPT screen

Use spoken language to run Nmap or other network tools and chat with the results.

Nmap output

Introduction

Network GPT offers a chat-based network management tool leveraging ChatGPT API for intuitive command execution and interaction. It aims to simplify network tasks like scanning, packet capture, and IP management through conversational input and output.

Features

  • Network Scanning: Automated tools for scanning network devices and services.
  • Packet Capture: Real-time packet analysis for network troubleshooting.
  • User Interface: Intuitive frontend in a web terminal-inspired chat for interacting with the network tools.

Prerequisites

  • Docker Compose

Setup

  1. Ensure Docker and Docker Compose are installed on your system.
docker-compose --version
  1. Clone the repository and navigate to the root directory.
git clone https://github.com/k4l1sh/network-gpt.git
cd network-gpt
  1. Get your OpenAI API key and put it in the docker-compose.yml file.
environment:
    - OPENAI_API_KEY=put_your_openai_api_key_here
  1. Run docker-compose to build and start the containers.
docker-compose up
  1. Now access Network GPT that is configured to be accessible in http://localhost.

Contributing

Contributions to Network GPT are welcome. Follow the standard fork-branch-PR workflow for submitting contributions.

Built With

NGINX, FastAPI, React, TailwindCSS, Docker, Nmap, Scapy and ChatGPT API