Skip to content
This repository was archived by the owner on Oct 26, 2026. It is now read-only.
AstraClient-IndiaPublic archive

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

Β 

History

16 Commits

Folders and files

Repository files navigation

πŸš€ Astra Client 2.0 (v7.0.0)

Next-Generation Minecraft Utility Launcher & Tournament-Grade Anti-Cheat Suite

Version 7.0.0 Electron Vite React AstraGuard Groq AI License


🌟 Overview

Astra Client is a state-of-the-art Minecraft utility client, custom launcher, and competitive tournament ecosystem. Designed from the ground up for speed, aesthetic beauty, and competitive fairness, Astra Client pairs a sleek modern interface with enterprise-grade security and artificial intelligence.

Whether playing casual survival or competing in verified high-stakes tournaments, Astra Client delivers top-tier FPS performance, seamless mod management, and bulletproof anti-cheat enforcement.


✨ Key Features

πŸ›‘οΈ Astra Guard Anti-Cheat & Security Suite

  • Cryptographic Modpack Seals: Locks client instances using SHA-256 checksum manifests and AES-256-GCM verification. Unauthorized file injections or modified .jar files are blocked immediately before launch.
  • In-Process Watchdog & Anti-Attach: Monitors dynamic process memory and terminates unauthorized debuggers (Cheat Engine, x64dbg, Process Hacker) and dynamic Java Agent injectors.
  • Zero-Day DLL Shield: Whitelists trusted overlays (OBS Studio, Discord, NVIDIA ShadowPlay, RTSS) while blocking foreign or malicious DLL hooks injected from Temp or Downloads.
  • Hardware ID (HWID) Attestation: Generates unforgeable device-specific hashes to enforce tournament hardware bans and prevent ban evaders.
  • Companion Server Plugin: Includes the official Spigot/Paper/Purpur companion plugin (AstraGuardPlugin) supporting live HMAC-SHA256 heartbeat checks over the astra:guard channel.

πŸ€– Intelligent AI Ecosystem (Groq Powered)

  • Astra AI Assistant: In-launcher AI specialized in Minecraft optimization, JVM arguments, mods, and troubleshooting.
  • Astra Scout Crash Diagnostics: Decodes complex Minecraft crash logs and stack traces in seconds, identifying the culprit mod and offering automated one-click fixes (disable, update, or replace incompatible mods).

πŸ“¦ Content & Modpack Manager

  • Integrated Modrinth Browser: Search, preview, and download mods, resource packs, shaders, and data packs directly inside the launcher.
  • Auto-Dependency Resolver: Automatically detects and downloads missing dependencies (such as Fabric API, MaLiLib, Cloth Config) in a single click.

⚑ Performance & Engine Core

  • Multi-Loader Support: Run Vanilla, Fabric, Forge, NeoForge, and OptiFine seamlessly across Minecraft 1.8.9 through 1.21.x+.
  • Automatic Java Runtime Management: Detects local Java installations or automatically downloads official Eclipse Temurin runtimes (Java 8, 17, and 21) based on the target Minecraft version.
  • Smart Memory Allocation: Dynamic RAM slider with preset optimizations and memory guardrails to prevent OutOfMemory crashes.

🎨 Customization & Social Features

  • Themes & Celestial UI: Four custom-crafted themes (Overworld, Nether, The End, Obsidian/Classic) paired with cinematic star convergence splash animations.
  • Live 3D Skin & Cape Viewer: Interactive 3D avatar preview powered by skinview3d.
  • Discord Rich Presence: Fully customizable Discord status with instance name, elapsed playtime, and live status toggle.
  • Integrated Screenshot Editor: Crop, apply live visual filters (brightness, contrast, saturation, blur), and generate instant sharing links.

πŸ—οΈ Architecture & Project Structure

AstraClient2.0/
β”œβ”€β”€ .github/                  # CI/CD automation and build workflows
β”œβ”€β”€ build/                    # Installer configuration and NSIS scripts
β”œβ”€β”€ plugin code/              # Astra Guard Spigot / Paper server plugin (Java 17 / Maven)
β”‚   β”œβ”€β”€ src/                  # Server-side event listeners and heartbeat validator
β”‚   β”œβ”€β”€ pom.xml               # Maven configuration
β”‚   └── README.md             # Plugin build & configuration guide
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ main/                 # Electron Main Process (Node.js)
β”‚   β”‚   β”œβ”€β”€ astraAI.js        # Groq-powered AI chat handler
β”‚   β”‚   β”œβ”€β”€ astraGuard.js     # Modpack manifest lock & SHA-256 integrity checker
β”‚   β”‚   β”œβ”€β”€ astraGuardHWID.js # Hardware ID calculation
β”‚   β”‚   β”œβ”€β”€ astraGuardProtocol.js # Cryptographic heartbeat & HMAC tokens
β”‚   β”‚   β”œβ”€β”€ astraGuardWatchdog.js # Memory scanner & injection watchdog
β”‚   β”‚   β”œβ”€β”€ astraScout.js     # Crash log analyzer & automated mod repair
β”‚   β”‚   β”œβ”€β”€ discordRPC.js     # Discord Rich Presence provider
β”‚   β”‚   β”œβ”€β”€ googleAuth.js     # Google OAuth handler with AES-256 token encryption
β”‚   β”‚   β”œβ”€β”€ index.js          # Electron app lifecycle & IPC routing
β”‚   β”‚   β”œβ”€β”€ javaManager.js    # Automated Java detection & downloader
β”‚   β”‚   β”œβ”€β”€ launcher.js       # Minecraft launch execution & process manager
β”‚   β”‚   β”œβ”€β”€ modpackManager.js # Modpack import, export, and dependency installer
β”‚   β”‚   β”œβ”€β”€ msAuth.js         # Microsoft OAuth device flow
β”‚   β”‚   β”œβ”€β”€ performance.js    # Optimization mod injection
β”‚   β”‚   └── serverManager.js  # Server list parser and NBT reader
β”‚   β”œβ”€β”€ preload/              # Secure Electron IPC bridge (contextIsolation)
β”‚   └── renderer/             # React 18 frontend (Vite)
β”‚       └── src/
β”‚           β”œβ”€β”€ components/   # UI tabs (Dashboard, Instances, Accounts, AstraAI, Settings, etc.)
β”‚           β”œβ”€β”€ resources/    # Graphical assets, icons, themes, and audio
β”‚           └── index.css     # Global theme variables and design system
β”œβ”€β”€ .env.example              # Environment variables template
β”œβ”€β”€ electron.vite.config.js   # Electron Vite build bundler configuration
└── package.json              # App metadata and dependencies

βš™οΈ Configuration & Environment Variables

All sensitive API keys and secrets are loaded securely from environment variables or a local .env file via dotenv. The .env file is excluded from Git to prevent exposing credentials.

To configure your environment:

  1. Copy the provided template:
    cp .env.example .env
  2. Open .env and fill in your keys:
Environment Variable Required Description
GROQ_API_KEY Recommended Powers Astra AI chat and Astra Scout crash log diagnosis. Get a free key at Groq Console.
GOOGLE_CLIENT_ID Optional Google OAuth Client ID for cloud profile sync.
GOOGLE_CLIENT_SECRET Optional Google OAuth Client Secret.
ASTRA_GUARD_SECRET Optional Shared HMAC-SHA256 secret for in-game anti-cheat verification. Matches shared-secret in the server plugin.
ASTRA_GUARD_API_URL Optional Cloud heartbeat endpoint (default: https://api.astraclient.in/api/guard/heartbeat).
MONGODB_URI Optional Reserved connection string for custom external MongoDB databases (e.g. telemetry, external stats, or profile storage).

Note for Developers: If GROQ_API_KEY is not provided, the launcher will continue to launch and run Minecraft normally, and will display a clean, non-crashing notice when opening AI features.


πŸ› οΈ Development Setup

Prerequisites

  • Node.js: v18.0.0 or higher
  • npm: v9.0.0 or higher
  • Java JDK: JDK 17 or higher (only needed if compiling the plugin code server companion)

1. Clone & Install Dependencies

git clone https://github.com/viyomog/AstraClientApp.git
cd AstraClientApp
npm install

2. Set Up Environment

cp .env.example .env

3. Start Development Mode

Launches Electron with hot module reloading (HMR) for both the renderer and main processes:

npm run dev

4. Build Production Artifacts

# Build Vite and Electron bundles
npm run build

# Package installer for Windows (NSIS .exe) / Linux (AppImage & tar.gz)
npm run dist

Compiled production installers will be placed in the dist/ directory.


πŸ›‘οΈ Astra Guard Server Plugin Setup

If you run a Minecraft server and want to mandate Astra Client with locked modpacks for your players:

  1. Navigate to the plugin folder:
    cd "plugin code"
  2. Build the .jar using Maven:
    mvn clean package
  3. Place target/AstraGuardSpigot-1.0.0.jar into your Minecraft server's plugins/ directory.
  4. Restart your server. Configure settings and your shared secret in plugins/AstraGuard/config.yml.

πŸ”’ Security Best Practices

  • No Hardcoded Secrets: Never commit .env or hardcode raw API tokens into tracked source code.
  • Tokens Encrypted at Rest: Minecraft and Google authentication tokens stored on the client machine are encrypted locally with AES-256-CBC.
  • Integrity Enforcement: Never distribute modified client binaries with altered HMAC secrets to maintain server attestation validity.

πŸ“„ License

This project is licensed under the MIT License. Minecraft is a registered trademark of Mojang AB / Microsoft. Astra Client is not affiliated with Mojang or Microsoft.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages