Skip to content

strukturart/flop

Repository files navigation

flop

badge-release badge-bhackers badge-downloads

Is a WebRTC chat client for KaiOS, built with a local-first approach — your data stays on your device by default. Currently, you can exchange text messages, pictures, and your location with others. You can create new chats and join existing ones, all without relying on a central server.

Features

  • join chat
  • share location
  • share live location
  • share image
  • audio message image-4

yes, but

In order to establish a connection between 2 peers, you have to know the id of the peers. To do this, I use the API: mozActivity / webActivity, which enables the exchange via a URL (sharing by SMS or EMAIL).

How to install

Test Version

https://flop.chat/

Build your own

Installing the dependencies
npm -i

Build KaiOS 3 app
npm run build

If you want to create a browser version
npm run web

known problems

In certain cases a connection between two peers cannot be established. The solution should be a separate TURN server, which can be specified when establishing the connection. The connection data to the TURN server must be saved in an .env

TURN_APP_KEY=xx TURN_APP_NAME=xx

https://www.metered.ca/tools/openrelay/

LICENSES

  • peerJS MIT License
  • mithril
  • leaflet
  • dayJS

Donation

If you use the app often, please donate an amount to me.

Donate using Liberapay

About

KaiOS p2p messenger app

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published

Languages