this post was submitted on 17 Jul 2023
11 points (100.0% liked)

/kbin meta

5 readers
2 users here now

Magazine dedicated to discussions about the kbin itself. Provide feedback, ask questions, suggest improvements, and engage in conversations related to the platform organization, policies, features, and community dynamics. ---- * Roadmap 2023 * m/kbinDevlog * m/kbinDesign

founded 1 year ago
11
kbin.world (kbin.social)
submitted 1 year ago* (last edited 1 year ago) by [email protected] to c/[email protected]
 

I stuck a service on https://kbin.world that redirects you based on a IP lookup for your country. In descending order it tries to;

  • If there is a kbin instance for your country it redirects you there (Just Poland for now!)

  • If you have a feddit instance for your country it redirects you to the most appropriate magazine on that instance, within kbin.social eg Germany

  • If you have a large national community on another Lemmy instance it redirects you there, again within kbin.social (eg Brasil)

For the ones I haven't got around to it redirects you to kbin.social homepage

It could be broken down to regions too. As more national or regional kbin instances emerge I'll replace the existing feddit/other sites.

I did a bit of testing with Pingdom and it seems to work

In the process I noticed that New Zealand and Japan feddit instances won't load for some reason. Any idea why?

top 8 comments
sorted by: hot top controversial new old
[–] [email protected] 2 points 1 year ago (1 children)

For some reason, it redirects me to [email protected]. I'm from Greece btw, and we have a community here on Kbin!

https://kbin.social/m/greece

[–] [email protected] 2 points 1 year ago (1 children)
[–] [email protected] 2 points 1 year ago

Works fine!

[–] [email protected] 2 points 1 year ago

Any chance it could also redirect based on current user load as well? This is the sort of load balance that fedi needs to implement at the base project pages to combat the initial 'where do I sign up?' question.

[–] [email protected] 2 points 1 year ago
[–] [email protected] 1 points 1 year ago

Yeah, I was thinking that too. I don't think I can do it automatically (yet) but if there was another big spike or kbin.social went down for some reason it could be manually switched to another instance.

[–] [email protected] 0 points 1 year ago (1 children)

Just redirects me to kbin.social homepage. I do recall seeing this before (in Matrix, I believe?) and it had worked then, or rather it gave me the "us news" magazine.

[–] [email protected] 1 points 1 year ago

@Ori I'm making the US regional, I forgot to add in a default for areas outside of the covered regions. It should work again now.