Repository navigation
feat: Complete SEO Suite, SQL Playground, and Interactive C/C++ Browser Compiler - #11
Merged
sundramdotdev merged 4 commits intoSep 28, 2026
Merged
Conversation
Implements a robust code compiler playground leveraging JSCPP for client-side C/C++ execution without a backend. Includes an interactive terminal simulation hack to support cin/scanf elegantly.
Fixes an 'instanceof' error where Vite externalizes the 'stream' module for the browser, breaking JSCPP's printf. Resolved by injecting vite-plugin-node-polyfills.
Adds routing for the new CodeCompiler module and updates TopBar formatting.
|
@webdevpraveen is attempting to deploy a commit to the Sundram Gupta's projects Team on Vercel. A member of the Team first needs to authorize it. |
Users couldn't access the compiler via the UI because the route was missing from the sidebar subjects list.
Contributor
Author
Owner
|
LGTM! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



📝 Description
This Pull Request introduces major technical features and optimizations to the platform, turning it into a complete, standalone coding environment without relying on any backend infrastructure.
✨ Key Features & Implementations:
Top-Notch SEO, GEO & AEO Suite
Implemented comprehensive SEO/GEO/AEO strategies across the platform.
Added dynamically generated meta tags, OpenGraph images, semantic HTML, and proper robots/sitemap configurations to dramatically boost search visibility.
Traditional DBMS SQL Playground
Built a fully functional, traditional-looking SQL terminal playground using AlaSQL.
Supports creating tables, inserting data, querying, and viewing native error messages entirely on the client-side.
Zero-Tamjham C/C++ & HTML Code Compiler
Integrated a standalone Code Compiler supporting C, C++, and HTML.
HTML: Live preview using a secure, sandboxed iframe.
C/C++: Leverages JSCPP to execute C/C++ AST directly on the browser's main thread—meaning zero backend requirements (Vercel deployment ready).
Engineering Masterpiece (Interactive Terminal Hack): Implemented a dynamic UI simulation for scanf/cin. The compiler regex-parses the AST to extract printf prompts and renders an inline blinking input field inside the terminal. This creates the exact look and feel of a suspended Linux GCC terminal, completely avoiding annoying browser Modals.
Fixed the Right-hand side of 'instanceof' is not an object production bug by injecting vite-plugin-node-polyfills into the Vite build pipeline to Polyfill Node.js stream dependencies used by JSCPP's printf.
UI/UX & Routing
Integrated the Compiler into the main Application Router.
Polished TopBar.jsx formatting and added navigation links for the new tools.
🐛 Bug Fixes:
Resolved JSCPP module externalization crashes in Vite (vite.config.js).
Restored accidentally overwritten App.jsx configurations.
📦 Dependencies Added:
JSCPP
vite-plugin-node-polyfills