Skip to content
This repository has been archived by the owner on Feb 6, 2025. It is now read-only.
/ chat Public archive

terminal chat application for use on ssh server

License

Notifications You must be signed in to change notification settings

kiwipy/chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

90 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Terminal Instant Messanger

Important

This project will not recieve any further updates.

Let users on ssh server chat with each other! 😃

Screenshot

Make it work

Install with sudo ./install.sh and then run sudo stim-setup --init to setup the application.
Default location is /srv/stim and the default chatroom is "default".

Note

🟦 Only private messages are sent to offline users.
🟦 Ability to change chatrooms (setup beforehand with sudo stim-setup --add).
🟦 The WORDLIST file created can be populated with "forbidden" words separated with spaces.

Tip

🟩 Ban user by changing owner of corresponding /srv/stim/default/username file to root.
🟩 Send message to everyone as admin with sudo stim --admin <ROOM> <"MESSAGE">.

Server signup feature

Warning

This is most definitely a security risk!
Only use this on a virtual machine on your local network!

Navigate to the server folder and run sudo ./setup.sh

HOW IT WORKS

  • This will create the user (signup), you'll have to set a password.
  • This user has a special bashrc file that automatically executes new_account.sh so people logging in with signup@ip can create their own account.
  • If the scipt is exited the session is logged out.
  • When a user logs in, STIM is automatically started and if exited the session logs out.
  • The IP is logged when account was created sucessfully and blocked for further signups.

Usage

Run stim and press the following keys to...

w - start typing a message
u - list all users (online users show up in green)
l - list available chatrooms
c - change chatroom
r - resend message if wrong nickname was entered
e - list emojis
h - for help
q - quit

All messages are sent to every user unless the message starts with @username

Classic MSN emoji set

Almost all the original* MSN/ICQ emojis! Image

*Not the original design only the selection.
Provided by GNOME Characters Gnome Characters App Copyright 2014-2018 Daiki Ueno

Limitations

Only shorter messages work, return key = send

About

terminal chat application for use on ssh server

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages