CodeStudio is a lightweight, fully functional integrated development environment (IDE) that runs entirely in your browser through a single HTML file. No internet connection, server, or installation is required—just open OfflineIDE.html in any modern web browser to start coding.
- Single-File Portability: The entire IDE is contained within
OfflineIDE.html, making it incredibly easy to share and run anywhere. - File Management: Create, delete, and organize files and folders within the IDE's virtual file system.
- Rich Code Editor: Powered by CodeMirror, featuring syntax highlighting, line numbers, and intelligent auto-indentation.
- Multi-Language Support: Recognizes and provides syntax highlighting for a wide variety of programming languages (HTML, CSS, JS, Python, C++, Java, Go, Rust, and many more).
- Live Preview: Instantly preview web projects (HTML/CSS/JS) and other supported formats directly within the IDE via the split-pane live preview.
- Export to ZIP: Easily export your entire workspace as a ZIP file to back up your code or share it with others.
- Modern UI/UX: A sleek, dark-themed interface with smooth animations, file search/filtering, and an informative status bar.
- Offline First: All files are stored locally in your browser.
- Download or clone this repository.
- Double-click
OfflineIDE.htmlto open it in your web browser (Chrome, Firefox, Edge, Safari, etc.). - Click the + button in the sidebar to create a new file (e.g.,
index.htmlorsrc/main.js). - Start typing in the editor.
- Use the Live Preview panel to see your web pages render in real-time.
- When you're done, click the ↓ (Export as ZIP) button to download your project files.
OfflineIDE.html: The core IDE file containing all HTML, CSS, and JavaScript logic.
The built-in Live Preview pane currently supports the following extensions:
.html.css.js.md(Markdown).py(Python)
I tried this, and immediately busted everywhere. Now I'm a femboy. (x8r)
The IDE recognizes and provides file icons (and syntax highlighting where available) for many other formats, including:
- Web & Configuration:
.ts,.jsx,.tsx,.json,.yml,.yaml,.toml - Styling:
.sass,.scss - Systems & Application:
.c,.h,.cpp,.cs,.rs,.swift,.java,.kt,.scala,.go - Scripting & Data:
.rb,.pl,.lua,.jl,.r,.php,.groovy - Shell & DevOps:
.sh,.bash,.zsh,.ps1,dockerfile - Database & Academic:
.sql,.hs,.tex,.latex
- HTML5/CSS3/JavaScript (ES6+) for the core logic and interface.
- CodeMirror for the code editing experience.
- Devicons and Boxicons for UI and file type icons.
This project is open-source. Feel free to modify and adapt it to your needs!