Changelog Page, Steadier Pages and an Inventory Value Guide
Release notes now have their own page, pages no longer jump around while they load, and a new guide explains how to check what a CS2 inventory is worth.
- NewNew changelog page at /changelog with every release and its date. The homepage changelog box and the About page link straight to each release.
- NewNew guide: How to check your CS2 inventory value, in English, Chinese and Russian.
- DesignProfiles show a clear heading with the inventory value and item count at the top.
- FasterProfiles, the skin database and item pages no longer shift while loading, and the skin database is available within seconds after an update.
- ImprovedThe homepage search button now reads Check value, and the popular profiles row loads with the page.
- SEOClearer page titles for inventory value searches and one consistent brand profile across all pages.
CS2 Skin Price Database, Case Pages and Share Cards
CSGAIN now has a free price database for the whole CS2 market: Buff163 and Steam prices for more than 27,000 items, with pages for every skin, case, collection and weapon. Profiles and items get share cards for Discord, Reddit and X, and the dashboard compares your skins with the market.
- NewCS2 Skin Price Database at /skins: Buff163 and Steam prices for every CS2 item, a market map, top movers, filters and a page per item with price history and a Buff163 vs Steam calculator.
- NewCase pages with every skin inside, drop odds and a rough expected value per opening, plus pages for all collections and a price list for every weapon, knife and glove type.
- NewShare cards: every profile and item link now unfolds into a preview image on Discord, Reddit and X. Use the new Share button to post, copy the link or download the image.
- NewYou vs the market on the dashboard: how the skins you hold performed over 7 and 30 days compared with the CSGAIN CS2 Skin Index.
- ImprovedItem names on profiles and in the dashboard now link to their price page in the skin database.
- FasterNew profiles load faster: prices come from the daily full-market update first, and items under $1 no longer need their own price lookups.
- FixedLarge inventories on the dashboard no longer trigger hundreds of chart requests at once; the small price charts load as you scroll.
CSGAIN V2 - A Cleaner, Faster Look
The whole site has a new look: calmer graphite surfaces, a sharper type system and an animated starfield background. Pages render lighter, and the homepage is reorganised so the leaderboard comes first. No features changed: stickers, Buff163 and Steam prices per item, cosmetics and the dashboard all work as before.
- DesignNew V2 design across the landing page, profiles, dashboard and blog: neutral graphite panels, one consistent accent blue, and clear green and red for profit and loss.
- DesignNew typography: Inter for all interface text, with evenly spaced digits so prices and P&L line up in columns. The CSGAIN wordmark keeps its original Orbitron font and blue.
- DesignAnimated starfield background with slow drift and scroll parallax. It pauses in background tabs and stays still if your system has reduced motion turned on.
- FasterLighter rendering: removed the blur effect on every card, the glow shadows and the full-screen grid and gradient overlays, so scrolling large inventories is smoother. Item cards now appear instantly instead of animating in.
- ImprovedHomepage reorganised: the leaderboard now sits directly under the search, followed by the feature overview, then the latest blog posts and changelog side by side, then the FAQ.
- DesignRestyled controls: segmented tabs for filters and navigation, solid primary buttons, clearer focus rings for keyboard users, and higher-contrast secondary text.
- ImprovedCompact changelog on the homepage: each release shows its top 3 changes, and "Show full changelog" expands the rest.
Dashboard V2 - Analytics, Goals, Market Movers
Ten new dashboard features shipped with zero extra API calls, a dedicated superadmin management page, market-reactive KPI cards, mobile layout fixes, PE call tracking, and a batch of security hardening updates.
- NewMarket-reactive KPI cards - Portfolio Value and Total P&L now instantly update when you switch between Buff163 and Steam in the chart. 24h/7d delta badges recalculate from portfolio history for whichever market is selected.
- NewDaily P&L chart mode - toggle between Value and Daily P&L bar chart in the portfolio chart header. Bar colors are green/red per day. Powered entirely from existing price snapshot history.
- NewPortfolio Heat Map - new Analytics tab showing each item as a heat tile (size = portfolio weight, color = ROI). Includes ROI distribution bar chart and hold-time breakdown across your positions.
- NewMarket Movers widget - third widget in the dashboard row showing top 5 gainers and losers over 24h from Buff163 price snapshots. Gainers/Losers tab toggle. New /api/market-movers endpoint.
- NewGoal Tracking - set portfolio value goals with label, target value, and optional deadline. Progress bars show current portfolio value as a percentage of target. Full CRUD: GET/POST/DELETE /api/goals with user_goals table.
- NewTrade Analytics bar - compact 4-stat summary bar (realized P&L, win rate, trades logged, best trade) shown at the top of Overview when trade data exists. Loaded silently in background on dashboard load.
- NewAuto-refresh - 5-minute countdown timer in the nav bar. Click to force an immediate refresh without a full page reload. Countdown resets after each refresh.
- NewKPI delta badges - 24h and 7d percentage change badges on the Portfolio Value card, sourced from leaderboard_snapshots history (no extra API calls).
- NewAnalytics tab - fourth nav tab housing the heat map, ROI distribution chart, and hold-time breakdown panels.
- NewPE API call tracking - every PriceEmpire batch call (success and failure) is now logged to a pe_api_calls SQLite table with timestamp, batch size, success flag, and error message. History persists across server restarts. Prepared statements hoisted to module level to avoid per-call recompilation overhead.
- FixedSocial profiles tab in the admin panel was invisible immediately after login - only appeared after closing and reopening the overlay. Fixed by calling populateProfileTab() when the overlay is already open.
- FixedBest Sell Candidates and Spread Opportunities cards were not vertically aligned in the same row. Both panels now share a 2-column grid with display:flex;flex-direction:column so inner grids always start at the same Y position.
- FixedDouble currency conversion bug in animated P&L values - absVal was computed as Math.abs(tp) * fx then passed again as absVal * fx to animateValue, applying the exchange rate twice. Fixed.
- DesignMobile: KPI row collapses to 2 columns on tablet (≤768px) and 1 column on mobile (≤480px). Widget row and insights row stack vertically. Goal add form stacks inputs. Refresh status badge hidden on small screens.
- Securityrobots.txt updated - Disallow: /dashboard and Disallow: /superadmin added to prevent crawling of private pages.
- SecurityX-Robots-Tag: noindex, nofollow response header added to the /dashboard and /superadmin page routes. Works even when robots.txt is ignored.
- Security<meta name="robots" content="noindex, nofollow"> added to dashboard.html and superadmin.html. Third layer of crawl protection alongside robots.txt and X-Robots-Tag.
- FasterPE call tracking prepared statements hoisted to module level - db.prepare() was being called on every batch completion inside fetchBatch(), recompiling SQL on each call. Now compiled once at startup and reused.
- Datauser_goals table added: id, user_id, label, target_value, target_date, created_at.
- Datape_api_calls table added: id, ts, batch_size, success, error_msg. Index on ts DESC.
Personal Dashboard, SEO & Visual Polish
Major update introducing the personal trading dashboard (alpha), full favicon & SEO overhaul, cosmetics fixes, mobile optimisations, and a range of bug fixes across the profile page and leaderboard.
- NewPersonal Dashboard (Alpha) - your own private trading cockpit. View your portfolio value chart, P&L, ROI, best sell candidates, spread opportunities, and CS2 major event countdown. Access via the Dashboard button after logging in. ⚠️ Still under construction - expect changes and bugs. We're on it.
- NewDashboard access control - the dashboard is fully private. Each user can only see their own portfolio. Pasting another user's URL shows an access denied screen with a redirect to your own dashboard.
- NewPortfolio value chart with market pills - select between Buff163 and Steam as your price source. The displayed value, KPI card, and chart line now always show the same number (sourced from price snapshots, not the live cache).
- NewMarket logos on price pills - official marketplace favicons (Buff163, Steam, Skinport, CSFloat) shown next to each market selector.
- NewCS2 Major Events widget - upcoming majors shown with organiser logo, location, and live countdown in days. Links to Liquipedia.
- NewSpread Opportunities widget - top arbitrage items from your inventory shown as item cards with icon, spread percentage, and both Buff163 and Steam prices side by side.
- NewBest Sell Candidates - horizontally scrollable item card row (7 items) with ‹ › navigation arrows. Shows your highest-ROI items with price and return.
- DesignOG share card redesigned - new two-column layout with large CSGAIN logo top-left, user avatar and name centred, CSGAIN.com in blue at the bottom, portfolio value dominant in blue on the right, and top 5 item icons with rank badges.
- DesignAvatar frame cosmetics simplified - all 6 frames (Blue, Golden, Galactic, Fire, Holy, King) are now clean glow animations only. No spinning borders. Each has its own colour personality and pulse rhythm.
- DesignHeader backgrounds fixed - Fire (warm ember glow from bottom), Holy (golden beam from top), Galactic (deeper nebula + star field), King (molten gold from edges) now render correctly on the steam card.
- DesignKing cosmetic now visible in the customisation menu - carousel shows 4 items per page instead of 3, so all 7 options are reachable.
- DesignPRO badge on cosmetic tiles no longer clipped - repositioned outside the tile boundary with z-index above the carousel viewport.
- DesignKing nameplate animation slowed significantly - shimmer was too fast, now takes 9 seconds per cycle.
- DesignLong display names on the steam card are now truncated with ellipsis. Hover over the name to see the full name in a native tooltip.
- DesignHeader logo increased to 90×90px on the profile page for better visibility.
- FixedBack to Profile button on the dashboard now always links to the logged-in user's own profile, not the homepage.
- FixedDashboard button was linking to an empty URL (/dashboard?userId=) - now correctly appends the logged-in user's Steam ID.
- FixedPrice sparkline graph on item card hover was briefly showing the old P&L text tooltip before the chart loaded - the text tooltip is now removed entirely, only the graph appears.
- FixedBadge tooltips on the steam card were clipped by the card boundary - rewritten to render in a global fixed-position element appended to document.body, escaping the backdrop-filter stacking context.
- FixedSteam inventory error messages made user-readable - 'Unexpected token' and other technical errors now show clear explanations: Private Inventory, Rate Limited, Access Denied, Steam Unavailable.
- SEOFavicon rebuilt - S-mark now fills 39% of the browser tab icon (up from 14%). Much more visible at 16px tab size.
- SEOComplete favicon set added across all pages: favicon.ico (16+32+48 embedded), favicon-32x32.png, favicon-16x16.png, apple-touch-icon.png.
- SEOsite.webmanifest created - enables PWA install prompt on Android Chrome, correct icon on home screen, and better Google rich results.
- SEOSchema.org Organisation logo updated to WebP (512px). og:image:width, og:image:height, og:image:type, og:locale and twitter:image:alt added across index and landing pages.
- FasterLogo served as WebP everywhere - 63% smaller than PNG. All <img> tags wrapped in <picture> with WebP source and PNG fallback.
- FasterGoogle Fonts weights trimmed - Rajdhani reduced from 4 weights to 2 (600, 700), JetBrains Mono from 4 to 3. Removes ~40–60KB of unused font data per page load.
- FasterWebP files now served with 24-hour browser cache headers, same as PNG/JS assets.
- DesignLanding page sentiment pill moved inline next to the leaderboard title - compact pill with pulsing dot, label, and percentage only. 'Top portfolios by total value' subtitle removed.
- DesignMobile optimisations across profile, landing, and dashboard pages - smaller sentiment pill, stacked layouts, hidden secondary columns, responsive hero logo.
Steam Login, Badges, Stickers & Phase 3
Steam OpenID auth, profile badges (view milestones + admin-granted), sticker overlays, market sentiment signal, OG card fixes, leaderboard auto-update, and SEO schema additions.
- NewSteam OpenID 2.0 login - sign in through Steam directly. Stateless verification with 3 security checks (op_endpoint, Steam64 regex, return_to). Rate limited to 20 attempts/min.
- NewBeta Tester and Early Adopter badges - custom hexagonal badge designs granted by super-admins. Shown inline next to name on steam card and leaderboard rows with tooltip.
- NewView milestone badges - earned automatically at 100, 1K, 10K, 100K and 1M profile views. Five distinct badge designs.
- NewProfile view counter - weekly and all-time views shown as a subtitle below the display name on the steam card.
- NewSticker display - applied stickers shown as overlay chips in the top-right corner of weapon images. Global fixed tooltip (never clipped by card overflow). Hover shows sticker name.
- NewMarket sentiment signal - value-weighted 7-day ROI aggregated across all leaderboard users. Shows Bullish/Bearish/Neutral with pulsing dot animation above the leaderboard.
- NewDynamic OG share cards - per-profile 1200x630 PNG with portfolio value, ROI, P&L, item count, and top holdings. Cache busts automatically when leaderboard snapshot updates.
- NewAdmin badge management - grant or revoke Beta Tester and Early Adopter badges per user from the admin panel. Uses correct x-admin-token header.
- FixedLeaderboard auto-update - cold-cache users (no active session) now update total_value directly from price_snapshots on every 15-min recompute pass, not just warm-cache users.
- FixedOG card logo position - CSGAIN wordmark and logo image lowered 10px to correct vertical alignment on the share card.
- FixedOG card cache invalidation - stale disk cache files for a steamId are now deleted before generating a new card, so updated portfolio values appear immediately.
- FixedSticker tooltip no longer clipped - tooltip uses fixed positioning appended to document.body, escaping item-card overflow:hidden entirely.
- SEO/leaderboard self-canonical - runtime JS overrides title, canonical, og:title and description when pathname is /leaderboard so it ranks independently from the homepage.
- SEOSoftwareApplication and HowTo schema added to landing page. Targets Google rich results for app listings and featured snippets for 'how to track CS2 inventory'.
- SEOHomepage title updated to 'CS2 Skin Portfolio Tracker & Inventory Manager' to better match search intent.
- DesignSentiment widget redesign - left accent bar (green/red gradient), pulsing glow dot, Orbitron percentage, breadth subtitle, and slide-in animation on load.
- DesignChangelog version tabs - clickable v1.2/v1.1/v1.0 pills, newest shown by default, items past 7 collapsed behind 'Show full changelog' toggle.
- SecuritySteam auth validates op_endpoint, claimed_id (Steam64 regex), and return_to URL before accepting any login. New users get bcrypt hash of 24 random bytes as password.
- FasterSentiment API cached 5 minutes in memory. Leaderboard cold-cache recompute uses direct SQL aggregation - no upstream API calls, no inventory cache required.
- NewSticker prices via lazy queue - sticker market prices fetched from PriceEmpire in the background with a 7-day TTL. Hover over a sticker chip to see the Buff163 price in the tooltip. Zero impact on inventory load time.
- NewPrice history sparkline tooltip - hover over any market price row on an item card to see a 7-day price chart with filled area, directional colour (green/red), and Net P&L. Fetched lazily and cached client-side per item.
- FixedP&L tooltip no longer clips - rewritten to use a global fixed-position div appended to document.body, same pattern as sticker tooltip. Never clipped by card overflow or grid boundaries.
- FixedTop/worst movers minimum $0.20 filter - items worth less than $0.20 (cases, pins, graffiti) excluded from the movers calculation to remove percentage noise from micro-priced items.
- FixedLeaderboard 'Updated X ago' display now reads MAX(computed_at) across all rows instead of the first row's timestamp, so it always reflects the most recent update.
- FixedLeaderboard recompute interval changed from 15 min to 60 min - prices don't change faster than this, reducing unnecessary DB load.
- FixedSticker name format normalised - Steam returns 'Sticker: Name' (colon) but PriceEmpire indexes as 'Sticker | Name' (pipe). All sticker name lookups now normalise the format before queuing or cache lookup.
- FixedSticker prices persisted with 7-day TTL in price_snapshots (user_id=0). Loaded back into memory cache on server restart so prices survive pm2 restarts without re-fetching.
- FixedBlog post H1 server-injected - {{POST_TITLE}} now replaces the H1 element server-side so crawlers see the real title instead of 'Loading…'.
- SEO/leaderboard route now injects correct title, canonical, og:title, og:url and H1 server-side - no longer depends on client-side JS that crawlers never execute.
- DesignSentiment signal above leaderboard - animated pulsing dot, left accent bar, Orbitron percentage, breadth subtitle, and slide-in animation. Replaces the previous flat bar design.
- FasterPrice history API (/api/price-history/:name) deduplicates snapshots to one per hour before returning, keeping sparkline payloads small. Results cached 60 min server-side per user+item+market.
SEO Foundation & Brand Consistency
Complete SEO infrastructure, brand standardisation to CSGAIN, login flow clarity, performance stack, and weekly view counter.
- SEOBrand standardised to CSGAIN everywhere - all title tags, og:title, twitter:title, og:site_name, logo alts, aria-labels, admin panel, server console banner.
- SEOProfile page titles are now server-injected: '$VALUE · Name's CS2 Inventory - CSGAIN'. Title replacement runs before {{DISPLAY_NAME}} substitution to avoid ordering bugs.
- SEOFAQPage schema with 15 questions added to landing.html. BreadcrumbList, ProfilePage, and Article schema on blog posts.
- SEOSitemap with lastmod, hreflang x-default on blog.html, blog?lang=ru/zh alternate tags. Sitemap served at /sitemap.xml.
- SEO/api/prices/save now returns 405 on GET with X-Robots-Tag: noindex, nofollow - prevents Google from indexing the POST-only API route.
- SEOX-Robots-Tag: noindex middleware added to all /api/* routes to prevent search engine crawling of API endpoints.
- NewWeekly view counter - profile visits tracked in recently_viewed table. /api/views/:steamId returns weekly and all-time counts with viewBadge milestone.
- DesignLogin flow clarity - two-column explainer above the login form showing Guest view vs. Log in to your profile with feature checklists.
- FasterSQLite WAL mode + PRAGMA synchronous=NORMAL + busy_timeout=5000 + cache_size=-8000. Leaderboard ETag caching with 60s Cache-Control.
- FasterPriceEmpire circuit breaker - 3 failures trigger 2-minute cooldown. In-flight deduplication prevents parallel API calls for the same item. 45s timeout.
- FasterPrice cache disk persistence at /data/price-cache.json - survives server restarts without requiring a fresh API round-trip.
- DesignSteam avatar uses _medium.jpg (64px) instead of _full.jpg (184px) - 66% smaller payload per profile load.
Initial Release GO LIVE
First public release of CSGAIN - live CS2 skin portfolio tracking with Buff163 prices, leaderboard, ROI calculator, and blog.
- NewLive inventory tracking via Steam public API - automatic item fetch, rarity detection, wear classification.
- NewMulti-market pricing - Buff163, Steam Market, Skinport, CSFloat. Portfolio value computed from Buff163 as primary source via PriceEmpire API.
- NewP&L and ROI tracking - set buy prices per skin, computed profit/loss and return on investment updated live.
- NewPublic leaderboard - top CS2 portfolios ranked by value, ROI, and 24h/7d change. Leaderboard snapshots every 15 minutes.
- NewBlog system - file-based posts with EN/ZH/RU auto-translation via Anthropic API. Article schema, banner images, tag filtering.
- NewCosmetics system - 7 profile frames, nameplates, and backgrounds. Earned or selected by users. Displayed on steam card and leaderboard.
- NewOG image generation - per-profile 1200x630 share cards via SVG-to-PNG using sharp. Cached 4h in memory and on disk.
- NewRecently viewed profiles - visitor tracking with cookie-based deduplication. Shown as pill row on profile pages.
- NewFollow system - follow up to 20 profiles, watchlist with live P&L delta feed.
- DesignDark-mode only UI with JetBrains Mono + Orbitron + Rajdhani typefaces. Responsive grid with item card pagination.