Skip to content

GregClln9/Douchat

 
 

Repository files navigation

🛀 Douchat

A Flutter chat application avoiding Firebase and using socket-io. 🔌

❤️ Shoutout to vykes-mac

He made the base structure and UI of the app. A big thanks to him.

You can find him on Youtube : https://www.youtube.com/c/islandcoder876
You can find him on Github : https://github.com/vykes-mac


📱 Setting up the app

I. General

Download and install the Flutter SDK here.

Copy and paste the ".env.example" into the root project and rename the new file as ".env".
The two variables to add in this file are :

  • DOUCHAT_URI : The url of the Douchat server. It is written with the form : server.example.com
  • TENOR_API_KEY : The API key of the Tenor API. It is optional, but you can't search or send gifs without it. You can get one on the Tenor Website

II. Android

First, download the latest Bundletool.
You can optionally make an alias for bundletool to save time. (alias on linux, Set-Alias on Windows, ...).

Secondly, download Java (min version > 8).



Thirdly, Install the Android platform-tools to get the adb utility : platform-tools


Next, allow USB debugging on your Android device and plug it to your machine.

Get to the root of the project and run :

flutter pub get
flutter build appbundle
cd build/app/outputs/bundle/release
bundletool build-apks --bundle=./release.aab --output=douchat.apks --mode=universal
bundletool install-apks --apks=./douchat.apks --device-id=DEVICE_ID --adb=path/to/adb

The DEVICE_ID is the id of your android device. You can get it by running

adb devices

The path/to/adb is the path where adb is installed. It may depend based on the platform you are working on.


III. iOS

🚧 This part is not complete.

iOS version > 11.0 required.

I have not tested to build on iOS as I don't have any iPhone.

I have tested the application on an iPhone simulator and it works but there is still some functionalities that do not work or partially work, such as downloading videos or accessing photo library.

You may try to build the iOS application yourself, but there is no guarentee that it will work.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dart 90.0%
  • C++ 4.2%
  • CMake 3.4%
  • Swift 0.7%
  • HTML 0.5%
  • Ruby 0.5%
  • Other 0.7%