wyklq on Nostr: 怎么在安卓手机上安装 relay server 吗? 1. 安装 termux 2. 安装 rust $ ...
怎么在安卓手机上安装 relay server 吗?
1. 安装 termux
2. 安装 rust
$ pkg install rustc-dev
3. 下载 Nostr-rs-relay 源代码
$ pkg install git
$ git clone
https://git.sr.ht/\~gheartsfield/nostr-rs-relay 4. 编译
$ cd nostr-rs-relay
$ cargo build -q -r
5. 运行
$ ./target/release/nostr-rs-relay
这样子就好了。如果连着WiFi,局域网内就可以用了。如果要外网能访问,那要外面再配置个反向代理。
Published at
2023-02-14 07:11:12Event JSON
{
"id": "b9a5fc49e5fc0950235dc3822e6f1b9bf55eafb1cc2f05545807b9b64f4d9a03",
"pubkey": "72c29c440a399fa8ecd16227d38aba96d57ac6e2b2bbde307c6fd2d8db6fe810",
"created_at": 1676358672,
"kind": 1,
"tags": [
[
"e",
"977839273f182ecebcd3e8a208cb82e8fd7bdd56fc0338e83a2c3e8965d66173"
],
[
"e",
"6c8ab915668aa13f6c4a735781929342febb379e7de011f571f98be754dd2e32"
],
[
"e",
"e12f6f799a83b442b68eeebf9bd741355a86f147483e47a9973c5b9ee0143867"
],
[
"p",
"824820f76a785432e76e54fee042489f6f40ecd84352f19b823326d8ca44d577"
],
[
"p",
"dba3eb096178b18c81a259cb1dde052679b20f2bcd0262ae5034f7a643916263"
],
[
"p",
"72c29c440a399fa8ecd16227d38aba96d57ac6e2b2bbde307c6fd2d8db6fe810"
],
[
"p",
"a4ea4ef1feb315d877135e78bf4a62246d9561d8c459860c57b3875083b1678c"
]
],
"content": "怎么在安卓手机上安装 relay server 吗?\n1. 安装 termux\n2. 安装 rust \n $ pkg install rustc-dev\n3. 下载 Nostr-rs-relay 源代码\n $ pkg install git\n $ git clone https://git.sr.ht/\\~gheartsfield/nostr-rs-relay\n 4. 编译 \n $ cd nostr-rs-relay\n $ cargo build -q -r\n5. 运行\n $ ./target/release/nostr-rs-relay\n\n这样子就好了。如果连着WiFi,局域网内就可以用了。如果要外网能访问,那要外面再配置个反向代理。",
"sig": "2c250269b46f23c2d658e4aacd9f7c672330af46923f327e2c51baa795b396465d9775569fbecfa73a07f3091d996f46e70233e5e077fc43b7da8386e04d1b85"
}