MeWeb.Core runs seven checks concurrently and reports each as it settles:
online or behind a login page, this connection, the public IPv4 and IPv6
seen from v4./v6.meweb, the provider from a built-in map, the router
(UPnP IGD, NAT-PMP and PCP, read-only), address sharing (router WAN
against the echo, TTL hops only as a hint), and the history kept on the
device. The app draws the path from this device to the internet and lights
it node by node, with a card per check and a sheet listing every host it
contacts.
The provider map is iptoasn's table compressed to 2.1 MB by
tools/knowledge.cs and built before every app release; eleven Italian
provider profiles carry each fact with who said it, the source and the
month. The server gains a download page (en, it) and /download/{platform}
from the latest Gitea release.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012CzABvBkbcFqoHdmi8b9WB
38 lines
1.1 KiB
C#
38 lines
1.1 KiB
C#
namespace MeWeb.Shared;
|
|
|
|
public static class Endpoints
|
|
{
|
|
public const string Host = "meweb.arasaka.software";
|
|
public const string HostV4 = "v4.meweb.arasaka.software";
|
|
public const string HostV6 = "v6.meweb.arasaka.software";
|
|
|
|
public static string Base => $"https://{Host}";
|
|
public static string BaseV4 => $"https://{HostV4}";
|
|
public static string BaseV6 => $"https://{HostV6}";
|
|
|
|
public const string Api = "/api";
|
|
|
|
public static class Server
|
|
{
|
|
public const string GET_Info = $"{Api}/info";
|
|
public const string GET_Ip = $"{Api}/ip";
|
|
}
|
|
|
|
public static class Downloads
|
|
{
|
|
public const string GET_Page = "/";
|
|
public const string GET_Platform = "/download/{platform}";
|
|
|
|
public static string GET_M_Platform(string platform) => $"/download/{platform}";
|
|
}
|
|
|
|
public static class Gitea
|
|
{
|
|
public const string Origin = "https://git.thepra.dev";
|
|
public const string Repository = "Arasaka/MeWeb";
|
|
public const string GET_Releases = $"{Origin}/api/v1/repos/{Repository}/releases?limit=10";
|
|
public const string Releases = $"{Origin}/{Repository}/releases";
|
|
public const string Source = $"{Origin}/{Repository}";
|
|
}
|
|
}
|