Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Idea / Feature request - Random host selection #9

Open
nain-F49FF806 opened this issue Apr 6, 2024 · 1 comment
Open

Idea / Feature request - Random host selection #9

nain-F49FF806 opened this issue Apr 6, 2024 · 1 comment

Comments

@nain-F49FF806
Copy link
Contributor

Privatebin.info [link] has ability to forward to random healthy privatebin instances.
One can try this by going to the following url: https://privatebin.info/directory/forward-me

It seems they are responding with a 303 (See Other) HTTP status response along with the url of a randomly selected instance.
The details can be found here: https://privatebin.info/directory/about#faq-forward

The idea:

pbcli could have a --random-host flag. When set by user, the CLI application should make a request to above url, fetch the privatebin host provided in the response. And then set that as the active instance for the current invocation.

@Mydayyy
Copy link
Owner

Mydayyy commented Apr 6, 2024

Greetings,

I did not know that they offer such an API, that is really neat. I think it would be a good addition to implement. I will put that on my ToDo list.

Best Regards
Mydayyy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants