Skip to content

Latest commit

 

History

35 Commits

Folders and files

Repository files navigation

Site Status HTML5 Visibility Meta Achievements Ecosystem

A fast, lightweight web application for inspecting, testing, and visualizing Meta VR achievement account data exported as XML or fetched from the public User XML API (GET /api/userXML/:username.xml).


🌐 Meta Achievements Ecosystem

This repository is part of the Meta Achievements Organization:

Public Repositories

Private Repositories


🌟 Overview & Purpose

Meta Achievements Tester allows users and developers to test, inspect, and browse complete Meta VR achievement profile data. It supports both offline file inspection (via locally exported .xml files) and live public profile lookups using only unauthenticated, CORS-open public APIs.


🛠️ Key Features

1. Flexible Input & URL Parameter Modes

  • Local File Upload: Drag-and-drop or select any .xml file exported from the Meta Achievements settings page.
  • Username, Clean Profile URL, or XML URL Input: Paste any public Meta Achievements username (e.g. TheAndromedaCat or m4chetecolletti), clean profile URL (e.g. https://meta-achievements.org/profile/m4chetecolletti), legacy query URL (?username=...), or direct public XML URL (https://meta-achievements.org/api/userXML/m4chetecolletti.xml).
  • Direct URL Linking: Supports deep-linking query parameters (e.g. https://xml.meta-achievements.org/?user=TheAndromedaCat or ?username=TheAndromedaCat). Upon opening, the tester automatically fetches, parses, and displays the user's profile XML.

2. High-Performance Streaming & Large-Profile Rendering

  • Streaming Public XML Fetch: Streams large profile XML payloads (8+ MB / 400+ games / 12,000+ achievements) with real-time download progress, native HTTP ETag caching, AbortController cancellation on rapid retries, and Cache API offline resilience.
  • Single-Pass XML Parser: Traverses XML child elements linearly with UI event-loop yields so large profiles load smoothly without freezing the browser tab.
  • Game Pagination & Lazy On-Demand Expansion: Displays 24 / 48 / 100 / All games per page and renders each game's achievement list only when Show Achievements is clicked, with loading="lazy" decoding="async" image loading and debounced search.

3. User ID Privacy Protection & XML Download

  • Online Fetch Mode: When profile data is loaded via Username or Profile URL, the tester automatically hides the user's internal authentication User ID (Username: TheAndromedaCat) for privacy.
  • Download XML Button: A "Download XML File" button appears on the right side of the profile card when searching by username. Clicking this button exports the profile XML while automatically replacing the internal 32-bit UUID token (<user_id>TheAndromedaCat</user_id>) to protect private user keys.
  • Local File Mode: When viewing a local .xml file uploaded from disk, the User ID is displayed (ID: 101... | Username: TheAndromedaCat).

4. Profile Summary & Stats Card

  • User Header: Displays the user's display name, profile avatar, username, sync/export timestamps, and load time.
  • Stats Dashboard:
    • Games Tracked: Total games in the user's profile.
    • 100% Completed: Number of games with all achievements unlocked.
    • Achievements: Total count of unlocked achievements.
    • Earned Score: Earned score vs. total potential score across all games.

5. Interactive Game Cards & Badges

  • 100% Completion Gold Borders: Games with 100% completion feature a gold border gradient and a 100% Complete badge.
  • Platform Exclusives: Displays platform tags when present on the exported XML (Rift, Go, Quest 3, etc.).
  • Collapsible Achievements & Expandable Metadata: Click Show Achievements to load a game's achievements on demand, and click any achievement badge to reveal its Achievement ID, API Name, and inverted lock/unlock icon.
  • Multi-Level Image Fallbacks:
    • Primary achievement icon (unlocked_image_url / locked_image_url).
    • Fallback to game cover icon (app_icon_url) and SteamGridDB cover art.
    • Fallback to 🏆 (Unlocked) / 🔒 (Locked) emoji.

6. Search & Filtering

  • Debounced Real-Time Search: Search input filters game titles and achievement titles/descriptions smoothly across large libraries.
  • Filter Tabs:
    • All Games: Shows all tracked games.
    • 100% Completed: Filters only fully completed games.
    • In Progress: Filters games with remaining locked achievements.

📑 Supported XML Schema Specification

The viewer parses XML documents conforming to the following structure:

<?xml version="1.0" encoding="UTF-8"?>
<account_data>
  <profile>
    <user_id>12345678901234567</user_id>
    <username>TheAndromedaCat</username>
    <display_name>Andromeda</display_name>
    <profile_picture_url>https://meta-achievements.org/api/profile-avatar/TheAndromedaCat</profile_picture_url>
    <games_tracked>12</games_tracked>
    <completed_games>3</completed_games>
    <total_achievements_unlocked>85</total_achievements_unlocked>
    <total_score_earned>1450</total_score_earned>
    <total_score_potential>2200</total_score_potential>
    <last_synced_at>2026-07-30T18:45:12.345Z</last_synced_at>
    <exported_at>2026-07-30T20:27:00.000Z</exported_at>
  </profile>
  <games>
    <game>
      <app_id>2031736060288351</app_id>
      <app_name>Asgard's Wrath 2</app_name>
      <platform>Quest 3</platform>
      <app_icon_url>https://meta-achievements.org/cdn/images/2031736060288351/app_icon.png</app_icon_url>
      <total_achievements>45</total_achievements>
      <unlocked_achievements>45</unlocked_achievements>
      <is_complete>true</is_complete>
      <earned_score>1000</earned_score>
      <potential_score>1000</potential_score>
      <achievements>
        <achievement>
          <id>1270062758377706</id>
          <api_name>ACH_GOD_SLAYER</api_name>
          <title>God Slayer</title>
          <description>Defeat the final boss in Ancient Egypt.</description>
          <unlocked>true</unlocked>
          <unlock_date>2026-06-15T14:30:00Z</unlock_date>
          <score>100</score>
          <unlocked_image_url>https://meta-achievements.org/cdn/images/2031736060288351/1270062758377706_unlocked.png</unlocked_image_url>
          <locked_image_url>https://meta-achievements.org/cdn/images/2031736060288351/1270062758377706_locked.png</locked_image_url>
        </achievement>
      </achievements>
    </game>
  </games>
</account_data>

🚀 Deployment

Meta Achievements Tester is static HTML/CSS/JS and deploys natively to Cloudflare Pages, GitHub Pages, or any static host.


🤝 Project Attribution

Releases

Packages

Contributors

Languages