CS2Inspect Documentation
Welcome to the comprehensive documentation for CS2Inspect, a web application for Counter-Strike 2 players to customize and manage their in-game item loadouts.
Table of Contents
Getting Started
- User Guide For End Users - How to use the application
- Setup Guide For Developers - Complete development environment setup
- How It Works Core Concepts - User flows and core features explained
- FAQ Troubleshooting - Frequently asked questions and troubleshooting
Technical Documentation
- Architecture System Design - System architecture and technology stack
- Components Reference - Frontend and backend component reference
- API Reference Endpoints - Complete API endpoint documentation
Deployment & Contributing
- Deployment Guide Production - Production deployment instructions
- Contributing Guide Community - How to contribute to the project
Additional Resources
- Health Checks Monitoring - Comprehensive health monitoring system
- Theme Customization Styling - UI theming and styling guide
- Sticker Slots Advanced - Sticker slot configuration
- Glassmorphism UI Effects - Glass effect styling guide
Quick Start
For Users
- Access the Application: Navigate to the deployed CS2Inspect instance
- Login: Click "Login with Steam" to authenticate
- Create Loadout: Set up your first loadout configuration
- Customize Items: Select weapons, skins, stickers, and more
- Save & Manage: Your configurations are automatically saved
See the User Guide for detailed instructions.
For Developers
# Clone the repository
git clone https://github.com/sak0a/cs2inspect-web.git
cd cs2inspect-web
# Install dependencies
npm install
# Configure environment
cp .env.example .env
# Edit .env with your settings
# Start development server
npm run devSee the Setup Guide for detailed instructions.
What is CS2Inspect?
CS2Inspect is a full-stack web application that allows Counter-Strike 2 players to:
- Customize Weapon Skins: Choose from thousands of skins with full float value, pattern seed, and StatTrak™ control
- Manage Multiple Loadouts: Create unlimited loadout configurations and switch between them instantly
- Apply Stickers & Keychains: Add and position stickers on weapons with the advanced Visual Customizer
- Configure Knives & Gloves: Separate T/CT side configurations with all skin options
- Select Agents: Choose agents from all factions for both teams
- Import from Inspect URLs: Parse CS2 inspect links to import item configurations
- Generate Inspect Links: Create masked inspect URLs from your configurations
CS2Inspect Plugin Integration
This web application is designed to work with the CS2Inspect Plugin (CounterStrikeSharp) for CS2 game servers. The plugin reads loadout configurations directly from the shared database and applies them in-game. The web application provides the user interface for players to configure their loadouts, while the plugin handles the in-game application.
Note: The CS2Inspect Plugin is currently in a private repository and may be released as open-source or as a paid product in the future. The web application can be set up independently, but it's primarily designed for use with the plugin to provide the complete loadout management experience.
Architecture Overview
Frontend (Nuxt 3 + Vue 3)
├── Pages & Components
├── Pinia Stores
├── Composables
└── Internationalization (EN, DE, RU)
Backend (Nitro Server)
├── API Routes
├── CS2 Inspect System
├── Steam Integration
└── Database Layer (MariaDB)
External Services
├── Steam OpenID (Authentication)
├── Steam Web API
└── Steam Game CoordinatorSee the Architecture Guide for detailed information.
Documentation Structure
Core Guides
| Document | Purpose | Audience |
|---|---|---|
| User Guide | Using the application | End users |
| Setup | Development environment setup | Developers |
| How It Works | Feature explanations and flows | All users |
| Architecture | System design and structure | Developers, DevOps |
| Components | Component reference | Frontend developers |
| API Reference | Endpoint documentation | Backend developers |
| Deployment | Production deployment | DevOps, Administrators |
| Contributing | Contribution guidelines | Contributors |
| FAQ | Common questions & issues | All users |
Specialized Topics
- Health Monitoring: Comprehensive health check system with real-time monitoring (HEALTH_CHECKS.md)
- Theme Customization: UI theming, color schemes, and styling (theme-customization.md)
- Sticker Configuration: Weapon sticker slot definitions (StickerSlots.md)
- CS2 Inspect System: Protobuf encoding/decoding, Steam GC integration (CS2_INSPECT_SYSTEM_README.md)
- Type System: TypeScript interfaces and data structures (types/README.md)
Key Features
Weapon Customization
- Thousands of Skins: Browse and select from the complete CS2 skin catalog
- Float Control: Precise float value adjustment (0.00 - 1.00)
- Pattern Seeds: Set pattern seed for special skins (Case Hardened, Fade, etc.)
- StatTrak™: Enable StatTrak™ and set kill count
- Name Tags: Custom weapon names
- Stickers: Apply up to 5 stickers per weapon
- Keychains: Attach keychains (CS2 feature)
Advanced Tools
- Visual Customizer: Canvas-based sticker positioning with drag-and-drop, rotation, and scaling
- Inspect URL Processing: Import items from Steam Market or player inventories
- Multi-Loadout System: Unlimited loadout configurations
- Team-Based Configuration: Separate T/CT configurations for knives, gloves, and agents
Technical Features
- Server-Side Rendering: Nuxt 3 SSR for optimal performance
- Real-Time Validation: Client and server-side validation
- Type Safety: Full TypeScript implementation
- Internationalization: Multi-language support (EN, DE, RU)
- Responsive Design: Works on desktop, tablet, and mobile
- Health Monitoring: Built-in health check system with status dashboard
- Automatic Migrations: Database schema migrations run on startup
- Docker Ready: Includes HEALTHCHECK for container orchestration
Technology Stack
Frontend
- Framework: Nuxt 3 (Vue 3 + TypeScript)
- UI Library: Naive UI
- Styling: Tailwind CSS + SASS
- State: Pinia
- Icons: Iconify + MDI
- Charts: Chart.js + vue-chartjs
Backend
- Runtime: Node.js with Nitro
- Database: MariaDB/MySQL (with automatic migrations)
- Authentication: Steam OpenID + JWT
- CS2 Integration: cs2-inspect-lib, node-cs2
- Health Monitoring: Built-in health check system
DevOps
- Build: Vite
- Testing: Vitest + Vue Test Utils
- Linting: ESLint
- Container: Docker + Docker Compose (with HEALTHCHECK)
- Deployment: Vercel compatible
- Monitoring: Health checks + status dashboard
Contributing
We welcome contributions! Please read the Contributing Guide for:
- Code standards and style guide
- Development workflow
- Pull request process
- Issue guidelines
- Testing requirements
Internationalization
We especially welcome contributions for translations! The application currently supports:
- English (EN)
- German (DE)
- Russian (RU)
To contribute translations:
- Check the
locales/directory for existing language files - Copy the English (
en.json) file - Translate the strings to your language
- Test your translations in the application
- Submit a pull request
See the Contributing Guide for detailed instructions on adding new languages.
Credits
Main Author
- @sak0a - Creator and maintainer
Dependencies & Libraries
This project is built with the help of many excellent open-source libraries:
- Nuxt 3 - Vue.js framework
- Naive UI - Vue 3 component library
- cs2-inspect-lib - CS2 item inspection
- node-cs2 - Steam Game Coordinator integration
- And many more - See
package.jsonfor the complete list
Contributors
All contributors who have submitted pull requests, reported bugs, suggested features, or helped improve documentation.
License
[Add your license information here]
Quick Links
- Repository: https://github.com/sak0a/cs2inspect-web
- Issues: Report bugs and request features
- Discussions: Ask questions and share ideas
Support
Need help? Check these resources:
- User Guide - Step-by-step usage instructions
- FAQ - Common questions and solutions
- Documentation - Search this docs directory
- GitHub Issues - Search existing issues
- GitHub Discussions - Ask the community
Related Projects
- cs2-inspect-lib: CS2 item inspection library
- node-cs2: Steam Game Coordinator integration
- csgo-fade-percentage-calculator: Fade pattern calculations
Documentation Updates
This documentation is actively maintained. Last major update: January 2025
Contributing to Docs: Found an error or want to improve the documentation? See Contributing Guide.
Navigation
Getting Started → User Guide → Setup Guide → How It Works
Development → Architecture → Components → API Reference
Deployment → Deployment Guide
Contributing → Contributing Guide
Built with ❤️ by the CS2Inspect community