Is there a place where I could conveniently load the list of known SecureDrop instances? Ideally a json dump of the SecureDrop.org directory would be good. Or any other parseable format really.
Thanks !
Is there a place where I could conveniently load the list of known SecureDrop instances? Ideally a json dump of the SecureDrop.org directory would be good. Or any other parseable format really.
Thanks !
Oneliner to display the list of supported languages of a given SecureDrop instance:
$ torsocks curl --silent http://32qfx2skzcifeyg7.onion/ | tidy --numeric-entities yes -asxhtml 2>/dev/null | xmlstarlet sel -N âx=XHTML namespaceâ -t -m â//x:div[@id=âindex-localesâ]//x:aâ -v @href -n
/?l=fr_FR
@dachary That doesnât currently exist, but I could wire something like that up. Do you have a specific use case in mind for this?
Yes, add a list to the translation category introduction with the of instances displaying a given language.
@harris is there anything I can do to help? A manually exported CSV file will do until something more sophisticated is in place
Let me add this to my to do list and chat with @eloquence about scheduling work on this. I think it probably shouldnât take me too long to add support for this once I sit down to do it. Thanks for the poke.
@harris I can write a quick web scrapper, thatâs no trouble at all. I was aiming for something simpler but happy either way
@dachary Finally got you that API!
https://securedrop.org/api/v1/directory/
Weâre observed some inconsistency in its return format. It should be able to return either a web UI or a JSON response and automatically switch between them depending on whether youâre in a browser or not, but that doesnât seem to be completely working, which we think is due to our caching setup and weâre working on a fix for. In the meantime, you can force a format by appending ?format=api
or ?format=json
to the URL.