All Projects → alexanderepstein → termchat

alexanderepstein / termchat

Licence: MIT license
Chat through the terminal with hack.chat

Programming Languages

python
139335 projects - #7 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to termchat

Bashsimplecurses
A simple curses library made in bash to draw terminal interfaces
Stars: ✭ 182 (+506.67%)
Mutual labels:  curses
hledger-iadd
A terminal UI as drop-in replacement for hledger add.
Stars: ✭ 61 (+103.33%)
Mutual labels:  curses
cpyvke
cpyvke is a variable explorer and a kernel manager written in Python 3 curses for iPython kernels (Python 2.x or 3.x)
Stars: ✭ 28 (-6.67%)
Mutual labels:  curses
Musikcube
a cross-platform, terminal-based music player, audio engine, metadata indexer, and server in c++
Stars: ✭ 2,663 (+8776.67%)
Mutual labels:  curses
Taizen
curses based mediawiki browser
Stars: ✭ 249 (+730%)
Mutual labels:  curses
nuber
terminal epub reader with inline images
Stars: ✭ 73 (+143.33%)
Mutual labels:  curses
Vifm
Vifm is a file manager with curses interface, which provides Vim-like environment for managing objects within file systems, extended with some useful ideas from mutt.
Stars: ✭ 1,822 (+5973.33%)
Mutual labels:  curses
pybart
Real time BART (Bay Area Rapid Transit) information in your terminal!
Stars: ✭ 17 (-43.33%)
Mutual labels:  curses
Zsh Navigation Tools
Curses-based tools for Zsh, e.g. multi-word history searcher
Stars: ✭ 249 (+730%)
Mutual labels:  curses
ncurses
Ncurses bindings for Crystal
Stars: ✭ 20 (-33.33%)
Mutual labels:  curses
Mitype
Typing speed test in terminal
Stars: ✭ 241 (+703.33%)
Mutual labels:  curses
Curses
Ruby binding for curses, ncurses, and PDCurses. Formerly part of the ruby standard library.
Stars: ✭ 245 (+716.67%)
Mutual labels:  curses
dopewars
Game simulating the life of a drug dealer in New York
Stars: ✭ 47 (+56.67%)
Mutual labels:  curses
Botany
command line virtual plant buddy
Stars: ✭ 192 (+540%)
Mutual labels:  curses
deltachat-cursed
[WIP] Cursed Delta, a lightweight Delta Chat client for the command line
Stars: ✭ 33 (+10%)
Mutual labels:  curses
Tuicss
Text-based user interface CSS library
Stars: ✭ 167 (+456.67%)
Mutual labels:  curses
git-tui
Collection of human friendly terminal interface for git.
Stars: ✭ 95 (+216.67%)
Mutual labels:  curses
cxxcurses
Header only ncurses wrapper
Stars: ✭ 24 (-20%)
Mutual labels:  curses
sshch
Ssh connection manager
Stars: ✭ 88 (+193.33%)
Mutual labels:  curses
lcurses
Lua bindings for Curses
Stars: ✭ 60 (+100%)
Mutual labels:  curses

termchat

Chat through the terminal with hack.chat

PythonVer PyPIplatform license

Usage

termchat_1.png

usage: termchat [-h] [-r ROOM] [-n NICK] [-v]

Chat through the terminal with hack.chat

optional arguments:
  -h, --help            show this help message and exit
  -r ROOM, --room ROOM  Choose the name of the chatroom to enter
  -n NICK, --nick NICK  Set the username for others to see
  -v, --version         Display the current version of tchat

Install

pip3 install termchat

What's Special

There are a few things that is awesome about this project and hack.chat in general the first is they are both open source!

  • Open source is love.

  • hack.chat already never holds onto these chats unlike other services such as Skype as soon as all parties leave the chat all chat history is never again obtainable

  • No one needs to sign up for an account, which is always a plus!

  • Can be used from the terminal, so no web browser is necessary!

  • By utilizing a client to interact with hack.chat we can add things like encryption (soon to come)

  • Python and the curses interface go together like two peas in a pod

Dependencies

  • Python 3
  • websocket-client

Todo

  • Add end to end encryption
  • Check for an active connection status before starting the application
  • Check if message went through and the ip hasn't been rate limited
  • If user has left add a message to the chat from System with this info

Special Thanks

Hack.chat

Without the hack.chat project by AndrewBelt deployed here this project would have been a lot more complicated as most of the heavy lifting is done by it.

Hackchat Chatbot Library

The Hchat.py file was largely based on this project by gkbrk which was modified so that it could be used without the need for a bot.

Interface

The interface in this project was largely based on this project by mathiasbc which was modified to integrate with the hackchat library rather than the slack client.

Check out these projects because without them this would not have been possible 🎉

Donate

If this project helped you in any way and you feel like supporting me

Donate Donate

BTC: 1PSVVs6EnhdRGhUFb6Dz6EGWKKyHe3xACe
ETH: 0x585c4e1aa22d9Cc92d1a6b3fAe0c4a5274b5a884
LTC: Lf3SDjkck7iqy5TGn3wqzNvf5LL97JNhGk

License

MIT License

Copyright (c) 2017 Alex Epstein

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].