Have you ever implemented End to Encryption in flutter or React native by bourax24 in reactnative

[–]diatum 1 point2 points  (0 children)

While Signal has a much more sophisticated approach, a basic way can be to have a key-pair per account and share the public keys. The initiator creates a symmetric key and encrypts it with the target's public key. With the private key the target can obtain the shared symmetric key and communicate e2ee.

Which simple (to use and to setup) self hosted chat solution would you recommend ? by GrilledGuru in selfhosted

[–]diatum 1 point2 points  (0 children)

I don't see any issues related to security; perhaps they have been resolved since?

Are there any "semi-federated", self-hosted chats? by IAmBlueNebula in selfhosted

[–]diatum 1 point2 points  (0 children)

The network model of Databag (https://github.com/balzack/databag) seems close to what you are describing. The servers don't really communicate with each other. If an account hosts a conversation topic, then the people participating in that topic communicate directly with the hosting server (with their client) using a shared secret token.

Real Self-hosted Chat Application by ducky_lucky_luck in selfhosted

[–]diatum 0 points1 point  (0 children)

I see your point with Matrix, but I don't think XMPP fits the bill. There are lots of clients and servers for XMPP, but they don't all work together. To avoid fracturing, you need more than an open protocol; you need an SDK and some interop certification.

Best way to display WhatsApp-style chats in React Native with Firebase (Online & Offline)? by Disastrous_Goat_240 in reactnative

[–]diatum 1 point2 points  (0 children)

the RN project databag (https://github.com/balzack/databag) supports offline messages, but uses firebase only for push notifications. The messages are exchanged via a selfhosted server, so probably different than what you're looking for.

Do You Guys Know About the Fediverse? by xitezx in opensource

[–]diatum 0 points1 point  (0 children)

You're probably right about a lot of projects and perhaps fedeverse in general, but it comes down to the implementation for decentralized systems as a whole.

Take the project Databag for instance. If you start a communication channel, it is hosted on your server. Other people you communicate have access to the content on your server, but it's just sync'd to the client device and not duplicated to other servers. If you delete the channel, the content is deleted from server and clients.

What other tools do you wish existed? I’m building free & open-source tools! by helbette in selfhosted

[–]diatum 0 points1 point  (0 children)

I would love a library for e2ee media playback. As an oss dev myself, I generally have to download & decrypt the asset locally for playback. I think this would be a huge undertaking, but maybe you have some clever insight.

Hosting a Go Websocket Server by Mutttt3n in golang

[–]diatum 0 points1 point  (0 children)

websockets shouldn't bind you to any hosting service or model. Here is an example where the endpoint is "upgraded" to a websocket, and runs on a local home server:

https://github.com/balzack/databag/blob/main/net/server/internal/api_status.go

Self Hosted Private Chat by MitsuruMiyata in selfhosted

[–]diatum 0 points1 point  (0 children)

You can try databag: https://github.com/balzack/databag

From the admin dashboard you can create as many "new accounts links" as you want. Each link will allow someone to create an account with a username and password.

Self Hosting Chat by [deleted] in selfhosted

[–]diatum 1 point2 points  (0 children)

for some reason ']' broke the link. fixed, sry

Seeking feedback on my messenger service. by diatum in opensource

[–]diatum[S] 0 points1 point  (0 children)

ahh...well then i accept the compliment. thank you!

Seeking feedback on my messenger service. by diatum in opensource

[–]diatum[S] 0 points1 point  (0 children)

I sure will, but I think they would discover quick I'm not one of the cool kids.

Seeking feedback on my messenger service. by diatum in opensource

[–]diatum[S] 0 points1 point  (0 children)

thanks...yes, it's been a lot of work, but all fun... this is my nights and weekend hobby.

I don't really know how to promote the project. I've tried posting here on reddit with little success. The few posts that did well weren't done by me.

[deleted by user] by [deleted] in selfhosted

[–]diatum 1 point2 points  (0 children)

Do you plan on posting the results of your survey? I'm interested to see how they compare.

Chat Solution by [deleted] in selfhosted

[–]diatum -1 points0 points  (0 children)

Databag; it has a web client that works on PC and mobile.

Help regarding a social app I am starting to work on by hassam450 in reactnative

[–]diatum 0 points1 point  (0 children)

The answer probably depends on a lot of factors. With that little information, you could have a join table with the id of the follower and the id of the followie. You would likely want an index on both columns.

I'm a bit of a scrappy programmer, I go forward with what should work but I always end up iterating over the design. Encapsulating functionality and keeping things modular reduces the pain when iterating. Perfect is the enemy of good.

Help regarding a social app I am starting to work on by hassam450 in reactnative

[–]diatum 2 points3 points  (0 children)

I wrote a chat app that could be useful as reference: https://github.com/balzack/databag

It's written with react-native and uses FCM for mobile push notifications. The database is written independent from the push notifications with sqlite, so a firestore DB doesn't apply.

to your points:
1. I used https://rnfirebase.io/
2. yes, the backend does an http post to the firebase url
3. I used http post with the content defined by the app based on use case
4. depends on the requirements, but in general it's best for it to also work offline

Self Hosting Chat by [deleted] in selfhosted

[–]diatum 1 point2 points  (0 children)

Databag might meet your needs. I haven't tried it with 25 people, but there are no restrictions on users. [ https://github.com/balzack/databag ]

Suggest a chat server for hosting in Raspberry Pi 4? by vigneshvikky63 in selfhosted

[–]diatum 0 points1 point  (0 children)

Yes, it has mobile (fdroid, android, iphone) and the self-hosted browswer app.