1
0
mirror of https://github.com/hack-chat/main.git synced 2024-03-22 13:20:33 +08:00
a minimal, distraction-free chat application
Go to file
dependabot[bot] 943a3938b8
Bump degenerator and pm2
Bumps [degenerator](https://github.com/TooTallNate/node-degenerator) to 3.0.2 and updates ancestor dependency [pm2](https://github.com/Unitech/pm2). These dependencies need to be updated together.


Updates `degenerator` from 1.0.4 to 3.0.2
- [Release notes](https://github.com/TooTallNate/node-degenerator/releases)
- [Commits](https://github.com/TooTallNate/node-degenerator/compare/1.0.4...3.0.2)

Updates `pm2` from 4.2.3 to 5.2.0
- [Release notes](https://github.com/Unitech/pm2/releases)
- [Changelog](https://github.com/Unitech/pm2/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Unitech/pm2/compare/4.2.3...5.2.0)

---
updated-dependencies:
- dependency-name: degenerator
  dependency-type: indirect
- dependency-name: pm2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-26 15:49:35 +00:00
.github Create FUNDING.yml 2019-06-04 15:22:56 -05:00
client Update client.js 2022-04-30 02:22:26 -04:00
documentation Package updates 2019-12-01 20:24:19 -08:00
server Make executehooks public 2020-07-20 10:48:21 -05:00
.gitignore Flatten 2018-05-13 16:09:55 +05:30
CHANGELOG.md Protocol Updates and Bug Fixes 2020-03-12 13:28:20 -05:00
index.js streamline dev flow 2018-05-19 17:21:08 -07:00
LICENSE Add license as a file in the repo as GitHub's documentation 2018-05-11 19:33:08 +05:30
package-lock.json Bump degenerator and pm2 2022-09-26 15:49:35 +00:00
package.json Bump degenerator and pm2 2022-09-26 15:49:35 +00:00
pm2.config.js Protocol Updates and Bug Fixes 2020-03-12 13:28:20 -05:00
README.md Completed protocol decoupling 2018-06-03 11:08:35 -07:00

hack.chat

hack.chat is a minimal, distraction-free, accountless, logless, disappearing chat service which is easily deployable as your own service. The current client comes bundled with LaTeX rendering provided by KaTeX and code syntax highlighting provided by highlight.js.

A list of software developed for the hack.chat framework can be found at the 3rd party software list repository. This includes bots, clients, docker containers, etc.

This is a backwards compatible continuation of the work by Andrew Belt. The server code has been updated to ES6 along with several new features including new commands and hot-reload of the commands/protocol. There is also documentation and a changelog.

Installation

Prerequisites

Developer Installation

  1. Clone the repository: git clone https://github.com/hack-chat/main.git

  2. Change the directory: cd main

  3. Install the dependencies: npm install

  4. Launch: npm start

    If you change the websocketPort option during the config setup then these changes will need to be reflected on line 60 of client.js.

Live Deployment Installation

See DEPLOY.md

Contributing

  • If you are modifying commands, make sure it is backwards compatible with the legacy client and you update the documentation accordingly.
  • Use the template to learn how to create new commands.
  • Use two space indents.
  • Name files in camelCase.
  • Scripts that do not default to strict mode (such as modules) must use the 'use strict' directive.

Credits

License

This project is licensed under the WTFPL License.