-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 增加应用 VoceChat * 更新 docker-compose.yml
- Loading branch information
Showing
4 changed files
with
109 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
# Web Client of VoceChat | ||
|
||
<center> | ||
<img src="https://voce.chat/apple-touch-icon.png" width="100" height="100"> | ||
</center> | ||
<p> | ||
<center> | ||
|
||
[![contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat)](https://github.com/privoce/vocechat-web/issues) | ||
![GitHub issues](https://img.shields.io/github/issues-raw/Privoce/vocechat-web) ![GitHub](https://img.shields.io/github/license/privoce/vocechat-web) ![GitHub top language](https://img.shields.io/github/languages/top/privoce/vocechat-web) ![Docker Pulls](https://img.shields.io/docker/pulls/privoce/vocechat-server) | ||
|
||
</center> | ||
|
||
- 🎉 Powered by React & Redux Toolkit | ||
- ✅ Typescript | ||
- 📦 PWA | ||
- 📢 Notification | ||
|
||
## Host your server! Or use our test server | ||
|
||
- Host your own Voce server ([docker image](https://hub.docker.com/r/privoce/vocechat-server/tags)): | ||
Run on x86_64 platform: | ||
|
||
```bash | ||
docker run -d --restart=always \ | ||
-p 3000:3000 \ | ||
--name vocechat-server \ | ||
privoce/vocechat-server:latest | ||
``` | ||
|
||
For more server hosting instructions, see our documentation: https://doc.voce.chat/ | ||
|
||
## Preview | ||
|
||
- official site: https://voce.chat | ||
- live demo: https://privoce.voce.chat/ | ||
- demo API Docs (Swagger): https://dev.voce.chat/api/swagger | ||
|
||
- design: https://www.figma.com/file/EHnNr53kNmDWgUT86It6CH/UI | ||
- text editor: https://plate.udecode.io/docs/installation | ||
- markdown editor: https://nhn.github.io/tui.editor/latest/ | ||
- redux: [@reduxjs/toolkit](https://redux-toolkit.js.org/introduction/getting-started) | ||
- indexDB wrapper: https://github.com/localForage/localForage | ||
|
||
## Local Development | ||
|
||
- `git clone https://github.com/Privoce/vocechat-web vocechat-web` | ||
|
||
- `cd vocechat-web & yarn install` | ||
|
||
- `yarn start` | ||
|
||
- Open `localhost:3009` | ||
|
||
### Tools Recommended | ||
|
||
- [VS Code](https://code.visualstudio.com/) Editor Recommended | ||
- VS Code plugins: | ||
- [dbaeumer.vscode-eslint](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint): ESLint | ||
- [esbenp.prettier-vscode](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode): Prettier | ||
- [dsznajder.es7-react-js-snippets](https://marketplace.visualstudio.com/items?itemName=dsznajder.es7-react-js-snippets): Extensions for React, React-Native and Redux in JS/TS with ES7+ syntax | ||
|
||
## License | ||
|
||
[GPL v3](https://github.com/Privoce/vocechat-web/blob/main/LICENSE) | ||
|
||
## Thanks all the contributors | ||
|
||
<a href="https://github.com/privoce/vocechat-web/graphs/contributors"> | ||
<img src="https://contrib.rocks/image?repo=privoce/vocechat-web" /> | ||
</a> | ||
|
||
Discuss collaboration: [email protected] or https://bridger.chat/han | ||
|
||
Telegram group: https://t.me/opencfdchannel VoceChat: https://voce.chat | ||
|
||
Telegram channel: https://t.me/vocechat_group VoceChat Channel: https://privoce.voce.chat |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"formFields": [ | ||
{ | ||
"type": "number", | ||
"labelZh": "端口", | ||
"labelEn": "Port", | ||
"required": true, | ||
"default": 3000, | ||
"rule": "paramPort", | ||
"envKey": "PANEL_APP_PORT_HTTP", | ||
"edit": true | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
version: '3' | ||
services: | ||
vocechat: | ||
image: privoce/vocechat-server:latest | ||
container_name: ${CONTAINER_NAME} | ||
restart: always | ||
networks: | ||
- 1panel-network | ||
volumes: | ||
- ./data:/app/data | ||
ports: | ||
- ${PANEL_APP_PORT_HTTP}:3000 | ||
labels: | ||
createdBy: "Apps" | ||
|
||
networks: | ||
1panel-network: | ||
external: true |