geysermc / geyserlist Goto Github PK
View Code? Open in Web Editor NEWA server list exclusively for Minecraft servers running Geyser
Home Page: https://servers.geysermc.org
License: GNU Affero General Public License v3.0
A server list exclusively for Minecraft servers running Geyser
Home Page: https://servers.geysermc.org
License: GNU Affero General Public License v3.0
AGPL requires this. We need to do a whole README overhaul anyway.
Never done this before.
Need @RednedEpic to make https://github.com/organizations/GeyserMC/settings/applications/new for us to make it official (just for production I guess).
A way to distinguish users with specific permissions would be nice.
It will be using bit flags.
Suggestions:
1 => :moderator, # 1
This permission would give mods access to edit/delete any server
2 => :staff, # 2
Mostly a status role. Indicate who is a team member or not.
3 => :verified, # 4
Same with the staff role. Perhaps for notable and up?
4 => :admin, # 8
Full access to everything. What more than deleting servers? Who knows
5 => :developer, # 16
Same/similar to staff? Not sure, just throwing stuff out here.
Rails has native i18n support (see config/locales).
In the code, you need to do the following:
t('key')
Or, in controllers:
I18n.t('key')
Assuming you have the corresponding value in config/locales/en.yml:
key: Global Value
You can specify the locale however we want. Maybe a dropdown for it in the navbar?
If there are no translations in the given language, it falls back to the default (English).
I've not much experience with Crowdin, but it should be pretty simple to figure out. I won't be the one able to make it, though.
On RubyMine, not sure about other clients, but selecting a t('string') and pressing CMD+0 hides it with the actual translation. Quite poggers
For strings specific to a file/controller, you simply need to do this:
In locale:
controller:
action:
key: Local Value
So in app/controllers/controller.rb
method action
or app/views/controller/action.html.erb
you can do:
t('.key')
Which will put "Local Value" instead of "Global Value". It definitely saves on key length.
There are not many Strings right now, but we don't want to get too far behind.
We need to decide on an Open Source License before we make this public.
Examples (of Rails sites)
https://github.com/instructure/canvas-lms - Uses AGPLv3 (GPLv3 for websites essentially)
https://github.com/tosdr/tosdr.org - Also uses AGPLv3
Assigning every contributor thus far to come to a conclusion. I'm fine with AGPLv3 but if there's any other suggestion we can discuss it
RedCarpet...
https://github.com/Memerator/Memerator.me/blob/master/app/models/meme.rb#L96-L128
but less icky
Place to change username, integrate more things, etc.
Can be used to check if server is online (see gdoc)
Also include MC versions and country for the server info
Bit difficult and annoying but possible. I need to setup everything on the backend. Not fun! But works.
View the server!
Frontend:
Backend:
See: https://docs.microsoft.com/en-us/advertising/guides/authentication-oauth-live-connect?view=bingads-13#request-userconsent
This will help us prevent CSRF attacks.
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.