2018-01-25 02:18:10 -05:00
|
|
|
<h1 align="center">
|
|
|
|
<img
|
|
|
|
width="300"
|
|
|
|
alt="The Lounge"
|
|
|
|
src="client/img/logo-vertical-transparent-bg.svg">
|
|
|
|
</h1>
|
2014-10-01 21:10:14 +02:00
|
|
|
|
2018-01-25 02:18:10 -05:00
|
|
|
<h3 align="center">
|
|
|
|
Modern web IRC client designed for self-hosting
|
|
|
|
</h3>
|
2017-08-16 22:56:38 +03:00
|
|
|
|
2018-01-25 02:18:10 -05:00
|
|
|
<p align="center">
|
|
|
|
<strong>
|
|
|
|
<a href="https://thelounge.chat/">Website</a>
|
|
|
|
•
|
|
|
|
<a href="https://thelounge.chat/docs">Docs</a>
|
|
|
|
•
|
|
|
|
<a href="https://demo.thelounge.chat/">Demo</a>
|
|
|
|
</strong>
|
|
|
|
</p>
|
|
|
|
<p align="center">
|
2018-02-20 23:54:28 -05:00
|
|
|
<a href="https://demo.thelounge.chat/"><img
|
|
|
|
alt="#thelounge IRC channel on freenode"
|
|
|
|
src="https://img.shields.io/badge/freenode-%23thelounge-415364.svg?colorA=ff9e18&style=flat-square"></a>
|
2018-01-25 02:18:10 -05:00
|
|
|
<br>
|
2018-02-20 23:54:28 -05:00
|
|
|
<a href="https://yarn.pm/thelounge"><img
|
|
|
|
alt="npm version"
|
|
|
|
src="https://img.shields.io/npm/v/thelounge.svg?style=flat-square"></a>
|
2018-02-21 19:48:22 +02:00
|
|
|
<a href="https://travis-ci.org/thelounge/thelounge"><img
|
2018-01-25 02:18:10 -05:00
|
|
|
alt="Travis CI Build Status"
|
2018-02-21 19:48:22 +02:00
|
|
|
src="https://img.shields.io/travis/thelounge/thelounge/master.svg?label=linux&style=flat-square"></a>
|
2018-02-20 23:54:28 -05:00
|
|
|
<a href="https://ci.appveyor.com/project/astorije/lounge/branch/master"><img
|
2018-01-25 02:18:10 -05:00
|
|
|
alt="AppVeyor Build Status"
|
2018-02-20 23:54:28 -05:00
|
|
|
src="https://img.shields.io/appveyor/ci/astorije/lounge/master.svg?label=windows&style=flat-square"></a>
|
2018-02-21 19:48:22 +02:00
|
|
|
<a href="https://david-dm.org/thelounge/thelounge"><img
|
2018-01-25 02:18:10 -05:00
|
|
|
alt="Dependencies Status"
|
2018-02-21 19:48:22 +02:00
|
|
|
src="https://img.shields.io/david/thelounge/thelounge.svg?style=flat-square"></a>
|
2018-02-25 16:36:47 -05:00
|
|
|
<a href="https://npm-stat.com/charts.html?package=thelounge&from=2016-02-12"><img
|
2018-01-25 02:18:10 -05:00
|
|
|
alt="Total downloads on npm"
|
2018-02-20 23:54:28 -05:00
|
|
|
src="https://img.shields.io/npm/dt/thelounge.svg?colorB=007dc7&style=flat-square"></a>
|
2018-01-25 02:18:10 -05:00
|
|
|
</p>
|
|
|
|
|
|
|
|
<p align="center">
|
|
|
|
<img src="https://user-images.githubusercontent.com/8675906/28143204-53116e8c-6719-11e7-992b-d1ba442c6c37.png" width="550">
|
|
|
|
</p>
|
2016-10-16 10:11:52 +03:00
|
|
|
|
2017-08-16 22:56:38 +03:00
|
|
|
## Overview
|
|
|
|
|
2017-07-10 22:47:03 +03:00
|
|
|
* **Modern features brought to IRC.** Push notifications, link previews, new message markers, and more bring IRC to the 21st century.
|
2017-08-16 22:56:38 +03:00
|
|
|
* **Always connected.** Remains connected to IRC servers while you are offline.
|
|
|
|
* **Cross platform.** It doesn't matter what OS you use, it just works wherever Node.js runs.
|
|
|
|
* **Responsive interface.** The client works smoothly on every desktop, smartphone and tablet.
|
|
|
|
* **Synchronized experience.** Always resume where you left off no matter what device.
|
2016-02-10 04:30:05 +00:00
|
|
|
|
2018-01-14 02:15:08 -05:00
|
|
|
To learn more about configuration, usage and features of The Lounge, take a look at [the website](https://thelounge.chat).
|
2016-02-23 20:01:11 +01:00
|
|
|
|
2016-12-11 04:14:17 -05:00
|
|
|
The Lounge is the official and community-managed fork of [Shout](https://github.com/erming/shout), by [Mattias Erming](https://github.com/erming).
|
|
|
|
|
2016-09-20 00:06:54 -04:00
|
|
|
## Installation and usage
|
2014-07-21 01:14:36 +02:00
|
|
|
|
2018-02-21 00:57:05 -05:00
|
|
|
The Lounge requires [Node.js](https://nodejs.org/) v6 or more recent.
|
2018-04-22 21:32:01 +03:00
|
|
|
[Yarn package manager](https://yarnpkg.com/) is also recommended.
|
|
|
|
If you want to install with npm, `--unsafe-perm` is required for a correct install.
|
2016-04-26 13:51:11 +03:00
|
|
|
|
2018-01-19 12:51:06 +02:00
|
|
|
### Running stable releases using Yarn (recommended)
|
2016-04-26 13:51:11 +03:00
|
|
|
|
2016-09-20 00:06:54 -04:00
|
|
|
Run this in a terminal to install (or upgrade) the latest stable release from
|
2018-01-19 12:51:06 +02:00
|
|
|
[npm registry](https://www.npmjs.com/):
|
2014-07-21 01:14:36 +02:00
|
|
|
|
2016-09-20 00:06:54 -04:00
|
|
|
```sh
|
2018-01-19 12:51:06 +02:00
|
|
|
[sudo] yarn global add thelounge
|
|
|
|
```
|
|
|
|
|
|
|
|
If you already have The Lounge installed globally, use the following command to update it:
|
|
|
|
|
|
|
|
```sh
|
|
|
|
[sudo] yarn global upgrade thelounge
|
2016-09-20 00:06:54 -04:00
|
|
|
```
|
2014-07-21 01:14:36 +02:00
|
|
|
|
2016-09-20 00:06:54 -04:00
|
|
|
When installation is complete, run:
|
2014-08-18 18:53:17 -07:00
|
|
|
|
2016-09-20 00:06:54 -04:00
|
|
|
```sh
|
2017-11-12 15:49:04 -05:00
|
|
|
thelounge start
|
2014-08-17 17:40:28 +02:00
|
|
|
```
|
2016-09-20 00:06:54 -04:00
|
|
|
|
2018-02-21 19:48:22 +02:00
|
|
|
For more information, read the [documentation](https://thelounge.chat/docs/), [wiki](https://github.com/thelounge/thelounge/wiki), or run:
|
2016-09-20 00:06:54 -04:00
|
|
|
|
|
|
|
```sh
|
2017-11-12 15:49:04 -05:00
|
|
|
thelounge --help
|
2014-08-13 03:27:53 +02:00
|
|
|
```
|
2014-07-21 01:14:36 +02:00
|
|
|
|
2016-09-20 00:06:54 -04:00
|
|
|
### Running from source
|
2015-02-06 12:10:11 +01:00
|
|
|
|
2017-01-22 20:55:17 -08:00
|
|
|
The following commands install and run the development version of The Lounge:
|
2015-02-06 12:10:11 +01:00
|
|
|
|
2016-09-20 00:06:54 -04:00
|
|
|
```sh
|
2018-02-21 19:48:22 +02:00
|
|
|
git clone https://github.com/thelounge/thelounge.git
|
|
|
|
cd thelounge
|
2018-01-19 12:51:06 +02:00
|
|
|
yarn install
|
|
|
|
NODE_ENV=production yarn build
|
|
|
|
yarn start
|
2015-02-06 12:10:11 +01:00
|
|
|
```
|
|
|
|
|
2018-01-19 12:51:06 +02:00
|
|
|
When installed like this, `thelounge` executable is not created. Use `node index <command>` to run commands.
|
2017-01-22 20:55:17 -08:00
|
|
|
|
2017-01-07 18:29:56 -05:00
|
|
|
⚠️ While it is the most recent codebase, this is not production-ready! Run at
|
|
|
|
your own risk. It is also not recommended to run this as root.
|
2016-10-28 20:13:54 -04:00
|
|
|
|
2016-09-20 00:06:54 -04:00
|
|
|
## Development setup
|
|
|
|
|
|
|
|
Simply follow the instructions to run The Lounge from source above, on your own
|
|
|
|
fork.
|
|
|
|
|
|
|
|
Before submitting any change, make sure to:
|
|
|
|
|
2018-02-21 19:48:22 +02:00
|
|
|
- Read the [Contributing instructions](https://github.com/thelounge/thelounge/blob/master/CONTRIBUTING.md#contributing)
|
2016-09-20 00:06:54 -04:00
|
|
|
- Run `npm test` to execute linters and test suite
|
2017-07-10 10:05:47 -07:00
|
|
|
- Run `npm run build` if you change or add anything in `client/js` or `client/views`
|