Skip to content
ai-code-editer

ai-code-editer

"ai-code-editer is a smart, web-based IDE that bri

Created on 7th September 2025

•

ai-code-editer

ai-code-editer

"ai-code-editer is a smart, web-based IDE that bri

The problem ai-code-editer solves

What is AetherCode?

AetherCode is a smart code editor that runs in your browser. It combines everything developers need—coding, AI help, and teamwork—into one simple web app.

💡 Problems it solves

Too many tools: Normally, developers switch between VS Code, GitHub, browsers, and AI tools. That’s slow and distracting.

Hard AI setup: Adding AI coding assistants is complicated.

Tricky collaboration: Working with teammates often needs extra tools and messy setups.

✅ How AetherCode helps

One place for everything: Code editor, terminal, file manager, AI, and live preview—no extra installs.

AI built-in:

Get code suggestions.

Ask for bug fixes or explanations.

Refactor code instantly.

Work together in real time: See your teammates type live, like Google Docs.

Easy sharing: Generate links to share code (view-only or editable).

Live preview: Instantly see how your HTML/CSS/JS runs inside the app.

🎯 Why it’s useful

Saves time by reducing tool-switching.

Makes coding easier with AI support.

Makes teamwork smoother with real-time collaboration.

Works anywhere in the browser—no setup needed.

👉 In short:
AetherCode = VS Code + Copilot + Google Docs + Browser Preview, all inside one smart web app.

Challenges we ran into

🚧 Challenge: The "Run" Button Bug

One of the trickiest bugs I faced in AetherCode was making the "Run" button work properly with the console output.

At first, it looked simple: click "Run," execute the code, and show the results in the console panel. But in practice, I ran into three big problems:

Blank Console – The code ran, but nothing showed up in the console, so users had no feedback.

Only One File Ran – The system only executed the currently open file, not other dependent files in the project.

Broken State Updates – React’s state wasn’t updating in time, so logs appeared inconsistently (a race condition).

🛠️ How I Fixed It

Built a Custom Console

I created a custom console object (log and error) and passed it into the code’s sandbox so that all outputs were captured safely.

Batch Execution

Instead of running just one file, I filtered all JavaScript/TypeScript files in the project and ran them in sequence, combining their outputs.

Atomic State Update

I first collected all the logs into a local array, then updated React state once at the end. This prevented race conditions and made the console display consistent.

✅ With these fixes, the Run button now executes multiple files properly and always shows the correct logs in the console.

Tracks Applied (1)

DeFi projects leveraging BlockDAG technology.

Explain how your project fits into this track image image image image image

Blockdag

Discussion

Builders also viewed

See more projects on Devfolio