Skip to content

YNG-CLIENT/Client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

31 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿšจ ALPHA Release โ€“ Still in Development ๐Ÿšจ

YNG Client ๐ŸŽฎ

License: MIT Platform Electron Node.js

A modern, free open-source Minecraft launcher for Windows and Linux

YNG Client is a sleek, modern Minecraft launcher built with Electron and Node.js. Featuring Microsoft OAuth2 authentication, automatic version management, and a flashy, clean interface that rivals commercial Minecraft clients. Built by the community, for the community.

โœจ Features

๐Ÿ” Secure Authentication

  • Microsoft OAuth2 integration for official Minecraft accounts
  • Offline mode for development and testing
  • Secure token storage and management

๐ŸŽฏ Version Management

  • Automatic Minecraft version detection and downloading
  • Support for Release, Snapshot, and Beta versions
  • Smart caching and update system
  • One-click version switching

โšก Performance & Customization

  • Configurable Java memory allocation (up to 16GB)
  • Custom JVM arguments support
  • Optimized game directory management
  • Background downloads with progress tracking

๐ŸŽจ Modern Interface

  • Flashy, clean design with animated backgrounds
  • Sidebar navigation with smooth transitions
  • Glassmorphism effects and modern card layouts
  • Platform support indicators (Windows โœ…, Linux โœ…, macOS โณ)
  • Real-time notifications and progress tracking

๐ŸŒ Cross-Platform Support

  • Windows โœ… Full support
  • Linux โœ… Full support
  • macOS โณ Maybe in the future (but Mac is the worst OS ๐Ÿ˜‰)

๐Ÿš€ Quick Start

Prerequisites

  • Node.js 18+
  • npm or yarn
  • Java 8+ (for Minecraft)

Installation

  1. Clone the repository

    git clone https://github.com/YNG-Client/Client.git
    cd YNG-Client
  2. Install dependencies

    npm install
  3. Start the application

    npm start

Building from Source

# For Windows
npm run build:win

# For Linux  
npm run build:linux

# For all platforms
npm run build

๐ŸŽฎ How to Use

First Launch

  1. Login: Click "Sign in with Microsoft" to authenticate with your Minecraft account
  2. Select Version: Choose your preferred Minecraft version from the dropdown
  3. Configure Settings: Adjust memory allocation and game directory if needed
  4. Launch: Click the "Launch Minecraft" button to start playing!

Navigation

  • ๐Ÿ  Home: Quick launch with version selector and user profile
  • ๐Ÿ“ฆ Versions: Browse and manage all Minecraft versions
  • โš™๏ธ Settings: Configure memory, Java args, and directories
  • โ„น๏ธ About: View launcher info and feature details

๐Ÿ› ๏ธ Configuration

Game Settings

  • Memory Allocation: Adjust RAM usage (512MB - 16GB)
  • Java Arguments: Add custom JVM parameters
  • Game Directory: Choose where Minecraft files are stored
  • Version Filtering: Show/hide snapshots and beta versions

Launcher Settings

  • Keep Launcher Open: Option to close launcher when game starts
  • Auto Updates: Automatic launcher update notifications
  • Authentication: Microsoft OAuth2 or offline mode

๐Ÿ—๏ธ Development

Project Structure

YNG Client/
โ”œโ”€โ”€ src/
โ”‚   โ”œโ”€โ”€ main/                 # Main Electron process
โ”‚   โ”‚   โ”œโ”€โ”€ auth-manager.js   # Microsoft OAuth2 authentication
โ”‚   โ”‚   โ”œโ”€โ”€ minecraft-manager.js # Version management & downloads
โ”‚   โ”‚   โ””โ”€โ”€ launcher-manager.js  # Game launching logic
โ”‚   โ””โ”€โ”€ renderer/             # Frontend interface
โ”‚       โ”œโ”€โ”€ index.html        # Modern UI with sidebar navigation
โ”‚       โ”œโ”€โ”€ styles.css        # Flashy CSS with animations
โ”‚       โ””โ”€โ”€ app.js           # Frontend application logic
โ”œโ”€โ”€ package.json
โ””โ”€โ”€ README.md

Technology Stack

  • Frontend: HTML5, CSS3 (Grid/Flexbox, Custom Properties, Animations), Vanilla JavaScript
  • Backend: Electron 27.0.0, Node.js 20.x
  • Authentication: Microsoft Identity Platform (OAuth2)
  • Design: Inter font, Glassmorphism, Dark theme, Gradient backgrounds

๐Ÿ› Troubleshooting

Common Issues

GPU Process Crashes on Windows

  • The launcher includes automatic workarounds for GPU-related crashes
  • If issues persist, try updating your graphics drivers

Authentication Fails

  • Ensure you have a valid Minecraft account
  • Check your internet connection
  • Try restarting the launcher

Game Won't Launch

  • Verify Java is installed and accessible
  • Check game directory permissions
  • Ensure sufficient disk space for downloads

๐Ÿค Contributing

We welcome contributions from the community! This is a free, open-source project built for everyone.

How to Contribute

  • ๐Ÿ› Report bugs on GitHub Issues
  • ๐Ÿ’ก Suggest features and improvements
  • ๐Ÿ”ง Submit pull requests for bug fixes or new features
  • ๐Ÿ“š Help improve documentation
  • ๐ŸŽจ Contribute UI/UX improvements

Development

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Test thoroughly
  5. Submit a pull request

๐Ÿ“„ License

This project is licensed under the MIT License - completely free and open-source.

๐Ÿ™ Acknowledgments

  • Mojang Studios for creating Minecraft
  • Microsoft for Xbox Live authentication services
  • Electron team for the cross-platform framework
  • Open Source Community for inspiration and support

FAQ

  • Why Would We Need ANOTHER client? You don't you should NOT need another client VS the base minecraft client.... BUT microsoft dose not care about the looks or performance even MOST major clients don't saying Hey! Let me spend 20$ for a FUCKING CAPE.
  • How can the client be open source BUT Connect to the YNG Client API? We care about security and have the API source code limited to 2 people @KoopaCode & @iakzs you connect to it using our API url setup via the /src/main/src/main/config.js file!
  • Will the API ever be open source? Depends aslong as we continue the development we WONT release the source for the API. If the development ever stops we WILL release the API & or update the client to have the API built in & or make it setup to play without the API
  • Can I OPT out of using the YNG API? Kinda? We are working on making a documentation so YOU can create you're OWN api! and set the new API endpoint in the settings tab. We plan to setup a OPT out of auto updates and YNG Client API option SOON!
  • How do the YNG Client Capes work? We create capes on our Appwrite DB and upload to there bucket and the client will check if the signed in user was granted the said cape!
  • What DO we store in our API? We Store 1. UUID 2. Username 3. Granted Capes 4, Client Version! Everything else is disgraded and not synced to our Appwrite

๐ŸŽฎ YNG Client - Free Open Source Minecraft Launcher ๐ŸŽฎ

Built with โค๏ธ for the Minecraft community

Windows โœ… | Linux โœ… | macOS โณ

About

A open source Minecraft launcher

Resources

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published

Contributors 2

  •  
  •