← Discover MCPs and Agents
N
MCPAI & MLGitHub

Nepali-IDE-527785d6

Nepali IDE (Code IDE) — AI-native mobile IDE and code editor for Android built with Kotlin and Jetpack Compose. Syntax highlighting, Gemini AI code completion, built-in Python interpreter, HTML live preview, version history, Git integration, and project workspace.

Links

README

From the repo.

🇳🇵 Nepali IDE — Code IDE

A creation From Nepal

An AI-Native Mobile IDE & Code Editor Built with Kotlin & Jetpack Compose

Write, run, and manage code right from your Android device — powered by Google Gemini AI.

License Platform Language UI AI Database

Developer: Diwas Khatri · Built for Nepal 🇳🇵 · Made in Nepal


📖 Project Overview

Nepali IDE (Code IDE) is a sophisticated, AI-native mobile Integrated Development Environment (IDE) and code editor for Android, designed and developed by Diwas Khatri. It brings a desktop-class coding experience to your pocket — combining a full-featured code editor with syntax highlighting, an embedded Python interpreter, live HTML preview, an AI assistant powered by Google Gemini, and a complete project workspace with file versioning, Git integration, and local SQLite storage.

Built entirely with Kotlin and Jetpack Compose, the app follows modern Android architecture with a clean MVVM pattern, Room persistence, coroutine-based concurrency, and Firebase GenAI integration. Whether you are a student, a competitive programmer, or a professional developer, Nepali IDE lets you prototype ideas, practice algorithms, and ship features — all without leaving your phone.

Made in Nepal, for developers everywhere. Nepali IDE proves that world-class developer tools can be built locally — one line of Kotlin at a time.

✨ Key Features

🧠 AI-Powered Development (Google Gemini)

FeatureDescription
AI Code CompletionContext-aware code suggestions powered by the Gemini API, right inside the editor
AI Code AnalysisOne-tap intelligent review of your code — bugs, optimizations, and best practices
AI Unit TestingAutomatically generate unit tests for your code with a single click
AI Assistant PanelA dedicated chat-style drawer to brainstorm, debug, and explain code with Gemini

✍️ Smart Code Editor

FeatureDescription
Syntax HighlightingThemeable highlighting for Python, HTML/CSS, and web languages
Multi-Tab EditingOpen multiple files in tabs and switch between them instantly
Undo / RedoFull editing history with undo and redo support
Auto-SaveChanges are saved automatically so you never lose your work
Find & ReplacePowerful search-and-replace bar for quick refactoring
Custom Keyboard ToolbarMobile-friendly toolbar with common coding symbols for faster typing
Command PaletteVS Code-style command palette (Ctrl+P-like quick actions)
Status BarLive cursor position (line/column) and file information

🐍 Built-in Interpreters & Live Preview

FeatureDescription
Python InterpreterRun Python scripts and expressions directly on your device — no server needed
Python REPLInteractive Read-Eval-Print-Loop console for experimenting with code
HTML Live PreviewRender and preview HTML/CSS/JS output instantly in a built-in web view

📂 Project Workspace & Data

FeatureDescription
Project ManagementCreate, organize, and switch between multiple coding projects
File ExplorerFull drawer-based file tree with create, rename, delete, and snippet support
Version HistoryAutomatic snapshots of every file — restore any previous version anytime
Database InspectorVisual SQLite (Room) database browser to inspect tables and records
JSON & CSV ToolsFormat, validate JSON and view CSV data in polished dialogs
Snippet LibrarySave and reuse code snippets across projects
Todo TrackerBuilt-in task list to plan your sprints inside the IDE

🔗 Git Integration

FeatureDescription
Git PanelCommit changes with messages, track history, and manage your workspace from a built-in Git dialog

🎨 Theming & UX

FeatureDescription
Editor ThemesSwitch between multiple color schemes for the editor
Material 3 DesignModern, accessible UI following Material Design 3 guidelines
DashboardProject dashboard with an overview of files, stats, and activity

🏗️ Architecture & Tech Stack

The app is built on a clean MVVM (Model-View-ViewModel) architecture with a single-activity Jetpack Compose design:

LayerTechnologyPurpose
LanguageKotlin 1.9+100% Kotlin codebase
UI ToolkitJetpack Compose + Material 3Declarative, reactive UI
ArchitectureMVVM + Repository PatternClean separation of concerns
DatabaseRoom (SQLite)Local persistence for projects, files, versions, and snippets
AI / LLMGoogle Gemini API (Firebase GenAI, Retrofit + OkHttp)AI completion, analysis, and chat
ConcurrencyKotlin Coroutines + FlowAsync-safe data and state handling
SerializationMoshiJSON parsing for AI API responses
InterpreterCustom Kotlin Python interpreterOn-device Python execution
TestingJUnit + Roborazzi + Compose TestUnit and screenshot testing
BuildGradle Kotlin DSL + KSPModern build configuration
Nepali-IDE
├── app/src/main/java/com/example/
│   ├── ai/                  # Gemini AI models & repository (REST + Firebase GenAI)
│   ├── data/                # Room entities, DAOs & WorkspaceRepository
│   ├── editor/              # SyntaxHighlighter & EditorTheme
│   ├── interpreter/         # PythonInterpreter & HtmlPreviewView
│   ├── ui/
│   │   ├── components/      # Editor, panels, dialogs & toolbars (Compose UI)
│   │   └── theme/           # Material 3 theming
│   └── MainActivity.kt      # Single-activity Compose entry point

🚀 Getting Started

Prerequisites

  • Android Studio Koala or newer
  • JDK 17+
  • Android SDK 35+

Setup & Run

  1. Clone the repository:
git clone https://github.com/DiwasKhatri07/Nepali-IDE.git
cd Nepali-IDE
  1. Copy the environment example and add your Gemini API key (get one free at Google AI Studio):
cp .env.example .env
# Edit .env and set: GEMINI_API_KEY=your_api_key_here
  1. Open the project in Android Studio and click Run (or build from the command line):
./gradlew assembleDebug

📂 Project Structure

DirectoryDescription
app/src/main/java/.../ai/Gemini AI request/response models and repository
app/src/main/java/.../data/Room database, entities, DAOs, and workspace repository
app/src/main/java/.../editor/Syntax highlighting engine and editor color themes
app/src/main/java/.../interpreter/On-device Python interpreter and HTML preview view
app/src/main/java/.../ui/components/All Compose UI components (editor, drawers, dialogs, toolbars)
app/src/main/java/.../ui/theme/Material 3 color, type, and theme definitions
.github/FUNDING.ymlSponsorship configuration
.env.exampleExample environment variables for the Gemini API key

🏆 Roadmap

  • PHP and JavaScript interpreters
  • GitHub sign-in and cloud sync for workspaces
  • Collab mode — share snippets and projects with friends
  • More language syntax themes (Java, C++, Kotlin, SQL)
  • Terminal emulator inside the app
  • Firebase Analytics and crash reporting
  • Publish to Google Play Store 🎉

🤝 Contributing

Contributions are what make the open-source community amazing! Any contribution — big or small — is deeply appreciated:

  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

Please make sure your code builds cleanly and follows the existing Kotlin coding conventions.

📄 License

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

👨‍💻 Developer Credits

Crafted with ❤️ by Diwas Khatri

👤 DeveloperDiwas Khatri
🐙 GitHubgithub.com/DiwasKhatri07
🇳🇵 LocationNepal
🛠️ StackKotlin · Jetpack Compose · Room · Gemini AI

If this project helps you, please give it a ⭐ Star on GitHub!

🏷️ Tags & Topics

android · kotlin · jetpack-compose · mobile-ide · code-editor · ai-code-assistant · gemini-ai · python-interpreter · html-preview · syntax-highlighting · room-database · mvvm · material-design-3 · nepal · nepali-developer · developer-tools · ide · coding-app · android-development · open-source

Collected info

  • 4 stars
  • 2 forks
  • Language: Kotlin
  • Source updated: 8/28/2026

Config for your environment

Replace {MCP_ENDPOINT_URL} with this MCP’s endpoint URL (from its repo or docs above). No API key — you connect directly.

Tool

OS

Config file: ~/.cursor/mcp.json

{
  "mcpServers": {
    "mcp-server": {
      "url": "{MCP_ENDPOINT_URL}"
    }
  }
}

Paste into mcpServers in the config file. Restart Cursor after saving.

If this MCP is also published on mcpchannel.ai, you can subscribe from Browse and use the gateway config there instead.