Global Feed Post Login
Replying to Avatar calle

Currently we're using a fixed set of relays in bitchat which is only a temporary solution. We could let users edit their own relays but 1) users don't know what relays are and 2) if users have no overlapping relays they can't talk to each other.

Here's a solution that we came up with. I'd like to know your thoughts. We're going to crawl a long list of relay URLs every 24 hours. This list will also include their estimated geo locations, also updated every 24 hours. This could be done in an automated GitHub runner.

That list of URLs plus their geo locations will be embedded and shipped with the bitchat app. Users who join a geohash channel will use the five closest relays based on the geohash location of interest.

This solves multiple problems at once:

1) relay centralization

2) privacy

3) speed

4) maybe censorship resistance?

What do you think?

Avatar
roundtheworldman 4mo ago 💬 1

Seems like Gitlab runner would be a better choice if you need that kind of functionality. Gitlab has good self-hosting support.

Keep up the great work and be careful of feature creep. I love that the apps under 10MB right now!

Reply to this note

Please Login to reply.

Discussion

Avatar
calle 4mo ago

3 MB!

Thread collapsed