Giter Site home page Giter Site logo

quiltmc.org's Introduction

Quilt Project Website

Website for the Quilt Project.

Contributing

Thanks for contributing to the site! There's a couple of things worth noting about our infrastructure, which we will cover below.

IDE/Editor Choice

For contributors, we recommend using Visual Studio Code or VSCodium as your IDE, as it features Astro support via the official Astro plugin. Additionally, you would need to install the MDX plugin to have syntax highlighting for the .mdx files, and the vscode-fluent plugin if you need to translate the site or otherwise tinker with Fluent's .ftl files.

In theory, you can use any editor to your liking that supports the Language Server Protocol, hooked up to the Astro Language Server and optionally other LSPs for MDX and Fluent. Unfortunately as of the date of writing (Sept 11, 2022) no pre-built integrations of the Astro Language Server actually exist, which is why we still recommend using VS Code as your IDE.

For VSCode, you should see a popup in the bottom right when you open the project with recommended extensions. You can also type @recommended in the extensions page to see the recommended extensions:

Running the Dev Server

To run the development server, you first need to have npm installed in your system. Usually this comes pre-installed with Node.js, so you might want to install that first.

Note

Only npm is regularly used and tested for the site, so you might encounter bugs or incompatibilities using an alternate package manager.

Once npm is installed, clone this repository, navigate into the project folder and run npm install to install dependencies:

$ git clone https://github.com/QuiltMC/quiltmc.org
$ cd quiltmc.org
$ npm install

Once installation is complete, then run npm run dev to start the dev server. The server application should have an output like this:

$ npm run dev

> [email protected] dev
> node csscopy.mjs && astro dev

  πŸš€  astro  v1.2.1 started in 56ms

  ┃ Local    http://localhost:3000/
  ┃ Network  use --host to expose

At this point, open your browser, and you should be able to see the generated site at http://localhost:3000.

As Astro utilizes hot module reloading (HMR), any changes you make would be reflected in the browser quickly. However, sometimes components and layouts don't get rebuilt with HMR and you might have to restart the Astro server to see your changes, which is easily done by pressing Ctrl+C and rerunning npm run dev.

You're all set! Although, I would recommend reading about the architecture of this site before making any changes, to familiarize yourself with the project structure. Have fun contributing!

Cloudflare Pages Dev server

Some functionalities of the website, such as redirects or functions, use some Cloudflare Pages specific features. To test these features, you can run the following command:

$ npx wrangler pages dev -- npm run dev --host

Make sure to use the url provided by wrangler, as it will be different from the one provided by Astro. It should appear underneath Worker reloaded!.

Building

To build the site as seen in production, simply run npm run build. Astro will then build the site and emit the output in dist/.

$ npm run build

To view the built site, you can run npm run preview:

$ npm run preview

> [email protected] preview
> node csscopy.mjs && astro preview

  πŸš€  astro  v1.2.1 started in 2ms

  ┃ Local    http://localhost:3000/
  ┃ Network  use --host to expose

You can then visit the built site at http://localhost:3000.

quiltmc.org's People

Contributors

akarys42 avatar arthomnix avatar ecorous avatar ennuil avatar forkk avatar gdude2002 avatar haven-king avatar imzxhir avatar ix0rai avatar jamalam360 avatar mysterious-dev avatar nocomment1105 avatar obj-obj avatar oroarmor avatar pluiedev avatar prospector avatar pyrofab avatar sciwhiz12 avatar silverandro avatar simpledemonn avatar southpaw1496 avatar sschr15 avatar tailsfanlol avatar theepicblock avatar thek0tyara avatar tibinonest avatar toffeemax avatar triphora avatar upcraftlp avatar woodiertexas avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

quiltmc.org's Issues

document what's needed for quilt to come out of beta

the beta warning is scary! we should give users an indication of what we're working on before it goes away.

current things I know about

  • make QSL more standalone. very ambiguous goal, cc @OroArmor to expand on this
  • qm 2.0. all we really need to say about this is that it's a big redo of the qm backend and requires migrating to a new backing library
  • loader plugins going stable. cc @AlexIIL to provide a comprehensive list of what's needed for that

ideally this list will have handy links to tracking issues or github projects about everything: things like https://github.com/quiltmc/enigma/13 [note. if you're writing a tracking issue it should actually have stuff in it. 13 isn't a role model :iea:]

Timeline Out of Date

The timeline is currently (roughly) one year out-of-date, and I know that QMC development has happened in the last year...

Quilt installer failing

I am trying to install quiltmc using the Universal .jar file with the following arguments

java -jar quilt-installer-0.5.0.jar install client 1.19.2 --install-dir=/home/walksanator/.local/share/PrismLauncher/instances/1.19.2/.minecraft/

when I try and do this it crashes with

Failed to install client
java.util.concurrent.CompletionException: java.io.UncheckedIOException: java.io.IOException: Server returned HTTP response code: 403 for URL: https://meta.quiltmc.org/v3/versions/loader
	at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:315)
	at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:320)
	at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1770)
	at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1760)
	at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
	at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182)
	at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655)
	at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622)
	at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)
Caused by: java.io.UncheckedIOException: java.io.IOException: Server returned HTTP response code: 403 for URL: https://meta.quiltmc.org/v3/versions/loader
	at org.quiltmc.installer.QuiltMeta.lambda$create$1(QuiltMeta.java:129)
	at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768)
	... 6 more
Caused by: java.io.IOException: Server returned HTTP response code: 403 for URL: https://meta.quiltmc.org/v3/versions/loader
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1997)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1589)
	at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:224)
	at org.quiltmc.installer.QuiltMeta.lambda$create$1(QuiltMeta.java:123)
	... 7 more

I can curl and go to the url directly, but automated installs fail

Landing page copy seems too ambiguous

Hi there,

I stumbled on Quilt after clicking around the Litematic listing on CurseForge and noticed your mod loader in its dropdown. I went to the site to find out what this is all about and reached the bottom of the landing page feeling like I didn't know much more than I started which was "It's most likely a mod loader and maybe has something to do with Fabric?"

I've done landing page copy for many of my clients now and am happy to help resolve this if we could turn this thread into a Q&A for me to get more info?

Thanks,

Ian

newcomer guide is super outdated

  • still mentions quiltflower
  • doesn't say anything about loader in the "what does quilt already offer" section
  • hashed is no longer planned, it's implemented

the whole "What does Quilt provide over other mod-loaders?" needs a rewrite honestly

Slightly rephrase rule 6

Currently:

Don't spam, or advertise outside the showcase channels.

Should be clarified:

Don't spam, and don't advertise outside the showcase channels.

This issue was created to keep track of the need while #10 is being processed.

Add endorsed sponsors to homepage

While #55 adds an information page with information about all sponsors, Endorsed Sponsors need a section on the homepage, with their logo, a short description of their offerings, and a link to their website.

Community Methodology isn't accurate (transparency)

Your Community Methodology is not accurate. It says "To act with transparency where possible and reasonable without trying to hide our actions, and explaining moderation decisions when asked about them", yet I was banned from your Discord without saying anything and without being notified of any ban reason. This is certainly the behavior of a "transparent system", no? And I was never sent a ModMail link either for appeals.

Edge read aloud breakage

For some reason Edge reads the first ❓ section just fine but when it comes to reading the πŸ”” section it's skipped entirely and it just moves onto the Moving from Tupperbox heading. Not sure if there is anything that can be tweaked to fix this but thought I'd report it anyway.

- ❓ (`question`) -- Get a private message with information about the Discord account that sent the message, such as username, nickname, pronouns, system/member descriptions and roles.
- πŸ”” (`bell`) -- Mention the Discord account that sent the proxied message, to make sure the system using it sees your reply. We advise using this sparingly, as it gets annoying and spammy quickly.
## Moving from Tupperbox

Youtube-dl and utility mods are not piracy or illegal

Youtube-dl allows you to download already publicly available videos and metadata from streaming services. It is not piracy no matter what Youtube wants you to think it is.

Hacked clients are encouraged by many servers and are legal if they do not violate federal law. Many do not as they don't allow or have modules for acts that would violate laws.

I suggest you change these rules imo lole.

Change the rule about evading mutes/bans/etc

The current rule is "Do not change your avatar, nickname, username or custom/rich status to try to protest a moderation action"

My personal suggestion:
"Do not attempt to evade a ban or mute by changing pfp, status, or using alt accounts. The punishment was dealt for a reason but you can always dispute it ask about it here: xxxxxxxxsite"

The reason is the original wording sounds like it forbids any disagreement. While my suggestion makes it clear it is only for those who try and bypass rules to cause issues and provides an outlet for those who want to dispute.

Heading level hard to distinguish

The small change in font size between heading levels on the blog is not enough for me to distinguish against heading levels on mobile. It would be nice if there were a change in color or a symbolic difference.

Horizontal Scrolling

it’s currently possible to Scroll Horizontally on the Quilt Website for Mobile Phones and Touchscreen Tablets / iPads
Screenshot_2022-05-09-07-12-14-22_40deb401b9ffe8e1df2f1cc5ba480b12

Documentation

Right now we don't have any documentation for the Astro components in the site, which makes it harder for people to add new stuff or edit existing templates. It would be a good idea to actually have documentation lmao

Scroll bars under the dark theme have extremely poor contrast

Why?

Accessibility issue, especially for long pages where scroll bars tend to be more useful than the scroll wheel or function keys. It is also not possible to quickly tell where you're at in the web page.

Expected visual

The scroll bar to have a contrast no worse than Windows 10's light theme scroll bars and Discord's dark theme scrollbars for the chat on the desktop client, which can already be borderline impossible to see at a glance.

Actual visual

The scroll bar's contrast ratio is too poor to be able to tell where the scrollbar thumb is within a second of looking at it on a fair amount of displays, making it impossible to use effectively when you need it.

ScrollbarThe scrollbar as rendered by Ungoogled Chromium 105.0.5195.125 with forced dark mode and dark web content enabled.

Extra notes:

Ungoogled Chromium 105.0.5195.125 (Official Build, ungoogled-chromium) Arch Linux (64-bit)
Active flags: /usr/lib/chromium/chromium --force-dark-mode --enable-features=OverlayScrollbar --force-dark-mode --enable-features=OverlayScrollbar --disable-features=GlobalMediaControls --enable-crashpad --flag-switches-begin --bookmark-bar-ntp=never --blink-settings=disallowFetchForDocWrittenScriptsInMainFrame=true --extension-mime-request-handling=always-prompt-for-install --keep-old-history --ozone-platform-hint=auto --scroll-tabs=always --enable-features=OverlayScrollbar,CopyLinkToText,GlobalMediaControlsModernUI,ParallelDownloading,ReaderMode,TabSearchMediaTabs:Also+show+Media+Tabs+in+Open+Tabs+Section/true,UseDownloadOfflineContentProvider,VaapiVideoDecoder,WebContentsForceDark:inversion_method/cielab_based/image_behavior/none/foreground_lightness_threshold/150/background_lightness_threshold/205,WebRtcHideLocalIpsWithMdns,WebRtcHybridAgc --disable-features=GlobalMediaControls,ClearDataOnExit,LiveCaption,MediaSessionWebRTC,WebRtcAnalogAgcClippingControl --flag-switches-end --ozone-platform=x11

KDE Plasma ~5.26.3 (uptime of 88 days with updates makes this uncertain) on Arch Linux with Linux 5.19.11-arch1-1 active. This is unlikely to matter to how Chromium renders the scrollbar, as it's using the CSS scrollbar rather than native.

At the time of noticing this, Redshift was active with a 3250K colour temperature and 80% brightness on top of the minimum brightness of both displays, which tends to amplify any low contrast issues such as this.

This cannot be reproduced on Firefox for as it doesn't implement any hooks for the webpage to override the scrollbar, instead electing to always render its own, as either an overlay, GTK's, or Windows'.

I have not yet started Chromium with only force dark to verify that the WebContentsForceDark (chrome://flags/#enable-force-dark) flag set to Selective inversion of select non-image elements is causing the poor contrast of the scrollbar.

I have also not yet tested to see if the light theme scrollbar of the webpage similarly has a poor contrast ratio yet.

Outdated team listing page

There are a few discrepancies between the official team listing page and the actual teams as can be seen through Discord:

  • @tempest15 is still included as a Moderator; she became a Community Manager on March 6, 2023.
  • @TibiNonEst is not yet included as a Moderator; they graduated from trainee status on March 9, 2023.
  • @FoundationGames, a Chasm developer per the Team: Chasm role on the Discord server, has neither team data (per TeamData.js) nor included as a Chasm developer.
  • @Geolykt is no longer in the Tooling or Community servers, and seems to not be in the organization (at least from the perspective of a non-member). They are currently included as a Decompilers team member.
  • @TheGlitch76 and @ix0rai are not yet included as Quilted Fabric API members; they have the Team: QFAPI role on the Discord server.
  • @Oliver-makes-code and @Akarys42 are included in the Events Team on the page but they do not have the Events Team role on the (community) Discord server.
  • The Update Leader role on the Discord server has no equivalent listing on the page.

The Update Leader role and the note for FoundationGames were brought up in #92, which has still gone unmerged.

Remove me

I don't want to be tied with this shit
and y- who cares just remove me form the shit

Upgrade to Node 18/19, also upgrade Astro if possible

Thanks to #115, we can now use modern Node versions without Cloudflare having a heart attack, so we should upgrade. 18 is the LTS version, but I see no reason why we shouldn't upgrade to 19 if we can.

We should also upgrade to Astro 2.x if our extensions support it.

New launcher: BakaXL

Hello Quilt Team,

I loved Quilt Loader and I found one of a third-party Minecraft Launcher "BakaXL" that I used mostly has support Quilt installation as soon as they hear Quilt project.

So after asking their developers, I would like to recommend Quilt Homepage and Docs add "BakaXL" as one of the third-party Minecraft Launcher that support Quilt.

They have currently working on English support for their website, but English localization has already finished inside Launcher itself.

Anyway, If you allowed, I'll write the tutorial as fast.

Regards.

image

add header links for the blog

blog posts should have a clickable permalink button that appears when the header is hovered, just like the one on the Team Listings page.
the permalink button on the team listings page

Fix navigation on mobile

The site navigation is incredibly strange on mobile - instead of collapsing into a menu button, the entire menu shows, expanded, above the page content.

Move to `pnpm`

yarn 1.x is frozen and not under development anymore, and pnpm symlinks packages to save disk space

They are functionally basically the same so yarn.lock could be removed and pnpm install run to migrate

Modrinth launcher not on install page

Hi !
I just wanted to bring the fact that the Modrinth launcher (that just launched) isn't mentioned here, even if there is quilt as an option to create an instance
image

(Sorry if this issue is not in the right place / Not useful, I am "new" to github) !

Console errors caused by the Technic Launcher update script (+ more)

Currently, whenever you visit a page that is not the Technic Launcher install page, you would get a similar console error to this:

Uncaught (in promise) TypeError: e is null
    g https://quiltmc.org/en/:1

This is due to the fact that the Technic Launcher update script is currently incorrectly bundled and run on every page on the site, and the script obviously fails to find specific elements that only exist in the Technic page.

Now, this is actually a bit of a hard issue to solve, since the fundamental issue doesn't even lie in the fact that we're bundling the wrong script in the wrong pagesβ€”the real issue is, the Technic Launcher script should only be run on the client; the static site generator can't just look up the latest Technic release and substitute that into the built site, as that would defeat the point entirely.

Thusly, in Astro we must mark the script as a client-only script, which doesn't allow us to use ESM modules within our code. This is feasible with the patch notes viewer due to its simplicity, but with Technic we have about 200 lines of TypeScript combined to do the taskβ€”perhaps we would need to precompile the code into client-side friendly JS with something like rollup and then directly include it in the built site, but I'm not sure whether that's worth the maintenance costs this extra mechanism takes.

Modmail privacy policy is outdated

the modmail privacy policy page says we are using Starchild System's ModMail+, which I believe is no longer the case. The page should be updated.

Add Installer Download page

I don't have the URLs to give right now, but I need an "install quilt" page on the website with two buttons: Windows x64, Universal.
Some extra space for adding guides for specific launchers (I know PolyMC and ATL are already lined up to add quilt support during the beta) would be nice

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.