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

37 lines
2.1 KiB
Markdown
Raw Normal View History

2015-04-06 17:46:57 +02:00
# 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
2015-04-11 00:53:40 +02:00
- Simple web chat: only requires a browser ; no XMPP application
- No need for users to register. Just need the web address. But optional authorisation control.
2015-04-11 22:30:36 +02:00
- On connection, the page is fed with the messages of the day
2015-04-11 00:53:40 +02:00
- Args are in the URL as *get* arguments, so that you can share the URL or make it a favorite to avoid filling a form.
2015-04-07 00:21:58 +02:00
Example : `https://yourdomain.org/minchat/?room=Living&name=John`
2015-04-11 00:42:20 +02:00
- Optionaly multi room
2015-04-06 17:46:57 +02:00
## Installation
2015-04-12 10:47:53 +02:00
#### On Yunohost
2015-04-06 17:46:57 +02:00
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`
2015-04-12 10:47:53 +02:00
#### Otherwise
2015-04-06 19:50:59 +02:00
Download, unzip and just copy the content of the `sources` folder to any folder of your web site.
2015-04-11 00:42:20 +02:00
## Setup
2015-04-11 00:53:40 +02:00
The setup is optional. If you leave it as is, there is a single unnamed room, opened to all users. If you want to customize the access control, edit the file `conf/setup.ini`. The interesting parameter is `auth` that indicates which user is authorized to which room.
2015-04-11 00:42:20 +02:00
2015-04-12 15:35:06 +02:00
In this example `auth = John:Game,John:Family,Mary:Game,Tim:Family,admin:*,*:Public,*:`,
2015-04-12 15:39:30 +02:00
- `John:Game,John:Family` = John can access the Game room, the Family room
- `Mary:Game` = Mary can access the Game room
- `Tim:Family` = Tim can access the Family room
2015-04-12 15:37:30 +02:00
- `admin:*` = admin can access all rooms
- `*:Public` = everybody can only acccess the Public room
- `*:` = everybody can access the unnamed room
2015-04-11 00:42:20 +02:00
2015-04-06 18:23:33 +02:00
## Screen shot
2015-04-12 10:47:53 +02:00
![screenshot](https://raw.githubusercontent.com/chtixof/databank/master/minchat_ynh/minchat_ynh_screenshot01.gif)
## Hints for users
- The URLs you send are linked or transformed to images when preceeding by a !
- If multiple rooms are allowed by the administrator in the setup.ini, you can have several tabs opened to different rooms in the same browser