anyproto / anytype-heart

Shared library for Anytype clients
https://anytype.io
Other
221 stars 41 forks source link

Allow to show the P2P status and configure peers manually #1341

Open hellodword opened 3 weeks ago

hellodword commented 3 weeks ago

Have you read a contributing guide?

Clear and concise description of the problem

Currently, I am unable to find how to show the P2P status on Linux or iOS. Please correct me if I have missed anything.

There is no place to manually configure peers, but I think it would be useful in some cases, I will describe a personal case, while I believe there are more:

The mDNS maybe not working in some networks: https://github.com/tailscale/tailscale/issues/1013

Suggested solution

  1. Add networking status or debug tools for the clients
  2. Allow to configure peers manually, for example:
    
    # a lan address https://en.wikipedia.org/wiki/Reserved_IP_addresses#IPv4
    192.168.7.14

tsnet https://tailscale.com/kb/1136/tailnet

laptop.example.ts.net



What do you think?

### Alternative

_No response_

### Additional context

_No response_
hellodword commented 1 week ago

image

I noticed the main branch of anytype-ts is adding the P2P status, and even a Sync status per file, cool!

I hope there will be more detailed P2P status, such as IP/port/transport...