thelounge/README.md

117 lines
4.1 KiB
Markdown
Raw Normal View History

<h1 align="center">
<img
width="300"
alt="The Lounge"
2018-10-29 11:47:52 +01:00
src="https://raw.githubusercontent.com/thelounge/thelounge/master/client/img/logo-vertical-transparent-bg.svg?sanitize=true">
</h1>
2014-10-01 21:10:14 +02:00
<h3 align="center">
Modern web IRC client designed for self-hosting
</h3>
2017-08-16 21:56:38 +02: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">
<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.com/thelounge/thelounge"><img
alt="Travis CI Build Status"
src="https://img.shields.io/travis/com/thelounge/thelounge/master.svg?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">
2018-11-04 23:22:04 +01:00
<img src="https://raw.githubusercontent.com/thelounge/thelounge.github.io/master/img/thelounge-screenshot.png" width="550">
</p>
2016-10-16 09:11:52 +02:00
2017-08-16 21:56:38 +02:00
## 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
2014-07-21 01:14:36 +02:00
The Lounge requires [Node.js](https://nodejs.org/) v8 or more recent.
2018-04-22 20:32:01 +02: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 12:51:11 +02:00
2018-01-19 11:51:06 +01:00
### Running stable releases using Yarn (recommended)
2016-04-26 12:51:11 +02:00
Run this in a terminal to install (or upgrade) the latest stable release from
2018-01-19 11:51:06 +01:00
[npm registry](https://www.npmjs.com/):
2014-07-21 01:14:36 +02:00
```sh
yarn global add thelounge
2018-01-19 11:51:06 +01:00
```
If you already have The Lounge installed globally, use the following command to update it:
```sh
yarn global upgrade thelounge
```
2014-07-21 01:14:36 +02:00
When installation is complete, run:
2014-08-19 03:53:17 +02:00
```sh
thelounge start
2014-08-17 17:40:28 +02:00
```
2018-11-21 17:51:04 +01:00
For more information, read the [usage documentation](https://thelounge.chat/docs/usage) or run:
```sh
thelounge --help
2014-08-13 03:27:53 +02:00
```
2014-07-21 01:14:36 +02:00
### 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
2018-01-19 11:51:06 +01:00
yarn install
NODE_ENV=production yarn build
yarn start
```
2018-01-19 11:51:06 +01:00
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:
2018-07-05 22:57:13 +02:00
- Read the [Contributing instructions](https://github.com/thelounge/thelounge/blob/master/.github/CONTRIBUTING.md#contributing)
2018-11-21 17:51:04 +01:00
- Run `yarn test` to execute linters and test suite
- Run `yarn build` if you change or add anything in `client/js` or `client/views`
- `yarn dev` can be used to start The Lounge and watch for any file changes in the client folder