mirror of
https://github.com/thelounge/thelounge
synced 2024-11-24 04:53:09 +00:00
9fb871c2f7
Closes #2129
118 lines
4.2 KiB
Markdown
118 lines
4.2 KiB
Markdown
<h1 align="center">
|
|
<img
|
|
width="300"
|
|
alt="The Lounge"
|
|
src="client/img/logo-vertical-transparent-bg.svg">
|
|
</h1>
|
|
|
|
<h3 align="center">
|
|
Modern web IRC client designed for self-hosting
|
|
</h3>
|
|
|
|
<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">
|
|
<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>
|
|
<br>
|
|
<a href="https://yarn.pm/thelounge"><img
|
|
alt="npm version"
|
|
src="https://img.shields.io/npm/v/thelounge.svg?style=flat-square&maxAge=3600"></a>
|
|
<a href="https://travis-ci.org/thelounge/thelounge"><img
|
|
alt="Travis CI Build Status"
|
|
src="https://img.shields.io/travis/thelounge/thelounge/master.svg?label=linux&style=flat-square&maxAge=60"></a>
|
|
<a href="https://ci.appveyor.com/project/astorije/lounge/branch/master"><img
|
|
alt="AppVeyor Build Status"
|
|
src="https://img.shields.io/appveyor/ci/astorije/lounge/master.svg?label=windows&style=flat-square&maxAge=60"></a>
|
|
<a href="https://david-dm.org/thelounge/thelounge"><img
|
|
alt="Dependencies Status"
|
|
src="https://img.shields.io/david/thelounge/thelounge.svg?style=flat-square&maxAge=3600"></a>
|
|
<a href="https://npm-stat.com/charts.html?package=thelounge&from=2016-02-12"><img
|
|
alt="Total downloads on npm"
|
|
src="https://img.shields.io/npm/dt/thelounge.svg?colorB=007dc7&style=flat-square&maxAge=3600"></a>
|
|
</p>
|
|
|
|
<p align="center">
|
|
<img src="https://user-images.githubusercontent.com/613331/44947980-3b2f2f00-ae1e-11e8-9bd9-9e1aff5cd7e1.png" width="550">
|
|
</p>
|
|
|
|
## Overview
|
|
|
|
* **Modern features brought to IRC.** Push notifications, link previews, new message markers, and more bring IRC to the 21st century.
|
|
* **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.
|
|
|
|
To learn more about configuration, usage and features of The Lounge, take a look at [the website](https://thelounge.chat).
|
|
|
|
The Lounge is the official and community-managed fork of [Shout](https://github.com/erming/shout), by [Mattias Erming](https://github.com/erming).
|
|
|
|
## Installation and usage
|
|
|
|
The Lounge requires [Node.js](https://nodejs.org/) v6 or more recent.
|
|
[Yarn package manager](https://yarnpkg.com/) is also recommended.
|
|
If you want to install with npm, `--unsafe-perm` is required for a correct install.
|
|
|
|
### Running stable releases using Yarn (recommended)
|
|
|
|
Run this in a terminal to install (or upgrade) the latest stable release from
|
|
[npm registry](https://www.npmjs.com/):
|
|
|
|
```sh
|
|
yarn global add thelounge
|
|
```
|
|
|
|
If you already have The Lounge installed globally, use the following command to update it:
|
|
|
|
```sh
|
|
yarn global upgrade thelounge
|
|
```
|
|
|
|
When installation is complete, run:
|
|
|
|
```sh
|
|
thelounge start
|
|
```
|
|
|
|
For more information, read the [documentation](https://thelounge.chat/docs/), [wiki](https://github.com/thelounge/thelounge/wiki), or run:
|
|
|
|
```sh
|
|
thelounge --help
|
|
```
|
|
|
|
### Running from source
|
|
|
|
The following commands install and run the development version of The Lounge:
|
|
|
|
```sh
|
|
git clone https://github.com/thelounge/thelounge.git
|
|
cd thelounge
|
|
yarn install
|
|
NODE_ENV=production yarn build
|
|
yarn start
|
|
```
|
|
|
|
When installed like this, `thelounge` executable is not created. Use `node index <command>` to run commands.
|
|
|
|
⚠️ 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.
|
|
|
|
## Development setup
|
|
|
|
Simply follow the instructions to run The Lounge from source above, on your own
|
|
fork.
|
|
|
|
Before submitting any change, make sure to:
|
|
|
|
- Read the [Contributing instructions](https://github.com/thelounge/thelounge/blob/master/.github/CONTRIBUTING.md#contributing)
|
|
- Run `npm test` to execute linters and test suite
|
|
- Run `npm run build` if you change or add anything in `client/js` or `client/views`
|