lgommans / factorio-serverlist Goto Github PK
View Code? Open in Web Editor NEWUnofficial server browser for Factorio
Home Page: https://lgms.nl/p/factorio-serverlist
License: MIT License
Unofficial server browser for Factorio
Home Page: https://lgms.nl/p/factorio-serverlist
License: MIT License
Will make display look more consistent if the flag and link icons appeared before the server name
As one of the sorting options.
Will be country- or maybe (if we change the database) city-based.
It breaks the flow and makes stuff jump around.
I'll always show players and give mods a "show more" button, then nothing expands on hover anymore.
It will jump to the game id when you click the icon, but giving the link to someone else fails because Javascript updates the page after the browser tries to find the ID.
I will make it so that it shows only that server when you link to one.
Icon font allows lossless scaling (particularly when user scales browser text) and easier styling (it's just text).
They can be made free & open source, complete with style sheet and reference card, at http://fontastic.me/
The server list has not been updated for several days now, for me it shows: Updated: 11:06:55 | 81 players in 153 shown servers (647 total)
The data gets over half a megabyte during busy hours and is still a couple hundred kilobytes during slow hours. Some testing should be done with compression. Ideally, the decompressor should be small and very fast:
I'm thinking of some simple string replacements, possibly making it a binary format, but my thoughts still focus on a substitution scheme for JSON. It's probably better to do some testing with existing algorithms like deflate, though I wonder how fast bitwise operations are going to be in Javascript (namely Huffman).
Compression time is not an issue, within bounds of course.
Someone mentioned this. Does anyone else want this feature? Leave a +1 or comment.
I imagine you could save servers, which would always be on top when you open the page, and maybe also players, so you can see when friends are online.
This could work either with localstorage/cookies which are fairly unreliable (the browser might put the data out with the garbage) or an account system, which seems more complicated than necessary. Perhaps people can choose a username, no password, and store favorites there? Then you don't have the whole account procedure, while still being able to log in from anywhere. Ideas on this are welcome as well.
This happens both when searching/filtering and when it auto-updates in the background.
Possible solutions:
Pagination -- this would probably work and speed up displaying the first results. Not sure what it does for UX.
Web workers -- prevents freezing but takes the same amount of time. Perhaps it can also show first results before it's completely finished, I'm not sure.
Split up the work and let the browser refresh in between -- prevents freezing, displays results quickly, and is probably also the most complicated.
Limit result count -- this is the workaround option if people mind it too much, until I can implement something better.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.