Skip to content

deepakdinesh1123/valhalla

Repository files navigation

Valhalla

A next-generation code execution platform powered by Odin

Built with Next.js Powered by Vercel AI SDK Nix Enabled

✨ Features

  • 🤖 AI-Powered Code Generation - Intelligent code generation using Vercel's AI SDK + Open AI
  • Real-Time Execution - Instant code execution powered by Odin engine
  • 🔒 Reproducible Environments - Automatic flake.nix generation for perfect reproducibility
  • 🎯 Modern Interface - Clean, responsive UI built with Next.js

🚀 Quick Start

Prerequisites

Setup

  1. Clone the repository:
git clone https://github.com/valkyrie-sh/valhalla.git
cd valhalla
  1. Configure environment:
cp .env.example .env
  1. Add your keys to .env:
OPEN_API_KEY=your_api_key_here
# Add other required keys from .env.example

Development

Using Nix (Recommended)

nix develop
pnpm install
pnpm dev

Without Nix

pnpm install
pnpm dev

Your development server will be running at http://localhost:3000 🎉

🏗️ Architecture

graph LR
    A[Valhalla UI] --> B[Vercel AI SDK]
    B --> C[Code Generation]
    C --> D[Odin Engine]
    D --> E[Output]
    D --> F[flake.nix]
Loading

🔧 Reproducible Environments

Every code execution automatically generates a flake.nix file that can be seen next to the output panel, enabling perfect reproducibility of your development environment. To use a generated flake:

nix develop 

🤝 Getting Help

Need the Odin execution engine API key? Contact us:


Built with ❤️ by the Valkyrie Team