Skip to content

A powerful, AI-enhanced online IDE that supports 12+ programming languages with real-time compilation, intelligent error analysis, collaborative editing, and comprehensive testing tools. Built for developers who demand speed, flexibility, and cutting-edge features.

License

Notifications You must be signed in to change notification settings

mrbrightsides/devarsenal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

โš”๏ธ Dev Arsenal

Dev Arsenal Next.js TypeScript License

An Advanced Blockchain-Integrated IDE with AI-Powered Development Tools

Built for LavaPunk Hackathon 2026 ๐Ÿ”ฅ

๐ŸŒ Website โ€ข ๐Ÿ“– Documentation โ€ข ๐Ÿ—๏ธ Architecture

Live Web App

Streamlit App

For security and IP protection, the full production code is currently hosted privately. This repository demonstrates the project structure and documentation.


๐ŸŽฏ Overview

Dev Arsenal is a next-generation online IDE that transforms traditional development tools into powerful "weapons" for developers. Combining blockchain technology with AI-assisted features, it provides a comprehensive development environment supporting 12+ programming languages with real-time execution, code quality analysis, bug hunting, and on-chain code verification.

Built as a submission for LavaPunk Hackathon 2026, Dev Arsenal showcases the fusion of Web3 technology with modern development practices.

๐ŸŒŸ Key Highlights

  • โš”๏ธ 12 Development Weapons - Specialized tools for every aspect of development
  • ๐Ÿค– AI-Powered Analysis - OpenAI GPT-4o integration for code optimization and quality checks
  • โ›“๏ธ Blockchain Integration - Proof-of-Build with Base blockchain verification
  • ๐Ÿ”ฅ Real Code Execution - Live compilation via Piston API for 11+ languages
  • ๐Ÿ“Š Quality Tracking - Comprehensive code quality metrics with historical trends
  • ๐Ÿ› Advanced Bug Detection - Multi-language bug hunting with severity classification
  • ๐Ÿ“ฆ Smart Package Management - AI-powered package recommendations and analytics
  • ๐ŸŽจ Battle-Tested UI - Monaco Editor integration with 6 professional themes

โš”๏ธ Weapons & Features

๐Ÿ  Arsenal HQ (Dashboard)

The command center for development activities.

  • Weapon Showcase - Quick access to all 12 specialized tools
  • Activity Tracking - Monitor weapon usage and development statistics
  • Battle Stats - Real-time metrics on code executions, bugs found, and packages managed
  • Language Arsenal - Support for JavaScript, TypeScript, Python, Solidity, Rust, Go, Java, C++, C#, PHP, Ruby, and Swift

๐Ÿ“ Snippet Arsenal

Pre-built code templates and snippets library.

  • 100+ Code Snippets across 9 categories (Hello World, Variables, Functions, Loops, Arrays, Classes, Async, API Calls, Algorithms)
  • Monaco Preview - Live syntax highlighting for snippet preview
  • One-Click Insertion - Instant code insertion into editor
  • Multi-Language Support - Templates for all supported languages

๐Ÿ’พ Code Vault

Persistent code storage and management system.

  • Local Storage - Save up to 50 projects locally
  • Code History - Track all saved codes with timestamps
  • Search & Filter - Find saved codes by language or content
  • Export/Import - Download code files with proper extensions
  • Shareable Links - Base64-encoded URL sharing with QR code generation

โš–๏ธ Syntax Showdown

Side-by-side language comparison tool.

  • Multi-Language Comparison - Compare code implementations across languages
  • Performance Analysis - Execution time and memory usage metrics
  • Verbosity Metrics - Line count and code complexity comparison
  • Learning Curve Assessment - Difficulty ratings and best use cases
  • Strengths & Weaknesses - Detailed analysis for each language

๐ŸŽฏ AI Cannon

AI-powered code optimization and generation.

  • OpenAI GPT-4o Integration - Real AI-powered analysis
  • Code Optimization - Intelligent performance improvement suggestions
  • Code Review - Comprehensive quality and security analysis
  • Error Fixing - AI-driven bug detection and solutions
  • Natural Language Generation - Convert descriptions to production code

๐Ÿ›ก๏ธ Quality Shield

Comprehensive code quality analysis system.

  • Multi-Dimensional Analysis - Security, Performance, Maintainability, Readability
  • Quality Scoring - 0-100 score with detailed breakdowns
  • Historical Trends - Track quality improvements over time with interactive charts
  • Sparkline Visualizations - Individual metric trends with up/down indicators
  • Achievement Tracking - Personal best, improvement streaks, and quality badges
  • Pattern Detection - Identify common code quality issues

๐Ÿ› Bug Hunter

Advanced multi-language bug detection engine.

  • 5 Bug Categories - Syntax, Logic, Security, Performance, Best Practices
  • Severity Levels - Critical, High, Medium, Low with color coding
  • Auto-Scan Mode - Real-time bug detection while coding
  • Line-Level Detection - Precise bug location with code snippets
  • Fix Suggestions - Actionable recommendations for each bug
  • Hunt History - Track all bug scans with statistics and achievements
  • Multi-Language Support - Language-specific patterns for JavaScript, Python, Solidity, Rust, and more

๐Ÿ“ฆ Arsenal Supply

Intelligent package management with AI analytics.

  • Comprehensive Package Database - 30+ popular packages with detailed metadata (downloads, stars, license, size)
  • Smart Search & Filters - Filter by category (Utilities, Frameworks, Testing, Data Science, Web3, HTTP, etc.)
  • Quick Install Templates - One-click installation of package bundles (Web API Starter, Testing Suite, Smart Contract Base, etc.)
  • AI-Powered Analytics - OpenAI integration for personalized package recommendations
  • Optimization Insights - AI-driven suggestions for arsenal improvement
  • Category Distribution - Visual breakdown of installed packages
  • Installation History - Complete activity log with timestamps
  • Statistics Dashboard - Real-time stats on total installed, size, and usage patterns

๐Ÿ” Proof-of-Build

Blockchain-based code verification system.

  • Base Blockchain Integration - On-chain code verification using Base network
  • IPFS Storage - Decentralized code storage via IPFS
  • Ethers.js Integration - Secure wallet connection and transaction signing
  • Build Certificates - Generate verifiable proof of code authorship
  • Timestamped Records - Immutable build history on blockchain
  • MetaMask Support - Seamless wallet integration

๐Ÿ† Performance Colosseum

Code execution and benchmarking arena.

  • Real-Time Execution - Live code compilation via Piston API
  • Performance Metrics - Execution time, memory usage, and output size tracking
  • Rating System - Excellent/Good/Fair/Slow performance classification
  • Multi-Language Execution - Support for 11+ compiled languages
  • Benchmark History - Track performance improvements over time
  • Visual Indicators - Color-coded performance feedback

โš™๏ธ Armory Settings

Comprehensive IDE configuration system.

Appearance Tab:

  • 6 Professional Themes (Dark, Light, Monokai, Nord, Dracula, GitHub)
  • Font Size Control (10px-24px)

Editor Tab:

  • Line Numbers Toggle
  • Minimap Display
  • Word Wrap Configuration
  • Auto Close Brackets
  • Whitespace Visibility
  • Indent Guides
  • Smooth Scrolling
  • Tab Size Control (2-8 spaces)

General Tab:

  • Auto Save with Configurable Delay (500ms-5s)
  • Execution Timeout Control (5s-30s)
  • Notification Preferences
  • Confirm Before Exit

Additional Features:

  • Export/Import Settings
  • Reset to Defaults
  • Persistent Preferences

๐Ÿ“Š Arsenal Intel

Development insights and information hub.

Overview Tab:

  • System Status Monitoring (Storage, AI Services, Code Execution)
  • Weapons Showcase with descriptions
  • Language Support Matrix

Live Stats Tab:

  • Real-Time Development Statistics
  • Arsenal Power Level with progress bars
  • Code Quality, Weapon Mastery, Bug Hunting Skills tracking
  • Favorite Language Detection

Tips & Tricks Tab:

  • 6+ Helpful Development Tips
  • Keyboard Shortcuts Guide
  • Feature Discovery

Changelog Tab:

  • Version History (v1.2.0 - January 2026)
  • Detailed Feature Updates
  • Release Dates and Highlights

Shortcuts Tab:

  • Complete Keyboard Shortcuts Reference
  • System Requirements
  • Browser Compatibility Guide

๐Ÿ› ๏ธ Technology Stack

Frontend Framework

  • Next.js 15.3.8 - React framework with App Router
  • TypeScript 5 - Type-safe development
  • React 19 - Latest React features with concurrent rendering

Styling & UI

  • Tailwind CSS - Utility-first CSS framework
  • shadcn/ui - Accessible and customizable component library
  • Lucide React - Beautiful icon library
  • Framer Motion - Smooth animations and transitions

Code Editor

  • Monaco Editor - VS Code's powerful code editor
  • @monaco-editor/react - React wrapper for Monaco
  • Syntax Highlighting - Support for 12+ programming languages
  • IntelliSense - Code completion and suggestions

AI & APIs

  • OpenAI GPT-4o - AI-powered code analysis and generation
  • Piston API - Real code compilation and execution
  • IPFS - Decentralized storage for code artifacts

Blockchain

  • Ethers.js v6 - Ethereum library for Web3 interactions
  • Base Network - Layer 2 blockchain for Proof-of-Build
  • MetaMask - Wallet connection and authentication
  • Smart Contracts - On-chain code verification

Data Management

  • LocalStorage API - Client-side persistence
  • QR Code Generation - Share functionality
  • Base64 Encoding - URL-safe code sharing

Integration

  • Farcaster SDK - Mini-app integration for Farcaster protocol
  • Farcaster Quick Auth - Seamless authentication

๐Ÿš€ Installation

Prerequisites

  • Node.js 18+ (LTS recommended)
  • npm, yarn, or pnpm package manager
  • Modern web browser (Chrome, Firefox, Safari, Edge)
  • MetaMask wallet (for blockchain features)

Setup Instructions

  1. Clone the repository
git clone https://github.com/mrbrightsides/devarsenal.git
cd devarsenal
  1. Install dependencies
npm install
# or
yarn install
# or
pnpm install
  1. Configure Environment Variables (Optional)
# Create .env.local file for API keys
OPENAI_API_KEY=your_openai_api_key
INFURA_PROJECT_ID=your_infura_project_id
  1. Run development server
npm run dev
# or
yarn dev
# or
pnpm dev
  1. Open browser
Navigate to http://localhost:3000

Production Build

npm run build
npm start

Docker Deployment (Optional)

docker build -t devarsenal .
docker run -p 3000:3000 devarsenal

๐Ÿ“– Usage Guide

Getting Started

  1. Select a Weapon - Choose from 12 specialized development tools
  2. Choose Language - Select from 12+ programming languages
  3. Write Code - Use Monaco Editor with syntax highlighting and auto-completion
  4. Execute & Analyze - Run code, hunt bugs, check quality, optimize with AI
  5. Save & Share - Store in Code Vault or share via blockchain

Key Features Workflow

Development Cycle:

Write Code โ†’ Run in Colosseum โ†’ Hunt Bugs โ†’ Shield Analysis โ†’ AI Optimization โ†’ Proof-of-Build

Quality Assurance:

Quality Shield โ†’ View Trends โ†’ Bug Hunter โ†’ Fix Issues โ†’ Re-analyze โ†’ Track Improvement

Package Management:

Arsenal Supply โ†’ Search Packages โ†’ Install โ†’ AI Analytics โ†’ Optimize Dependencies

Keyboard Shortcuts

Shortcut Action
Ctrl + Enter Execute code
Ctrl + S Save to vault
Ctrl + Shift + S Share code
Ctrl + E Export code
Ctrl + F Find in code
Ctrl + H Replace in code
Ctrl + Shift + F Format code
Ctrl + K Show shortcuts

๐ŸŽจ Themes

Dev Arsenal includes 6 professionally designed themes:

  • Dark - Classic dark theme with blue accents (default)
  • Light - Clean light theme for daytime development
  • Monokai - Popular Sublime Text-inspired theme
  • Nord - Arctic-inspired color palette
  • Dracula - Elegant dark theme with vibrant colors
  • GitHub - Familiar GitHub-style light theme

All themes support Monaco Editor synchronization and can be customized in Armory Settings.


๐Ÿ“‚ Project Structure

devarsenal/
โ”œโ”€โ”€ src/
โ”‚   โ”œโ”€โ”€ app/
โ”‚   โ”‚   โ”œโ”€โ”€ api/
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ analyze-error/        # AI error analysis endpoint
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ analyze-quality/      # Code quality analysis
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ compile/              # Code compilation
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ me/                   # Farcaster auth
โ”‚   โ”‚   โ”‚   โ””โ”€โ”€ proxy/                # External API proxy
โ”‚   โ”‚   โ”œโ”€โ”€ layout.tsx                # Root layout with Farcaster
โ”‚   โ”‚   โ””โ”€โ”€ page.tsx                  # Main Arsenal interface
โ”‚   โ”œโ”€โ”€ components/
โ”‚   โ”‚   โ”œโ”€โ”€ ui/                       # shadcn/ui components
โ”‚   โ”‚   โ”œโ”€โ”€ about.tsx                 # About Arsenal
โ”‚   โ”‚   โ”œโ”€โ”€ ai-analyzer.tsx           # AI error analyzer
โ”‚   โ”‚   โ”œโ”€โ”€ ai-code-assistant.tsx     # AI Cannon component
โ”‚   โ”‚   โ”œโ”€โ”€ arsenal-intel.tsx         # Arsenal Intel dashboard
โ”‚   โ”‚   โ”œโ”€โ”€ bug-hunter.tsx            # Bug Hunter tool
โ”‚   โ”‚   โ”œโ”€โ”€ code-editor.tsx           # Monaco Editor wrapper
โ”‚   โ”‚   โ”œโ”€โ”€ code-snippets.tsx         # Snippet Arsenal
โ”‚   โ”‚   โ”œโ”€โ”€ dashboard.tsx             # Arsenal HQ
โ”‚   โ”‚   โ”œโ”€โ”€ language-comparison.tsx   # Syntax Showdown
โ”‚   โ”‚   โ”œโ”€โ”€ package-manager.tsx       # Arsenal Supply
โ”‚   โ”‚   โ”œโ”€โ”€ performance-metrics.tsx   # Colosseum metrics
โ”‚   โ”‚   โ”œโ”€โ”€ proof-of-build.tsx        # Blockchain verification
โ”‚   โ”‚   โ”œโ”€โ”€ quality-shield.tsx        # Quality Shield analyzer
โ”‚   โ”‚   โ”œโ”€โ”€ saved-codes.tsx           # Code Vault
โ”‚   โ”‚   โ”œโ”€โ”€ settings.tsx              # Armory Settings
โ”‚   โ”‚   โ””โ”€โ”€ share-dialog.tsx          # Share functionality
โ”‚   โ”œโ”€โ”€ hooks/
โ”‚   โ”‚   โ”œโ”€โ”€ useAddMiniApp.ts          # Farcaster mini-app hook
โ”‚   โ”‚   โ”œโ”€โ”€ useIsInFarcaster.ts       # Farcaster detection
โ”‚   โ”‚   โ””โ”€โ”€ useQuickAuth.tsx          # Quick Auth integration
โ”‚   โ”œโ”€โ”€ lib/
โ”‚   โ”‚   โ”œโ”€โ”€ code-formatter.ts         # Code formatting
โ”‚   โ”‚   โ”œโ”€โ”€ code-storage.ts           # LocalStorage management
โ”‚   โ”‚   โ””โ”€โ”€ language-config.ts        # Language configurations
โ”‚   โ””โ”€โ”€ spacetime/                    # SpacetimeDB (if used)
โ”œโ”€โ”€ public/
โ”‚   โ””โ”€โ”€ .well-known/
โ”‚       โ””โ”€โ”€ farcaster.json            # Farcaster manifest
โ”œโ”€โ”€ README.md
โ”œโ”€โ”€ package.json
โ””โ”€โ”€ tsconfig.json

๐ŸŽฏ LavaPunk Hackathon 2026

This project was built for the LavaPunk Hackathon 2026, showcasing:

  • Innovation in Developer Tools - Gamified IDE with weapon-based metaphors
  • Blockchain Integration - Proof-of-Build with Base network and IPFS
  • AI-Powered Features - OpenAI integration for intelligent code analysis
  • Real-Time Execution - Live code compilation across 11+ languages
  • Web3 UX - Seamless blockchain interactions with MetaMask
  • Farcaster Integration - Mini-app support for social developer interactions

Hackathon Categories

  • โœ… Developer Tools
  • โœ… AI/ML Integration
  • โœ… Blockchain/Web3
  • โœ… Open Source Innovation

๐ŸŒ Live Demo

Production URL: Dev Arsenal

Features Enabled:

  • Full Arsenal with all 12 weapons
  • AI Cannon with OpenAI integration
  • Bug Hunter with multi-language support
  • Quality Shield with trend tracking
  • Arsenal Supply with AI analytics
  • Proof-of-Build with Base blockchain
  • Farcaster mini-app integration

๐Ÿ“Š Supported Languages

Language Extension Execution Syntax Snippets
JavaScript .js โœ… Piston โœ… Monaco โœ… 10+
TypeScript .ts โœ… Piston โœ… Monaco โœ… 10+
Python .py โœ… Piston โœ… Monaco โœ… 10+
Solidity .sol โš ๏ธ Basic โœ… Monaco โœ… 8+
Rust .rs โœ… Piston โœ… Monaco โœ… 8+
Go .go โœ… Piston โœ… Monaco โœ… 8+
Java .java โœ… Piston โœ… Monaco โœ… 10+
C++ .cpp โœ… Piston โœ… Monaco โœ… 8+
C# .cs โœ… Piston โœ… Monaco โœ… 8+
PHP .php โœ… Piston โœ… Monaco โœ… 8+
Ruby .rb โœ… Piston โœ… Monaco โœ… 8+
Swift .swift โœ… Piston โœ… Monaco โœ… 6+

Total: 100+ code snippets across all languages


๐Ÿ”ฎ Future Roadmap

Phase 2 (Q2 2026)

  • Multi-player collaborative editing with real-time cursors
  • Git integration with GitHub/GitLab
  • Cloud storage and cross-device sync
  • Advanced debugging with breakpoints
  • Extended blockchain support (Ethereum, Polygon, Arbitrum)

Phase 3 (Q3 2026)

  • Plugin system for community extensions
  • Mobile app for iOS and Android
  • Docker integration for isolated execution
  • Database management tools
  • API testing suite (Postman-like)

Phase 4 (Q4 2026)

  • Team workspaces and organizations
  • CI/CD pipeline integration
  • Advanced security scanning
  • Performance profiling tools
  • Marketplace for templates and plugins

๐Ÿ“„ License

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


๐Ÿ‘จโ€๐Ÿ’ป Author

Khudri Ahmad (mrbrightsides)


๐Ÿ™ Acknowledgments

Special thanks to:

  • LavaPunk Hackathon - For organizing this amazing event
  • Base Network - For blockchain infrastructure
  • OpenAI - For GPT-4o API access
  • Monaco Editor - Microsoft's powerful code editor
  • shadcn/ui - Beautiful and accessible component library
  • Next.js Team - For the incredible React framework
  • Vercel - For hosting and deployment platform
  • Piston API - For code execution engine
  • Farcaster - For mini-app protocol and SDK
  • Open Source Community - For continuous inspiration

๐Ÿ’ฌ Contact & Support

Get in Touch

Community

Join the Dev Arsenal community to:

  • Share feedback and suggestions
  • Report bugs and issues
  • Request new features
  • Contribute to development
  • Get support and help

โš”๏ธ Built for LavaPunk Hackathon 2026 ๐Ÿ”ฅ

Arming developers with next-generation tools

โญ Star this repository if Dev Arsenal helps with development!

๐Ÿ› Report Bug โ€ข ๐Ÿ’ก Request Feature โ€ข ๐Ÿ“– Documentation


ยฉ 2026 Khudri Akhmad. Licensed under MIT.

Made with โค๏ธ and โ˜• for the developer community

About

A powerful, AI-enhanced online IDE that supports 12+ programming languages with real-time compilation, intelligent error analysis, collaborative editing, and comprehensive testing tools. Built for developers who demand speed, flexibility, and cutting-edge features.

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages