NanoChat - nano chat server and client

Related tags

Networking nanochat
Overview

NanoChat

This is a work in progress! c658913ef9214b44861555563150acd2(1)

NanoChat is an application for connecting with your friends using Python that uses ONLY default Python libraries. Clients connect to NanoChat servers, and can communicate. Anyone can set up and host a NanoChat server from a VPS or at home. Both applications are included.


Free and Open Source

Scroll down to learn how to install and set up the server <

Downloading and Connecting to Server

git clone https://github.com/0bliss/nanochat
cd nanochat
rm -r server
cd client

# Run client as superuser
sudo python3 nanochat.py

Then enter the server IP and port of the NanoChat Server

Setting up a NanoChat Server

The good thing about NanoChat, is it uses a basic socket network. You can edit server.conf and change the port to anything you want. If you are hosting the server at your home, you will need to Port Forward that same port on your home network. You can leave the host as 127.0.0.1 but if you are using a VPS you should use the public IP of the server. Some good VPS sites are: -AWS -Linode -DigitalOcean -WolfISP

git clone https://github.com/0bliss/nanochat
cd nanochat
rm -r client
cd server

# Run client as superuser
sudo python3 nanochat-server.py

The NanoChat server also comes with a SystemD Service installer file, if you are using the systemd init system on your server, then you can use this to automatic ally create a NanoChat server service.

The benefits of this are purely to run the server headlessly, without needing a shell/remote shell open to run it :)

cd nanochat/server
chmod +x service-installer.sh
sudo ./service-installer.sh

If you chose not to automatically start the service you cant start it with:

sudo systemctl start nanochat-server.service

Then to check status:

sudo systemctl status nanochat-server.service
You might also like...
A simple multi-threaded time server and client in python.

time-server-client A simple multi-threaded time server and client in Python. This uses the latest match/case command found in Python 3.10 so requires

Very simple FTP client, sync folder to FTP server, use python, opensource
Very simple FTP client, sync folder to FTP server, use python, opensource

ftp-sync-python Opensource, A way to safe your data, avoid lost data by Virus, Randsomware Some functions: Upload a folder automatically to FTP server

Simple client for the Sirah Matisse Commander TCP server.

Simple client for the Sirah Matisse Commander TCP server.

The OUCH Project - OUCH Server/Client

This software simulates OUCH Server/Client communication through a script which initialises a central server and another script which simulates clients connecting to the server.

Test - Python project for Collection Server and API Server

QProjectPython Collection Server 와 API Server 를 위한 Python 프로젝트 입니다. [FastAPI참고]

A python shell / chat bot for XMPP and cloud services

XMPP_Shell_Bot A python shell / chat bot for XMPP and cloud services, designed for penetration testers to bypass network filters. To better understand

A simple chat room using socket and threading for handle multiple connections.
A simple chat room using socket and threading for handle multiple connections.

• Socket Chat Room was a little project for socket study. It works with a server handling the incoming connections from the clients. Clients send encoded messages while waiting for others clients messages simultaneously. And the server receive all the messages and delivers to the other clients.

A p2p chat app for zephyr

A p2p chat app for zephyr

A Python Packages to make own chat room

Chathon A Python packages for make own chat room Install PyPI pip install chathon

Owner
Miss Bliss
I do code every now and then.
Miss Bliss
This is a Client-Server-System which can send audio from a microphone from the server to client and in the other direction.

Audio-Streaming-Python This is a Client-Server-System which can send audio from a microphone from the server to client and in the other direction. You

VFX / Videoeffects Creator 0 Jan 5, 2023
A TCP Chatroom built with python and TCP/IP sockets, consisting of a server and multiple clients which can connect with the server and chat with each other.

A TCP Chatroom built with python and TCP/IP sockets, consisting of a server and multiple clients which can connect with the server and chat with each other. It also provides an Admin role with features including kicking and baning of users.

null 3 May 22, 2022
A simple Encrypted IM chat software Server & client based on Python3.

SecretBox A simple Encrypted IM chat software Server & client based on Python3. Version 1.0 命令行版 安装步骤 Server 运行pip3 install -r requirements 安装依赖。 运行py

h3h3da 5 Oct 31, 2022
Client library for relay - a service for relaying server side messages to the client side browsers via websockets.

Client library for relay - a service for relaying server side messages to the client side browsers via websockets.

getme 1 Nov 10, 2021
league-connection is a python package to communicate to riot client and league client

league-connection is a python package to communicate to riot client and league client.

Sandbox 1 Sep 13, 2022
A simple DHCP server and client simulation with python

About The Project This is a simple DHCP server and client simulation. I implemented it for computer network course spring 2021 The client can request

shakiba 3 Feb 8, 2022
A Simplest TCP client and echo server

Простейшие TCP-клиент и эхо-сервер Цель работы Познакомиться с приемами работы с сетевыми сокетами в языке программирования Python. Задания для самост

Юля Нагубнева 1 Oct 25, 2021
API to establish connection between server and client

Socket-programming API to establish connection between server and client, socket.socket() creates a socket object that supports the context manager ty

Muziwandile Nkomo 1 Oct 30, 2021
Secure connection between tenhou Window client and server.

tenhou-secure The tenhou Windows client looks awesome. However, the traffic between the client and tenhou server is NOT encrypted, including your uniq

null 1 Nov 11, 2021
A server and client for passing data between computercraft computers/turtles across dimensions or even servers.

ccserver A server and client for passing data between computercraft computers/turtles across dimensions or even servers. pastebin get zUnE5N0v client

null 1 Jan 22, 2022