Create an account


Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
My frontend for the Unofficial Xonotic map repository

#1
Wink 
I'd like to play community maps so I found the unofficial map repository here.
It's great! But with it's frontend I really had problem browsing around. Mainly because of code performance and slow library requests.
"Libraries" are never my flavors. Also many obvious optimizations are possible. So that I tried to make one by myself!

You can give it a try NOW, at here: https://naitlee.github.io/map-repo-poc/
It have Xonotic Luma-alike theme, Grid or Compact view, Search/Sort/Filter available.
Make sure you use a newer browser, and Enjoy!
Note that, this is a Proof-of-Concept page, to reduce the load I just picked a few sample map data to use there.
But hey! It really just works!
(The frontend uses a custom binary format for map data. Even with all the >15,000 maps included, it's 5 to 10 times smaller, in contrast to json.)
(Because GitHub Pages use HTTPS while dl.xonotic.fps.gratis use HTTP, browser may give security alert when you download. It shouldn't be there in "production")

And of course Source Code is available! MIT/Expat licensed: https://github.com/NaitLee/Xonotic-Map-Repo
(I can't get my GitLab account to work. Sorry. You can clone it with git.)
There are so many good spots. You can read the README inside to get "what's good about".
Steps to get started are in README too. If you are a dev & interested in it, go ahead!

And leave comments about your thoughts! Some changes should be made according to your preference, it's a long way toward.
After that, should it be "formally" hosted somewhere? It's best to go directly to http://xonotic.fps.gratis/!

Thanks to the great game and community!
Reply

#2
My thoughts are.."THANK YOU" for yours Smile
FAF - FERIS - COPENHAGEN - DENMARK - GNU/Linux  Heart
Homepage: https://feris-xonotic.net
Reply

#3
Great job! Thank you!

May I suggest some superficial changes?

In Search/Sort/Filter, could we make the following clarification?
  • Size -> (Map) file size
  • Time -> Date (or file timestamp) (also in Size drop down)
  • in Time drop down, "In 2 years" -> "Past 2 years"
  • In Other: "Require Mapshot" -> "With Mapshot"
  • "OK" -> "Apply"
@Naitlee, do you plan to keep this around for a long time? If so, we can add this to the wiki. (Or you can do a PR)
Reply

#4
Very nice, NaitLee!

(10-09-2022, 02:44 PM)BuddyFriendGuy Wrote: @Naitlee, do you plan to keep this around for a long time? If so, we can add this to the wiki. (Or you can do a PR)

I just added the link in that case.
Reply

#5
It’s a bit late but I realized that I can let GitHub Actions (or I can really host an always-up machine for git push) to pull upstream database & update GitHub Pages.
This way that Proof of Concept can be “full version” to serve good Big Grin

(10-09-2022, 02:44 PM)BuddyFriendGuy Wrote: In Search/Sort/Filter, could we make the following clarification?

I’d consider touching the code to clarify something.

(10-21-2022, 04:14 PM)LegendGuard Wrote: I just added the link in that case.

Oh, for this I have something to say: It’s better to clarify that my work is (merely) a frontend, that can work in conjunction with -z-’s service (it does give download link of fps.gratis), thus not “Run by” but something like “Created by”.
Reply

#6
I have delayed months to work on something else before updating it.

By comparison, the maps.json from months ago and from today have no difference. So the upstream data is stable enough to be included statically in that proof-of-concept page.

Together with upstream service, the page is a “full” stuff now.
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  Unofficial Xonotic map repository (xonotic.co) -z- 37 36,958 10-09-2022, 05:55 PM
Last Post: BuddyFriendGuy

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum software by © MyBB original theme © iAndrew 2016, remixed by -z-