Skip to content

scros18/vera-rust-website

Repository files navigation

๐Ÿฆ€ Vera Rust

Premium Rust Server Network

Next.js TypeScript Tailwind CSS License

๐ŸŒ Live Site โ€ข ๐Ÿ“– Documentation โ€ข ๐Ÿš€ Quick Start โ€ข ๐Ÿ’พ Database Setup

Status Maintained Optimized

โœจ Enterprise-grade performance meets pixel-perfect design

๐Ÿš€ What's New

Latest Updates

  • โœ… Optimized Database System - PostgreSQL + localStorage fallback
  • โœ… Discord OAuth Integration - Login with Discord
  • โœ… Smooth Animations - GPU-accelerated, butter-smooth transitions
  • โœ… Custom SVG Icons - No emojis, professional icon system
  • โœ… Functional Forums - Bug reports, suggestions, staff applications
  • โœ… Performance First - Sub-100ms page loads, optimized rendering
  • โœ… Rust Server Integration - Live stats via RCON API

๐Ÿ“‹ Overview

A modern Next.js web application for the Vera Rust server network, featuring a full-stack authentication system, Pterodactyl-inspired admin panel, and glassmorphism UI with orange-to-red gradient accents.

๐ŸŽฏ Key Highlights

+ Discord OAuth authentication with auto-profile creation
+ Optimized database layer (PostgreSQL/localStorage)
+ Functional forum system with category guides
+ Real-time Rust server stats integration
+ GPU-accelerated animations and transitions
+ Professional SVG icon system (no emojis)
+ Mobile-first responsive design
+ SEO optimized with dynamic sitemap

โšก Features

๐Ÿ” Authentication System

  • Discord OAuth for seamless login
  • Local Storage Auth with React Context
  • Static Admin Access (admin@system.local)
  • Register, Login, Logout flows
  • Protected routes & middleware
  • User profiles with XP/Level system

๐ŸŽฎ User Experience

  • Profile Dashboard with stats & activity
  • Leaderboard Rankings (Level, Wins, Rate)
  • Server Browser with live status
  • Legacy Features showcase
  • Mobile Sidebar navigation

โš™๏ธ Admin Panel

  • 5-Tab Interface (Overview, Server, Console, Files, Users)
  • Server Controls (Start/Stop/Restart)
  • Live Console with command execution
  • File Manager with path navigation
  • User Management with role system

๐ŸŽจ Design System

  • Pterodactyl Colors (#0a0a0a, #131313, #1f1f1f)
  • Custom Fonts (Rajdhani, Orbitron)
  • Glass-morphism with backdrop blur
  • Orange-to-Red gradients
  • Fully Responsive (Mobile & Desktop)

๐Ÿ› ๏ธ Tech Stack

Category Technologies
Framework Next.js 14.2.5 (App Router)
Language TypeScript 5.0
Styling Tailwind CSS 3.4.1
State React Context API
Auth Custom Local Storage System
Fonts Rajdhani (300-700), Orbitron (400-900)

๐Ÿš€ Getting Started

Prerequisites

Node.js >= 18.17.1
npm >= 9.6.7

Installation

# Clone the repository
git clone https://github.com/scros18/vera-rust-website.git

# Navigate to project
cd vera-rust-website

# Install dependencies
npm install

# Run development server
npm run dev

Open http://localhost:3000 to view the site.

๐Ÿ”‘ Admin Access

Email: admin@system.local
Password: Password123

๐Ÿ“ Project Structure

vera-rust-website/
โ”œโ”€โ”€ ๐Ÿ“‚ src/
โ”‚   โ”œโ”€โ”€ ๐Ÿ“‚ app/
โ”‚   โ”‚   โ”œโ”€โ”€ ๐Ÿ“„ layout.tsx           # Root layout with metadata
โ”‚   โ”‚   โ”œโ”€โ”€ ๐Ÿ“„ page.tsx             # Homepage with hero & features
โ”‚   โ”‚   โ”œโ”€โ”€ ๐Ÿ“„ sitemap.ts           # Dynamic XML sitemap
โ”‚   โ”‚   โ”œโ”€โ”€ ๐Ÿ“‚ admin/
โ”‚   โ”‚   โ”‚   โ””โ”€โ”€ ๐Ÿ“„ page.tsx         # Admin panel (5 tabs)
โ”‚   โ”‚   โ”œโ”€โ”€ ๐Ÿ“‚ profile/
โ”‚   โ”‚   โ”‚   โ””โ”€โ”€ ๐Ÿ“„ page.tsx         # User profile dashboard
โ”‚   โ”‚   โ”œโ”€โ”€ ๐Ÿ“‚ login/
โ”‚   โ”‚   โ”‚   โ””โ”€โ”€ ๐Ÿ“„ page.tsx         # Login page
โ”‚   โ”‚   โ”œโ”€โ”€ ๐Ÿ“‚ register/
โ”‚   โ”‚   โ”‚   โ””โ”€โ”€ ๐Ÿ“„ page.tsx         # Registration page
โ”‚   โ”‚   โ”œโ”€โ”€ ๐Ÿ“‚ servers/
โ”‚   โ”‚   โ”‚   โ””โ”€โ”€ ๐Ÿ“„ page.tsx         # Server browser
โ”‚   โ”‚   โ”œโ”€โ”€ ๐Ÿ“‚ leaderboard/
โ”‚   โ”‚   โ”‚   โ””โ”€โ”€ ๐Ÿ“„ page.tsx         # Rankings
โ”‚   โ”‚   โ””โ”€โ”€ ๐Ÿ“‚ legacy/
โ”‚   โ”‚       โ””โ”€โ”€ ๐Ÿ“„ page.tsx         # Legacy features
โ”‚   โ”œโ”€โ”€ ๐Ÿ“‚ components/
โ”‚   โ”‚   โ””โ”€โ”€ ๐Ÿ“„ Navbar.tsx           # Navigation with mobile sidebar
โ”‚   โ”œโ”€โ”€ ๐Ÿ“‚ contexts/
โ”‚   โ”‚   โ””โ”€โ”€ ๐Ÿ“„ AuthContext.tsx      # Auth state management
โ”‚   โ””โ”€โ”€ ๐Ÿ“‚ lib/
โ”‚       โ””โ”€โ”€ ๐Ÿ“„ auth.ts              # Auth utilities & static admin
โ”œโ”€โ”€ ๐Ÿ“‚ public/
โ”‚   โ”œโ”€โ”€ ๐Ÿ–ผ๏ธ site-bg.jpg             # Background images
โ”‚   โ”œโ”€โ”€ ๐Ÿ–ผ๏ธ steam.webp              # Platform logos
โ”‚   โ”œโ”€โ”€ ๐Ÿ“„ robots.txt               # SEO robots file
โ”‚   โ””โ”€โ”€ ...
โ”œโ”€โ”€ ๐Ÿ“„ tailwind.config.ts           # Tailwind customization
โ”œโ”€โ”€ ๐Ÿ“„ next.config.mjs              # Next.js configuration
โ””โ”€โ”€ ๐Ÿ“„ package.json                 # Dependencies

๐ŸŽ›๏ธ Admin Panel

Pterodactyl-Inspired Server Management

The admin panel (/admin) features a comprehensive server management interface:

Tabs Overview

Tab Features
๐Ÿ“Š Overview Server stats, player count, resource usage, quick actions
๐Ÿ–ฅ๏ธ Server Control Start/Stop/Restart buttons, status indicators, resource bars
๐Ÿ’ป Console Live log display, command execution, colored output
๐Ÿ“ File Manager Path navigation, file browser, sizes, timestamps
๐Ÿ‘ฅ Users User management, role assignment, online status

Color Scheme

Background: #0a0a0a
Cards: #131313
Borders: #1f1f1f
Hover: #252525, #2a2a2a
Accents: Orange-to-Red gradients

๐ŸŽจ Design Features

Glassmorphism

backdrop-blur-xl
bg-black/50
border border-white/10

Custom Fonts

  • Rajdhani: Body text, headings (weights: 300, 400, 500, 600, 700)
  • Orbitron: Display text, buttons (weights: 400, 500, 600, 700, 800, 900)

Gradient Accents

from-orange-500 to-red-600   /* Primary gradient */
from-orange-400 to-red-500   /* Hover states */

๐Ÿ“ฑ Mobile Experience

  • Hamburger Menu with slide-in sidebar
  • Touch-Optimized navigation
  • Responsive Tables for admin panel
  • Centered Layout for mobile screens
  • Backdrop Blur overlay on sidebar open

๐Ÿ”ง Server Optimizations

Optimization Details
โšก Performance Latest-gen CPUs, NVMe SSDs, 60+ tick rate
๐Ÿ›ก๏ธ Protection Enterprise DDoS protection, 99.9% uptime
๐ŸŒ Network Strategic data centers, low latency routing
๐Ÿ’พ Memory Advanced RAM optimization, efficient caching
๐Ÿ”’ Security Enhanced anti-cheat, regular security audits
๐Ÿ’ฟ Backups Automated every 30 minutes, instant restore
๐Ÿ“Š Monitoring 24/7 real-time system oversight
๐Ÿ”„ Updates Seamless zero-downtime deployments

๐Ÿ“ฆ Scripts

npm run dev       # Start development server (localhost:3000)
npm run build     # Build for production
npm start         # Start production server
npm run lint      # Run ESLint checks

๐Ÿ—บ๏ธ Sitemap & SEO

  • Dynamic Sitemap: /sitemap.xml (auto-generated)
  • Robots.txt: Configured for optimal crawling
  • Meta Tags: Comprehensive SEO metadata
  • Open Graph: Social media preview cards
  • Keywords: 40+ targeted SEO keywords

๐Ÿ”ฎ Future Enhancements

Backend Integration

  • Database connection
  • Real authentication API
  • Server status polling
  • User data persistence

VPS Integration

  • SSH connection to Rust server
  • Real-time console streaming
  • File system operations
  • Server restart/stop commands

Features

  • Discord OAuth integration
  • Google OAuth integration
  • Achievement system
  • Clan/team features

Admin Panel

  • Real resource monitoring
  • Plugin management
  • Backup scheduling
  • User ban/kick system

๐Ÿ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.


๐Ÿ‘จโ€๐Ÿ’ป Development

Local Storage Keys

verarust_users          // All registered users
verarust_current_user   // Active session
verarust_passwords      // Password storage (demo)

Admin System

Static admin account bypasses normal authentication:

// src/lib/auth.ts
if (username === 'admin@system.local' && password === 'Password123') {
  return adminUser; // Level 99, unlimited access
}

๐ŸŒŸ Built with passion for the Rust community

Made by scros18 โ€ข โญ Star this repo

Report Bug โ€ข Request Feature


Last Updated: October 2025

About

The site that brands the Rust servers we host, with Server Management features & User Management.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors