/chat

A business server that includes user registration and login, deployed together with Open-IM-Server, can be used to set up a chat product.

Primary LanguageGoGNU General Public License v3.0GPL-3.0

chat

Modifying configuration items

Refer to config/config.yaml for configuration instructions

🧩 Awesome features

πŸ›« Quick start

Note: You can get started quickly with OpenIM Chat.

πŸ“¦ Installation

git clone https://github.com/OpenIMSDK/chat openim-chat && export openim-chat=$(pwd)/openim-chat && cd $openim-chat && make

Developing chat


πŸ›« Quick start

Note: You can get started quickly with chat.

πŸš€ Run

Note: We need to run the backend server first

make build

### πŸ“– Contributors get up to speed

Be good at using Makefile, it can ensure the quality of your project.

```bash
Usage: make <TARGETS> ...

Targets:
  all                          Build all the necessary targets. πŸ—οΈ
  build                        Build binaries by default. πŸ› οΈ
  go.build                     Build the binary file of the specified platform. πŸ‘¨β€πŸ’»
  build-multiarch              Build binaries for multiple platforms. 🌍
  tidy                         tidy go.mod πŸ“¦
  style                        Code style -> fmt,vet,lint 🎨
  fmt                          Run go fmt against code. ✨
  vet                          Run go vet against code. πŸ”
  generate                     Run go generate against code and docs. βœ…
  lint                         Run go lint against code. πŸ”Ž
  test                         Run unit test βœ”οΈ
  cover                        Run unit test with coverage. πŸ§ͺ
  docker-build                 Build docker image with the manager. 🐳
  docker-push                  Push docker image with the manager. πŸ”
  docker-buildx-push           Push docker image with the manager using buildx. 🚒
  copyright-verify             Validate boilerplate headers for assign files. πŸ“„
  copyright-add                Add the boilerplate headers for all files. πŸ“
  swagger                      Generate swagger document. πŸ“š
  serve-swagger                Serve swagger spec and docs. 🌐
  clean                        Clean all builds. 🧹
  help                         Show this help info. ℹ️

Note: It's highly recommended that you run make all before committing your code. πŸš€

make all

Chat Start

./scripts/start_all.sh

Chat Detection

cd scripts
./check_all.sh

Chat Stop

cd scripts
./stop_all.sh

Contributing

Contributions to this project are welcome! Please see CONTRIBUTING.md for details.

Community Meetings

We want anyone to get involved in our community, we offer gifts and rewards, and we welcome you to join us every Thursday night.

We take notes of each biweekly meeting in GitHub discussions, and our minutes are written in Google Docs.

Who are using Open-IM-Server

The user case studies page includes the user list of the project. You can leave a πŸ“comment to let us know your use case.

avatar

🚨 License

chat is licensed under the Apache 2.0 license. See LICENSE for the full license text.