I made a thing.

Type in a user and click 'Go' to create a graph. In the graph, click on a user to expand their connections. Mouse wheel zooms. That's about it.

Users with a lot of connections are a bit slow, especially on mobile. You might want to start with someone with fewer followers.

It should work on any modern browser, including mobile. I tested on Chrome and Firefox, for Linux, Android, and Windows. If it doesn't work for you, let me know and I'll look into it.

The graph library has a ton of configuration options. For example, I initially made it draw arrows for follows and followedby. But that kind of felt like 'I follow you, why don't you follow me‽' so I changed it to simple lines.

If you have a request to make it do something different, let me know, and I'll do it if it's easy.

technical

It's a single html page, built with vis.js.

I wrote it in a day, so I'm sure there are all kinds of bugs. If you see something, let me know and I'll fix it, definitely maybe.

It's terribly hackish and fragile. Any changes to the hubski /follows and /followedby uris will break it instantly. Does hubski have an API I'm not aware of? That would be handy.

I'm not primarily a web developer, so I'm sure there are all kinds of not-best-practices. If you see something bad (except the xss :P), let me know and I'll make it better.

I wanted it to be entirely browser-based, so it uses a CORS proxy to do xss, because hubski doesn't publish CORS headers.

Changing it to use a server instead of xss would be trivial, and in fact, if anyone actually has a desire for that, I'd be willing to write up a simple Go server for it.

Changing it to use local resources would also be trivial, if hubski wanted to use it.

Both my code and vis.js are MIT-licensed.

EDIT: I think https is fixed.

kleinbl00:

1) enter kleinbl00

2) execute

3) look at silver ball in beautiful isolation

4) Click on it

5) Watch a handful of names sproing out beautifully

6) Ponder appreciatively for a few seconds

7)


posted 3394 days ago