hyperboria / android

Android app for mesh networking with cjdns
GNU General Public License v3.0
159 stars 40 forks source link

Added Me page with mock data producer #16

Closed benhylau closed 9 years ago

benhylau commented 9 years ago

device-2015-01-21-085344

kpcyrd commented 9 years ago

:+1:

benhylau commented 9 years ago

@prurigro @ansuz @lgierth @kpcyrd It would be cool if we can display a visualization with that empty space at the bottom of this page. Like fc00.org but of your immediate peers only. Just an idea :wink:

kpcyrd commented 9 years ago

Like this? https://github.com/kpcyrd/yrd#show-your-neighbors-peerstats

Maybe you can use yrd as example on how to pull the data out of the admin api.

Feel free to ping me on hypeirc if you need help.

benhylau commented 9 years ago

@kpcyrd Cool thanks. Yes that data, but drives a visual representation, so it's easy to tell how well-connected my own node is.

cschmittiey commented 9 years ago

Yeah, @ansuz 's work with fc00 is probably the closest to what you're looking for On Jan 21, 2015 9:29 PM, "Benedict Lau" notifications@github.com wrote:

@kpcyrd https://github.com/kpcyrd Cool thanks. Yes that data, but drives a visual representation, so it's easy to tell how well-connected my own node is.

— Reply to this email directly or view it on GitHub https://github.com/BerlinMeshnet/cjdns-android/pull/16#issuecomment-70961907 .

benhylau commented 9 years ago

@cschmittiey Yes, I was thinking a WebView loading a static file pre-populated with the node data. Something like this: http://bl.ocks.org/mbostock/4062045

Anyone volunteers to do the JS?

ansuz commented 9 years ago

when is the static file generated? if it's done by the app, java is probably the best fit, yea?

benhylau commented 9 years ago

@ansuz it would be done by the app. Native Android implementation in Java would be great, though JS through a WebView isn't all that horrible. Issue moved here https://github.com/BerlinMeshnet/cjdns-android/issues/17.