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

76 lines
3.4 KiB
Markdown
Raw Normal View History

2022-10-01 08:52:06 +02:00
<!--
N.B.: This README was automatically generated by https://github.com/YunoHost/apps/tree/master/tools/README-generator
It shall NOT be edited by hand.
-->
2020-07-18 21:00:46 +02:00
# Minchat for YunoHost
2015-04-06 17:46:57 +02:00
2022-10-01 08:52:06 +02:00
[![Integration level](https://dash.yunohost.org/integration/minchat.svg)](https://dash.yunohost.org/appci/app/minchat) ![Working status](https://ci-apps.yunohost.org/ci/badges/minchat.status.svg) ![Maintenance status](https://ci-apps.yunohost.org/ci/badges/minchat.maintain.svg)
2020-12-26 21:41:32 +01:00
[![Install Minchat with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=minchat)
2020-03-29 13:25:48 +02:00
2020-09-25 15:57:18 +02:00
*[Lire ce readme en français.](./README_fr.md)*
2022-10-01 08:52:06 +02:00
> *This package allows you to install Minchat quickly and simply on a YunoHost server.
2020-09-25 15:57:18 +02:00
If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/install) to learn how to install it.*
## Overview
2020-07-25 07:28:23 +02:00
2020-09-25 17:19:02 +02:00
Minchat is a free minimalist chat application. 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).
2015-04-06 17:46:57 +02:00
2022-10-01 08:52:06 +02:00
### Features
2015-04-06 17:46:57 +02:00
2020-09-25 17:19:02 +02:00
- Simple web chat: only requires a browser ; no XMPP application.
2015-04-11 00:53:40 +02:00
- 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
2022-10-01 18:09:18 +02:00
**Shipped version:** 1.0~ynh4
2022-10-01 08:52:06 +02:00
## Screenshots
![Screenshot of Minchat](./doc/screenshots/minchat_ynh_screenshot01.gif)
## Disclaimers / important information
### Setup
2020-09-25 17:19:02 +02:00
2015-05-20 23:52:34 +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` (if missing, copy it from `conf/sample/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
2015-04-12 16:17:03 +02:00
- `*:Public` = everybody can acccess the Public room
2015-04-12 15:37:30 +02:00
- `*:` = everybody can access the unnamed room
2015-04-11 00:42:20 +02:00
2022-10-01 08:52:06 +02:00
### Hints for users
2020-09-29 09:18:38 +02:00
- The URLs you send are linked or transformed to images when preceeded by a `!`
2020-09-25 17:19:02 +02:00
- 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.
2020-09-25 15:57:18 +02:00
2022-10-01 08:52:06 +02:00
## Documentation and resources
2020-09-25 15:57:18 +02:00
2022-10-01 08:52:06 +02:00
* Official app website: <https://github.com/wojtek77/chat>
* Upstream app code repository: <https://github.com/wojtek77/chat>
* YunoHost documentation for this app: <https://yunohost.org/app_minchat>
* Report a bug: <https://github.com/YunoHost-Apps/minchat_ynh/issues>
2020-09-25 15:57:18 +02:00
## Developer info
2020-09-25 17:19:02 +02:00
Please send your pull request to the [testing branch](https://github.com/YunoHost-Apps/minchat_ynh/tree/testing).
2020-09-25 15:57:18 +02:00
To try the testing branch, please proceed like that.
2022-10-01 08:52:06 +02:00
``` bash
2020-09-25 17:19:02 +02:00
sudo yunohost app install https://github.com/YunoHost-Apps/minchat_ynh/tree/testing --debug
2020-09-25 15:57:18 +02:00
or
2020-09-25 17:19:02 +02:00
sudo yunohost app upgrade minchat -u https://github.com/YunoHost-Apps/minchat_ynh/tree/testing --debug
2020-09-25 15:57:18 +02:00
```
2022-10-01 08:52:06 +02:00
**More info regarding app packaging:** <https://yunohost.org/packaging_apps>