Open decanus opened 3 years ago
Hej @decanus, thanks for bringing this up. If you want to achieve this without a CLI or similar utility to land you can call the /info
endpoint on your seed http API, which will return you a JSON blob similar to this:
{
"name": "Sprout 🌱",
"peerId": "hynkyndc6w3p8urucakobzna7sxwgcqny7xxtw88dtx3pkf7m3nrzc",
"publicAddr": "sprout.radicle.xyz:12345",
"description": "<p class='typo-text-small' style='margin-bottom: 1rem;'>This is the dashboard for Radicle's seed node. It maintains a real-time view of activity on the Radicle network. You can use it to discover new projects a\n\tnd people to add to your social graph. To find a project or peer, copy it's Radicle ID, and paste it into the search bar of your Upstream app.</p>\n\t<p class='typo-text-small' style='margin-bottom: 1rem'>To add this seed node to your Upstream app, follow the steps in the <a class=typo-link href=https://docs.radicle.xyz/docs/getting-started>Getting Started</a> guide. To start your own seed node, follow the instructions <a class=typo-link href=https://docs.radicle.xyz/docs/using-radicle/running-a-seed-node>here</a>.</p>",
"peers": 0,
"projects": 12
}
could be nice to have it wrapped and maybe mean that the frontend server never needs be started.
Right now to get my seed address I need to start the UI, I personally do not want to start any UIs so it would be nice to have a CLI tool for this.