TorTerminalChat is an open-source, web-based chat application that provides a unique and engaging chat experience with a terminal-like interface. What sets TorTerminalChat apart is that it was entirely developed using advanced AI language models, specifically Claude and GPT-4, without any human coding involved. That's right, from the backend to the frontend, every line of code was generated by these cutting-edge AI assistants.
TorTerminalChat showcases the power and potential of AI in software development. By leveraging the capabilities of Claude and GPT-4, the entire application was built from scratch without the need for human programmers. This demonstrates the incredible abilities of these AI models in understanding requirements, generating code, and creating functional applications.
- Real-time messaging: Users can send and receive messages instantly.
- Terminal-like interface: The chat interface resembles a command-line terminal, providing a nostalgic and immersive experience.
- Responsive design: The application is designed to work seamlessly on desktop and mobile devices.
- Easy deployment: TorTerminalChat can be easily deployed using Docker, making it simple to set up and run.
- Python: The backend of the application is built using Python, leveraging the Flask web framework.
- Flask-SocketIO: Used for enabling real-time communication between the server and the clients.
- HTML, CSS, JavaScript: The frontend of the application is built using these web technologies.
- Docker: Used for containerization and easy deployment of the application.
- AI: The entire development process was driven by Claude and GPT-4, showcasing the potential of advanced AI language models in software development.
To run TorTerminalChat, you have two options:
-
Make sure you have Docker installed on your machine.
-
Pull the Docker image from Docker Hub:
docker pull redbaron23/terminalchat
- Run the Docker container:
docker run -p 80:80 --name terminalchat-container redbaron23/terminalchat
- Open your web browser and visit
http://localhost
to access the TorTerminalChat application.
-
Make sure you have Docker installed on your machine.
-
Clone the repository:
git clone https://github.com/redbaron23/TorTerminalChat.git
- Navigate to the project directory:
cd TorTerminalChat
- Build the Docker image:
docker build -t terminalchat .
- Run the Docker container:
docker run -p 80:80 --name terminalchat-container terminalchat
- Open your web browser and visit
http://localhost
to access the TorTerminalChat application.
-
Optional: Prepare Hidden Service Configuration
If you want to use a custom hidden service configuration:
- Create a
hidden_service
folder undertor-config
. - Include the following files:
hostname
(the hostname of your hidden service)hs_ed25519_public_key
(optional; if not provided, it will be generated)hs_ed25519_secret_key
(optional; if not provided, it will be generated)
These files are necessary for configuring your hidden service on the Tor network.
- Create a
-
Build the Docker Image
Build the Docker image using the provided Dockerfile (
Dockerfile.tor
):docker build -t tor-chat -f Dockerfile.tor .
-
Run the Docker Container
Run the Docker container with the following command:
```bash
docker run -d \
--name my-tor-container \
-v $(pwd)/tor-config/hidden_service:/hidden_service_volume \
-p 80:80 \
tor-chat
```
- --name my-tor-container: Assigns the name my-tor-container to the Docker container.
- -v $(pwd)/tor-config/hidden_service:/hidden_service_volume: Mounts the tor-config/hidden_service directory on your host to /hidden_service_volume inside the container, allowing the container to use the specified hidden service configuration.
- -p 80:80: Maps port 80 on the host to port 80 inside the container, enabling access to your application over HTTP.
- tor-chat: Specifies the name of the Docker image to run.
TorTerminalChat is available on Docker Hub, making it easy to pull and run the application using Docker.
To pull the Docker image from Docker Hub, run the following command:
docker pull redbaron23/terminalchat
To run the Docker container from Docker Hub, use the following command:
docker run -p 80:80 --name terminalchat-container redbaron23/terminalchat
Or if you prefer to use the tor network version
docker run -p 80:80 --name terminalchat-container redbaron23/terminalchat-tor
This will pull the TorTerminalChat image from Docker Hub and start the container, making the application accessible at http://localhost
.
Contributions to TorTerminalChat are welcome! If you find any bugs, have feature requests, or want to contribute improvements, please open an issue or submit a pull request on the GitHub repository.
When contributing, please follow the existing code style and guidelines. Make sure to test your changes thoroughly before submitting a pull request.
TorTerminalChat is open-source software licensed under the MIT License. You are free to use, modify, and distribute the code as per the terms of the license.
TorTerminalChat was inspired by the concept of command-line interfaces and the desire to create a unique chat experience. Special thanks to the open-source community for their valuable contributions and the developers of the libraries and frameworks used in this project. And a huge thanks to the AI technology that made this project possible!
If you have any questions, suggestions, or feedback, please feel free to contact the project maintainer at [email protected].
Happy chatting with TorTerminalChat, the AI-powered chat application!