No description
Find a file
Claude 8a1c5531a2
Add Spatial template library and activate platform (Phase 5)
Completed multi-platform expansion with Spatial Creator Toolkit support,
bringing total platforms to 3 active (Roblox, UEFN, Spatial).

New File: src/lib/templates-spatial.ts
- 10 production-ready Spatial TypeScript templates
- Categories: Beginner (2), Gameplay (4), UI (2), Tools (1), Advanced (1)

Templates include:
1. hello-world - Basic Spatial SDK usage
2. player-tracker - Player join/leave events
3. object-interaction - Click handlers and 3D object interaction
4. countdown-timer - Timer with UI updates
5. score-tracker - Score management with leaderboards
6. trigger-zone - Spatial trigger zones for area detection
7. object-spawner - Spawning objects at intervals
8. teleporter - Teleportation system with pads
9. animation-controller - Advanced object animations
10. voice-zone - Proximity-based voice chat areas

Updated: src/lib/templates.ts
- Import spatialTemplates
- Add to combined templates export
- Total templates now: 43 (25 Roblox + 8 UEFN + 10 Spatial)

Updated: src/lib/platforms.ts
- Changed Spatial status from 'coming-soon' to 'beta'
- Spatial now appears in platform selector
- activePlatforms now includes Spatial

Impact:
 3 platforms now active (Roblox, UEFN, Spatial)
 Users can switch to Spatial and see 10 templates
 TypeScript syntax highlighting in editor
 Translation Roblox ↔ Spatial ready
 Translation UEFN ↔ Spatial ready
 43 total templates across all platforms

Strategic Achievement:
- Multi-platform vision expanded
- VR/AR platform support added
- Cross-platform translation covers more pairs
- Competitive advantage strengthened
2026-01-17 23:41:45 +00:00
.github Initial commit 2026-01-17 02:45:47 +00:00
.next modified: .next/server/server-reference-manifest.json 2026-01-17 21:32:45 +00:00
app Add theme customization system with 5 themes 2026-01-17 22:24:34 +00:00
components new file: .next/cache/config.json 2026-01-17 05:02:00 +00:00
lib new file: .next/cache/config.json 2026-01-17 05:02:00 +00:00
public modified: .next/server/server-reference-manifest.json 2026-01-17 21:32:45 +00:00
src Add Spatial template library and activate platform (Phase 5) 2026-01-17 23:41:45 +00:00
store new file: .next/cache/config.json 2026-01-17 05:02:00 +00:00
.env.example Integrate Claude API for real AI-powered translation (Phase 4) 2026-01-17 23:22:43 +00:00
.eslintrc.json new file: .next/cache/config.json 2026-01-17 05:02:00 +00:00
.gitignore Initial commit 2026-01-17 02:45:47 +00:00
.spark-initial-sha Generated by Spark: # Create Next.js app 2026-01-17 02:46:02 +00:00
CLAUDE_API_SETUP.md Integrate Claude API for real AI-powered translation (Phase 4) 2026-01-17 23:22:43 +00:00
components.json Initial commit 2026-01-17 02:45:47 +00:00
CONTRIBUTING.md Add CLI command development guide to CONTRIBUTING.md 2026-01-17 22:38:26 +00:00
IMPLEMENTATION_ROADMAP.md Add comprehensive implementation roadmap for strategic vision 2026-01-17 22:52:21 +00:00
index.html Generated by Spark: ? 2026-01-17 02:52:12 +00:00
LICENSE Initial commit 2026-01-17 02:45:47 +00:00
next-env.d.ts new file: .next/cache/config.json 2026-01-17 05:02:00 +00:00
next.config.js new file: .next/cache/config.json 2026-01-17 05:02:00 +00:00
package-lock.json modified: .next/server/server-reference-manifest.json 2026-01-17 21:32:45 +00:00
package.json Set up comprehensive testing infrastructure with Vitest 2026-01-17 22:07:40 +00:00
PHASE_4_COMPLETE.md Add Phase 4 completion summary and success documentation 2026-01-17 23:23:44 +00:00
postcss.config.js new file: .next/cache/config.json 2026-01-17 05:02:00 +00:00
PRD.md Generated by Spark: Create a cloud-based game development IDE called "AeThex Studio" using Next.js and Tailwind. 2026-01-17 03:02:17 +00:00
QUICKSTART.md new file: .next/cache/config.json 2026-01-17 05:02:00 +00:00
README-NEW.md new file: .next/cache/config.json 2026-01-17 05:02:00 +00:00
README.md Integrate Claude API for real AI-powered translation (Phase 4) 2026-01-17 23:22:43 +00:00
runtime.config.json Add spark configuration 2026-01-17 04:20:14 +00:00
SECURITY.md Initial commit 2026-01-17 02:45:47 +00:00
spark.meta.json Generated by Spark: ? 2026-01-17 02:52:12 +00:00
tailwind.config.js Fix multiple runtime safety and type issues across codebase 2026-01-17 21:34:32 +00:00
tailwind.config.ts new file: .next/cache/config.json 2026-01-17 05:02:00 +00:00
TEST_README.md Set up comprehensive testing infrastructure with Vitest 2026-01-17 22:07:40 +00:00
theme.json Initial commit 2026-01-17 02:45:47 +00:00
tsconfig.json new file: .next/cache/config.json 2026-01-17 05:02:00 +00:00
vite.config.ts Initial commit 2026-01-17 02:45:47 +00:00
vitest.config.ts Set up comprehensive testing infrastructure with Vitest 2026-01-17 22:07:40 +00:00

AeThex Studio

A powerful, multi-platform browser-based IDE for game development with AI-powered cross-platform code translation, modern tooling, and an intuitive interface. Build once, deploy everywhere.

AeThex Studio License Next.js React

🌟 What Makes AeThex Studio Different

Cross-Platform Translation Engine - The only IDE that translates your code between game platforms:

  • 🎮 Roblox Lua UEFN Verse🌐 Spatial TypeScript🎯 Core Lua
  • AI-powered intelligent code conversion
  • Platform-specific best practices applied
  • Side-by-side comparison view
  • Explanation of key differences

Build once, deploy everywhere. Write your game logic in Roblox, translate to UEFN with one click.

Features

🌍 Multi-Platform Support NEW!

  • Platform Switching - Work with Roblox, UEFN, Spatial, or Core
  • Platform-Specific Templates:
    • 🎮 Roblox: 25 Lua templates
    • UEFN: 8 Verse templates (Beta)
    • 🌐 Spatial: Coming soon
    • 🎯 Core: Coming soon
  • Cross-Platform Translation - AI-powered code conversion between platforms
  • Side-by-Side Comparison - Compare original and translated code
  • Smart Editor - Language highlighting adapts to selected platform

🎨 Modern Code Editor

  • Monaco Editor - The same editor that powers VS Code
  • Multi-language Support - Lua, Verse, TypeScript
  • Real-time code validation and linting
  • Multi-file editing with tab management
  • File tree navigation with drag-and-drop organization

🤖 AI-Powered Assistant

  • Built-in AI chat for code help and debugging
  • Context-aware suggestions
  • Code explanation and documentation
  • Roblox API knowledge

📁 Project Management

  • File Tree - Organize your scripts into folders
  • Drag-and-drop - Rearrange files easily
  • Quick file search (Cmd/Ctrl+P) - Find files instantly
  • Search in files (Cmd/Ctrl+Shift+F) - Global text search

🎯 Productivity Features

  • 33+ Code Templates - Ready-made scripts for multiple platforms
    • Roblox (25 templates):
      • Beginner templates (Hello World, Touch Detectors, etc.)
      • Gameplay systems (DataStore, Teams, Combat, etc.)
      • UI components (GUIs, Timers, etc.)
      • Advanced features (Pathfinding, Inventory, etc.)
    • UEFN (8 templates):
      • Beginner (Hello World, Player Tracking)
      • Gameplay (Timers, Triggers, Damage Zones)
      • UI (Button Interactions)
      • Tools (Item Spawners)
  • Command Palette (Cmd/Ctrl+K) - Quick access to all commands
  • Keyboard Shortcuts - Professional IDE shortcuts
  • Code Preview - Test your scripts instantly

💻 Interactive Terminal & CLI

  • Built-in Terminal - Full-featured command line interface
  • 10+ CLI Commands for Roblox development:
    • help - Display available commands
    • run - Execute current Lua script
    • check - Validate syntax and find errors
    • count - Count lines, words, characters
    • api <class> - Lookup Roblox API documentation
    • template [list|name] - Browse and load templates
    • export [filename] - Export scripts to .lua files
    • clear - Clear terminal output
    • info - Display system information
    • echo - Print text to terminal
  • Command History - Navigate previous commands with ↑/↓ arrows
  • Auto-completion - Tab-complete command names
  • Smart Suggestions - Context-aware command hints
  • Toggle with Cmd/Ctrl + ` - Quick terminal access

🎨 Customization

  • 5 Beautiful Themes:
    • Dark - Classic dark theme for comfortable coding
    • Light - Clean light theme for bright environments
    • Synthwave - Retro neon aesthetic
    • Forest - Calming green tones
    • Ocean - Deep blue theme
  • Persistent preferences - Your settings are saved

📱 Mobile Responsive

  • Optimized layouts for phones and tablets
  • Touch-friendly controls
  • Hamburger menu for mobile
  • Collapsible panels

🚀 Developer Experience

  • Code splitting for fast loading
  • Error boundaries with graceful error handling
  • Loading states with spinners
  • Toast notifications for user feedback
  • Testing infrastructure with Vitest

🎮 Perfect For

  • Multi-Platform Developers - Build for Roblox, UEFN, Spatial, and Core from one IDE
  • Game Studios - Translate games between platforms with AI assistance
  • Roblox → UEFN Migration - Converting existing Roblox games to Fortnite
  • Students & Learners - Learn multiple game development languages
  • Rapid Prototyping - Build once, deploy to multiple platforms
  • Web-Based Development - Code anywhere, no installation needed

⌨️ Keyboard Shortcuts

Shortcut Action
Cmd/Ctrl + S Save file (auto-save enabled)
Cmd/Ctrl + P Quick file search
Cmd/Ctrl + K Command palette
Cmd/Ctrl + N New project
Cmd/Ctrl + F Find in editor
Cmd/Ctrl + Shift + F Search in all files
Cmd/Ctrl + ` Toggle terminal

🚀 Getting Started

Prerequisites

  • Node.js 18+
  • npm or yarn

Installation

# Clone the repository
git clone https://github.com/AeThex-LABS/aethex-studio.git

# Navigate to the project directory
cd aethex-studio

# Install dependencies
npm install

# Start the development server
npm run dev

Visit http://localhost:3000 to see the application.

🔑 Enabling Cross-Platform Translation

To unlock the AI-powered code translation feature, you need a Claude API key:

  1. Get API Key: Visit Anthropic Console and create a new API key

  2. Configure Environment:

    # Copy example environment file
    cp .env.example .env.local
    
    # Edit .env.local and add your API key
    VITE_CLAUDE_API_KEY=sk-ant-api03-your-api-key-here
    
  3. Restart Dev Server:

    npm run dev
    
  4. Test Translation:

    • Open AeThex Studio
    • Click "Translate" button in toolbar
    • Watch real AI translation happen! 🎉

📖 Full Setup Guide: See CLAUDE_API_SETUP.md for detailed instructions, cost estimates, and troubleshooting.

💡 Note: Without an API key, the app works perfectly but shows mock translations instead of real AI conversions.

Building for Production

# Build the application
npm run build

# Start the production server
npm start

📖 Usage Guide

Creating Your First Script

  1. Click "New File" in the file tree
  2. Choose a template or start from scratch
  3. Write your Lua code in the Monaco editor
  4. Click "Preview" to test
  5. Copy or Export your script

Using Templates

  1. Click the Templates button in the toolbar
  2. Browse categories: Beginner, Gameplay, UI, Tools, Advanced
  3. Click a template to load it into your editor
  4. Customize the code for your needs

AI Assistant

  1. Open the AI Chat panel (right side on desktop)
  2. Ask questions about:
    • Roblox scripting
    • Code debugging
    • API usage
    • Best practices
  3. Get instant, context-aware answers

Organizing Files

  • Create folders - Right-click in file tree
  • Drag and drop - Move files between folders
  • Rename - Click the menu (⋯) next to a file
  • Delete - Use the menu to remove files

Searching

  • Quick search - Cmd/Ctrl+P to find files by name
  • Global search - Cmd/Ctrl+Shift+F to search text across all files
  • In-editor search - Cmd/Ctrl+F to find text in current file

🛠️ Tech Stack

  • Next.js 14 - React framework
  • React 18 - UI library
  • TypeScript - Type safety
  • Monaco Editor - Code editor
  • Tailwind CSS - Styling
  • Radix UI - Component primitives
  • Phosphor Icons - Icon library
  • Vitest - Testing framework
  • PostHog - Analytics (optional)
  • Sentry - Error tracking (optional)

🧪 Running Tests

# Run all tests
npm test

# Run tests in watch mode
npm run test:watch

# Run tests with UI
npm run test:ui

# Generate coverage report
npm run test:coverage

📂 Project Structure

aethex-studio/
├── src/
│   ├── components/        # React components
│   │   ├── ui/           # Reusable UI components
│   │   ├── CodeEditor.tsx
│   │   ├── FileTree.tsx
│   │   ├── AIChat.tsx
│   │   └── ...
│   ├── hooks/            # Custom React hooks
│   ├── lib/              # Utility functions
│   │   ├── templates.ts  # Code templates
│   │   └── ...
│   └── App.tsx           # Main application
├── app/                  # Next.js app directory
│   └── globals.css       # Global styles
├── public/               # Static assets
└── tests/                # Test files

🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

📝 Code Templates

AeThex Studio includes 25+ production-ready templates:

Beginner:

  • Hello World, Player Join Handler, Part Touch Detector, etc.

Gameplay:

  • DataStore System, Teleport Part, Team System, Combat System, etc.

UI:

  • GUI Buttons, Proximity Prompts, Countdown Timers, etc.

Tools:

  • Give Tool, Sound Manager, Admin Commands, Chat Commands, etc.

Advanced:

  • Round System, Inventory System, Pathfinding NPC, Shop System, etc.

🐛 Bug Reports

Found a bug? Please open an issue on GitHub with:

  • Description of the bug
  • Steps to reproduce
  • Expected vs actual behavior
  • Screenshots (if applicable)

📜 License

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

🙏 Acknowledgments

  • Monaco Editor - For the powerful code editor
  • Roblox - For the game platform
  • Radix UI - For accessible component primitives
  • Vercel - For Next.js framework

📧 Contact


Built with ❤️ by the AeThex team

Happy coding! 🎮