All Projects → DanWin → Le Chat Php

DanWin / Le Chat Php

Licence: gpl-3.0
A PHP Chat based on LE CHAT

Projects that are alternatives of or similar to Le Chat Php

Stream Chat Android
Stream Chat official Android SDK. The tutorial covers how to build your own chat experience using either Java or Kotlin.
Stars: ✭ 165 (+73.68%)
Mutual labels:  hacktoberfest, chat
Hosting
This is a setup for a Tor based shared web hosting server
Stars: ✭ 254 (+167.37%)
Mutual labels:  hacktoberfest, tor
Discordchatexporter
Exports Discord chat logs to a file
Stars: ✭ 3,198 (+3266.32%)
Mutual labels:  hacktoberfest, chat
Lax
IRC client built with Electron & React
Stars: ✭ 95 (+0%)
Mutual labels:  hacktoberfest, chat
Awesome Privacy
💡Limiting personal data leaks on the internet
Stars: ✭ 488 (+413.68%)
Mutual labels:  hacktoberfest, tor
Emberclear
Encrypted Chat. No History. No Logs.
Stars: ✭ 157 (+65.26%)
Mutual labels:  hacktoberfest, chat
Errbot
Errbot is a chatbot, a daemon that connects to your favorite chat service and bring your tools and some fun into the conversation.
Stars: ✭ 2,605 (+2642.11%)
Mutual labels:  hacktoberfest, chat
Hiya Hiya Hiya
Whatsapp Clone base on Firebase Cloud Messaging
Stars: ✭ 139 (+46.32%)
Mutual labels:  hacktoberfest, chat
Thelounge
💬 ‎ Modern, responsive, cross-platform, self-hosted web IRC client
Stars: ✭ 4,618 (+4761.05%)
Mutual labels:  hacktoberfest, chat
Quaternion
A Qt5-based IM client for Matrix
Stars: ✭ 438 (+361.05%)
Mutual labels:  hacktoberfest, chat
Tor Socks Proxy
🐳 Tiny Docker(🤏 10MB) image as 🧅 Tor SOCKS5 proxy 🛡
Stars: ✭ 218 (+129.47%)
Mutual labels:  hacktoberfest, tor
Rocket.chat.reactnative
Rocket.Chat mobile clients
Stars: ✭ 1,064 (+1020%)
Mutual labels:  hacktoberfest, chat
Groupbutler
This bot can help you in managing your group with rules, anti-flood, description, custom triggers, and much more!
Stars: ✭ 399 (+320%)
Mutual labels:  hacktoberfest, chat
Rocket.chat
The communications platform that puts data protection first.
Stars: ✭ 31,251 (+32795.79%)
Mutual labels:  hacktoberfest, chat
Rocket.chat.electron
Official OSX, Windows, and Linux Desktop Clients for Rocket.Chat
Stars: ✭ 1,108 (+1066.32%)
Mutual labels:  hacktoberfest, chat
Ascii racer
A racing game that runs in the terminal
Stars: ✭ 95 (+0%)
Mutual labels:  hacktoberfest
Generator Ngx Rocket
🚀 Extensible Angular 11+ enterprise-grade project generator
Stars: ✭ 1,329 (+1298.95%)
Mutual labels:  hacktoberfest
Quasar Apexcharts
📊 📈 📉 Project using Quasar framework and ApexCharts.
Stars: ✭ 94 (-1.05%)
Mutual labels:  hacktoberfest
Sign Android Release
A GitHub action to sign an APK or AAB
Stars: ✭ 93 (-2.11%)
Mutual labels:  hacktoberfest
Cloudcmd
✨☁️📁✨ Cloud Commander file manager for the web with console and editor.
Stars: ✭ 1,332 (+1302.11%)
Mutual labels:  hacktoberfest

General Information:

This is a PHP Chat based on LE CHAT v.1.14. An up-to-date copy of this script can be downloaded at https://github.com/DanWin/le-chat-php The original perl LE CHAT script by Lucky Eddie can be downloaded at his site or via a tor2web proxy like this one if you don't have Tor installed. If you add your own cool features or have a feature request, please tell me and I will add them, if I like them. Please also let me know about any bugs you find in the code, so I can fix them. Now a piece of information about the origin of the name "LE CHAT" copied from the original script: The "LE" in the name you can take as "Lucky Eddie", or since the script was meant to be lean and easy on server resources, as "Light Edition". It may even be the French word for "the" if you prefer. Translated from French to English, "le chat" means: "the cat".

Features:

  • Optimized for Tor
  • No JavaScript needed
  • Cookies supported, but not needed
  • Captcha
  • Multiple languages
  • Members and guests
  • Waiting room for guests
  • Moderatoral approval of new guests
  • Public, member, moderator and admin only chats
  • Private messages
  • Multi-line messages
  • Change font, colour and refresh rate in profile settings
  • Autologout when inactive for some time
  • Image embedding
  • Notes for admins and moderators
  • Clone the chat to have multiple tabs
  • Kick chatters
  • Clean selected messages
  • Clean the whole room
  • Plain text message filter
  • Regex message filter
  • And more

Installation Instructions:

You'll need to have php with pdo, pcre, mbstring and date extension, and a web-server installed. You will also need the pdo_sqlite, pdo_mysql or pdo_pgsql extension, depending on which database you choose. Optionally, you can install:

  • the gd extension for the captcha feature
  • the json extension for save/restore
  • a memcached server and the memcached extension and change the configuration to use memcached. This will lessen the database load a bit.
  • a MySQL or PostgreSQL server to use as an external database instead of SQLite
  • the libsodium extension (PHP >= 7.2) for encryption of messages and notes in the database When you have everything installed and use MySQL or PostgreSQL, you'll have to create a database and a user for the chat. Then edit the configuration at the bottom of the script to reflect the appropriate database settings and to modify the chat settings the way you like them. Then copy the script to your web-server directory and call the script in your browser with a parameter like this: http://(server)/(script-name).php?action=setup Now you can create the Superadmin account. With this account you can administer the chat and add new members and set the guest access. As soon as you are done with the setup, all necessary database tables will be created and the chat can be used. Note: If you updated the script, please visit http://(server)/(script-name).php?action=setup again, to make sure, that any database changes are applied and no errors occur.

Translating:

Copy lang_en.php and rename it to lang_YOUR_LANGCODE.php Then edit the file and translate the messages into your language and change $I to $T at the top. If you ever use a ' character, you have to escape it by using \' instead or the script will fail. When you are done, you have to edit the chat script, to include your translation. Simply add a line with 'lang_code' =>'Language name', to the $L array in the load_lang() function at the bottom, similar to what I did for the German translation. Please share your translation with me, so I can add it to the official version. To update your translation, you can copy each new string to your translation file or edit the automated lang_update.php script to reflect you language and run it.

Regex:

Yes, the chat supports regular expression filtering of messages. As regex tends to be difficult for most people, I decided to give it an extra section here. Regex is very powerful and can be used to filter messages that contain certain expressions and replace them with something else. It can be used e.g. to turn BB Code into html, so it is possible to use BB Code in the chat to format messages. To do this, use this Regex-Match \[(u|b)\](.*?)\[\/\1\] and this Regex-Replace <$1>$2</$1> and your text will be [b]bold[/b] or [u]underlined[/u]. You can also use smilies by using this Regex-Match (?-i::(cry|eek|lol|sad|smile|surprised|wink):) and this Regex-Replace <img src="/pictures/$1.gif" alt=":$1:"> And now if you enter 😄 an image with the smiley will be loaded from your server at /pictures/smile.gif. The following should be escaped by putting \ in front of it, if you are trying to match one of these characters / \ ^ . $ | ( ) [ ] * + ? { } ,. I used / as delimiter, so you will have to escape that, too. The only options I used is i to make the regex case insensitive. If you want to test your regex, before applying you can use this site and enter your Regex and Replacement there and click on preg_replace. If you never used regex before, check out this starting guide to begin with regular expressions.

Live demo:

If you want to see the script in action, you can visit my Tor hidden service or via my clearnet proxy if you don't have Tor installed. Considering this is a hidden service, you should be prepared for the worst case, as people tend to do illegal activities in the Tor network.

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].