Fiora是国人开发的一款在线聊天开源应用。基于node.js, mongodb, socket.io和react编写。遵守MIT开源协议。
主要功能特色:
好友, 群组, 私聊, 群聊
文本, 图片, 代码, url等多种类型消息
贴吧表情, 滑稽表情, 搜索表情包
桌面通知, 声音提醒, 消息语音朗读
自定义桌面背景, 主题颜色, 文本颜色
查看在线用户, @功能
管理员
关小黑屋
撤回消息
给用户打标签
重置用户密码
查看用户 ip
[repo owner=”yinxin630″ name=”fiora”]
-------------------------------------------------
A chat application. Developed with node.js, mongoDB, socket.io and react.
Fiora is an interesting open source chat application. It is developed based on node.js, react and socket.io technologies
- Richness: Fiora contains backend, frontend, Android and iOS apps
- Cross Platform: Fiora is developed with node.js. Supports Windows / Linux / macOS systems
- Open Source: Fiora follows the MIT open source license
Online Example: https://fiora.suisuijiang.com/
Documentation: https://yinxin630.github.io/fiora/
Other Client
Vscode Extension: https://github.com/moonrailgun/fiora-for-vscode
Features
- Register an account and log in, it can save your data for a long time
- Join an existing group or create your own group to communicate with everyone
- Chat privately with anyone and add them as friends
- Multiple message types, including text / emoticons / pictures / codes / files / commands, you can also search for emoticons
- Push notification when you receive a new message, you can customize the notification ringtone, and it can also read the message out
- Choose the theme you like, and you can set it as any wallpaper and theme color you like
- Set up an administrator to manage users
Install
from
https://github.com/yinxin630/fiora
-------------------------------------------
Install
Environmental Preparation
To run Fiora, you need Node.js(recommend v14 LTS version), MongoDB and redis
- Install Node.js
- Official website https://nodejs.org/en/download/
- It is recommended to use nvm to install Node.js
- Install nvm https://github.com/nvm-sh/nvm#install--update-script
- Install Node.js via nvm https://github.com/nvm-sh/nvm#usage
- Install MongoDB
- Official website https://docs.mongodb.com/manual/installation/#install-mongodb
- Install redis
- Official website https://docs.mongodb.com/manual/installation/#install-mongodb
Recommended to running on Linux or MacOS systems
How to run
- Clone the project
git clone https://github.com/yinxin630/fiora -b master
- Ensure you have install yarn before, if not please run
npm install -g yarn
- Install project dependencies
yarn install
- Build client
yarn build:web
- Config JwtSecret
echo "JwtSecret=<string>" > .env2
. Change<string>
to a secret text - Start the server
yarn start
- Open
http://[ip]:[port]
(such ashttp://127.0.0.1:9200
) in browser
Run in the background
Using yarn start
to run the server will stop running after disconnecting the ssh connection, it is recommended to use pm2 to run:
Run With Develop Mode
- Start the server
yarn dev:server
- Start the client
yarn dev:web
- Open
http://localhost:8080
in browser
from
https://yinxin630.github.io/fiora/docs/install