1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/minchat_ynh.git synced 2024-09-03 19:36:29 +02:00
minchat_ynh/README.md
2015-04-11 00:42:20 +02:00

33 lines
No EOL
1.7 KiB
Markdown

# minchat_ynh : minchat for Yunohost
minchat_ynh is a free minimalist chat application packaged for [Yunohost](https://yunohost.org).
It is based on [wojtek77/chat](https://github.com/wojtek77/chat), itself based on [Gabriel Nava's tutorial](http://code.tutsplus.com/tutorials/how-to-create-a-simple-web-based-chat-application--net-5931).
## Features
- No need for users to register. Just need the web address.
- On connection, the page is feeded with the 50 last messages of the day
- Args are in the URL as *get* arguments, so that you can share the URL or make it a favorite
Example : `https://yourdomain.org/minchat/?room=Living&name=John`
- Optionaly multi room
## Installation
### On Yunohost
Via the admin web console, type in: <https://github.com/chtixof/minchat_ynh>
Or on ssh : `sudo yunohost app install https://github.com/chtixof/minchat_ynh`
### Otherwise
Download, unzip and just copy the content of the `sources` folder to any folder of your web site.
## Setup
On the application folder of your site, edit the file `conf/setup.ini`. The interesting parameter is `auth` that indicates which user is authorized to which room.
In this example `auth = John:Game,Mary:Game,John:Family,Tim:Family,admin:,:Public`,
- John can access the Game room, the Family room and the Public room
- Mary can access the Game room and the Public room
- Tim can access the Family room and the Public room
- admin can access all rooms
- other users can only acccess the Public room
If `auth` is not set (default), there is a single unnamed room, opened to all users.
## Screen shot
![screenshot](https://raw.githubusercontent.com/chtixof/databank/master/minchat_ynh/minchat_ynh_screenshot01.gif)