Free Chat is a cross-platform socket chat application, which uses ezyfox-server and it's client SDKs
Official site: [https://youngmonkeys.org/freechat/]
- ReactJS
- Android Java
- Android Kotlin (developing)
- iOS swift (developing)
- Clone source code
- Move to
reactjs
folder - Run
npm install
- Run
npm start
Required environment:
- Android studio : Flamingo | 2022.2.1 Patch 2 May 24, 2023 [download - `https://developer.android.com/studio/archive?hl=en`]
- Android gradle plugin : 7.2.0
- Gradle version : 7.3.3
- Android sdk : 28
- Clone source code
- Run
git submodule update --init --recursive
to clone submodules - Import project to
Android studio
- Build and done
Required environment:
- Visual Studio Code
- Flutter : 3.22.2
- Important : Flutter uses Android studios gradle to generate apk, so all the requirements from ```Android Build``` above, must be installed.
Not tested with iOs build yet.
- Follow instruction for EzyFox Flutter Client SDK -
https://youngmonkeys.org/ezyfox-server/guides/ezyfox-flutter-client-sdk
- Place 3 files (chat.dart, socket_proxy.dart, main.dart) from flutter_client directory to your project
- File main.dart is register/login page you can ommit and navigate directly to chat.dart passing
username
andpassword
from your auth screen. - Build and done
- Clone source code
- Run
git submodule update --init --recursive
to clone submodules - Open project on
XCode
- Build and run
Required environment:
- Java JDK version : 11 [ ```OpenJDK11U-jdk_x64_windows_hotspot_11.0.23_9.msi```]
- Install mongodb (Tutorial)
- Create
freechat
db with collectionfreechat
in mongodb (Tutorial) - Create
root
user using mongo shell:
use freechat
db.createUser(
{
user:"root",
pwd:"123456",
roles:[ { role: "readWrite", db: "freechat" }]
}
)
Update
server/freechat-plugin/config/config.properties
file to use another password
- Clone source code
- Import
server
folder into an IDE (Eclipse, Intellij, Netbean, Visual Studio Code) - Server requires
OpenJDK11U-jdk_x64_windows_hotspot_11.0.23_9.msi
to run, otherwise it will refuse to work with database (it will discover db but won't read/write) - Run file FreechatStartup
The server opens a websocket at
ws://localhost:2208/ws
Apache License, Version 2.0