2018-01-25 02:18:10 -05:00
< h1 align = "center" >
< img
width="300"
alt="The Lounge"
2018-10-29 12:47:52 +02:00
src="https://raw.githubusercontent.com/thelounge/thelounge/master/client/img/logo-vertical-transparent-bg.svg?sanitize=true">
2018-01-25 02:18:10 -05:00
< / 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 >
2021-11-22 22:51:07 -08:00
•
< a href = "https://github.com/thelounge/thelounge-docker" > Docker< / a >
2018-01-25 02:18:10 -05:00
< / strong >
< / p >
< p align = "center" >
2018-02-20 23:54:28 -05:00
< a href = "https://demo.thelounge.chat/" > < img
2021-05-23 16:40:08 +02:00
alt="#thelounge IRC channel on Libera.Chat"
src="https://img.shields.io/badge/Libera.Chat-%23thelounge-415364.svg?colorA=ff9e18">< / a >
2018-02-20 23:54:28 -05:00
< a href = "https://yarn.pm/thelounge" > < img
alt="npm version"
2019-10-23 22:51:50 -04:00
src="https://img.shields.io/npm/v/thelounge.svg?colorA=333a41& maxAge=3600">< / a >
2019-08-14 11:43:25 +03:00
< a href = "https://github.com/thelounge/thelounge/actions" > < img
alt="Build Status"
src="https://github.com/thelounge/thelounge/workflows/Build/badge.svg">< / a >
2018-01-25 02:18:10 -05:00
< / p >
< p align = "center" >
2018-11-04 17:22:04 -05:00
< img src = "https://raw.githubusercontent.com/thelounge/thelounge.github.io/master/img/thelounge-screenshot.png" width = "550" >
2018-01-25 02:18:10 -05:00
< / p >
2016-10-16 10:11:52 +03:00
2017-08-16 22:56:38 +03:00
## Overview
2019-07-17 08:45:34 +01:00
- **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.
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
2019-09-04 21:44:20 +03:00
The Lounge requires latest [Node.js ](https://nodejs.org/ ) LTS version or more recent.
2022-06-18 16:25:21 -08:00
The [Yarn package manager ](https://yarnpkg.com/ ) is also recommended.
2018-04-22 21:32:01 +03:00
If you want to install with npm, `--unsafe-perm` is required for a correct install.
2016-04-26 13:51:11 +03:00
2019-12-31 18:51:49 +02:00
### Running stable releases
2016-04-26 13:51:11 +03:00
2019-12-31 18:51:49 +02:00
Please refer to the [install and upgrade documentation on our website ](https://thelounge.chat/docs/install-and-upgrade ) for all available installation methods.
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-07-05 23:57:13 +03:00
- Read the [Contributing instructions ](https://github.com/thelounge/thelounge/blob/master/.github/CONTRIBUTING.md#contributing )
2022-02-09 02:52:07 +01:00
- Run `yarn test` to execute linters and the test suite
- Run `yarn format:prettier` if linting fails
2022-06-18 16:25:21 -08:00
- Run `yarn build:client` if you change or add anything in `client/js` or `client/components`
- The built files will be output to `public/` by webpack
- Run `yarn build:server` if you change anything in `server/`
- The built files will be output to `dist/` by tsc
2019-11-07 20:19:54 +00:00
- `yarn dev` can be used to start The Lounge with hot module reloading
2024-01-27 16:51:14 +01:00
To ensure that you don't commit files that fail the linting, you can install a pre-commit git hook.
Execute `yarn githooks-install` to do so.