diff --git a/CodeClip-Chinmayi b/CodeClip-Chinmayi deleted file mode 160000 index b6e51e5c..00000000 --- a/CodeClip-Chinmayi +++ /dev/null @@ -1 +0,0 @@ -Subproject commit b6e51e5c3381769b931a7dcab8550724ee023cab diff --git a/README.md b/README.md index 14327523..b35a2325 100644 --- a/README.md +++ b/README.md @@ -1,118 +1,140 @@ -# πͺ CodeClip β Coding Challenge Vault +# πͺ CodeClip β Coding Challenge Vault -**CodeClip** is a lightweight, fully client-side web app that lets developers **store, solve, run, and share coding challenges** directly in the browser. Built with vanilla **HTML, CSS, and JavaScript**, it is ideal for first-time open-source contributors and is being developed under **GirlScript Summer of Code (GSSoC)**. +[](https://github.com/adikulkarni006/CodeClip/stargazers) +[](https://github.com/adikulkarni006/CodeClip/network/members) +[](https://github.com/adikulkarni006/CodeClip/issues) +[](./LICENSE) + +**CodeClip** is a lightweight, fully client-side web app that lets developers **store, solve, run, and share coding challenges directly in the browser**. +Built with **vanilla HTML, CSS, and JavaScript**, it is ideal for first-time open-source contributors and is being developed under **GirlScript Summer of Code (GSSoC)**. + +--- ## β¨ Key Features (Planned & Implemented) -| Category | Feature | Status | -|----------|---------|--------| -| Core Vault | Challenge repository with tags, difficulty, and search | π Planned | -| Playback | In-browser code runner (JS sandbox) with console output | π Planned | -| Editor | CodeMirror-based editor with themes, linting, and autosave | π Planned | -| Sharing | Public solution links, up-votes, and comments | π Planned | -| AI Assist | Challenge recommendations based on user history | π Planned | -| Accounts | Local profile, progress tracking, badges | π Planned | -| UI / UX | Dark-light theme switcher, mobile-first layout | π Planned | -| Accessibility | WCAG-compliant color palette & keyboard nav | π Planned | -| DevOps | GitHub Pages deploy, CI linting, unit tests | π Planned | +| Category | Feature | Status | +|---------------|-----------------------------------------------------------|----------| +| Core Vault | Challenge repository with tags, difficulty, and search | π Planned | +| Playback | In-browser code runner (JS sandbox) with console output | π Planned | +| Editor | CodeMirror-based editor with themes, linting, and autosave | π Planned | +| Sharing | Public solution links, up-votes, and comments | π Planned | +| AI Assist | Challenge recommendations based on user history | π Planned | +| Accounts | Local profile, progress tracking, badges | π Planned | +| UI / UX | Dark-light theme switcher, mobile-first layout | π Planned | +| Accessibility | WCAG-compliant color palette & keyboard nav | π Planned | +| DevOps | GitHub Pages deploy, CI linting, unit tests | π Planned | + +--- ## ποΈ System Architecture -``` -Client (Browser) βββββββββββββββββββββββββββββββββββββββββββββ -β β -β 1. UI Layer (HTML + CSS) β -β β’ index.html β Landing / dashboard β -β β’ pages/ challenges.html, editor.html, β¦ β -β β’ styles/ main.css, components.css, themes.css β -β β -β 2. Logic Layer (ES6 Modules) β -β β’ app.js β App bootstrap & router β -β β’ storage.js β LocalStorage API wrapper β -β β’ challenges.js β Challenge CRUD & filters β -β β’ editor.js β CodeMirror integration β -β β’ ai.js β Recommendation engine (future) β -β β’ utils.js β Helpers β -β β -β 3. Persistence Layer β -β β’ LocalStorage (JSON) β -β β’ IndexedDB (future large data) β -β β -ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ - -Offline-first: All data lives in the browser; no backend required. +Client (Browser) +β +βββ UI Layer (HTML + CSS) +β β’ index.html β Landing / dashboard +β β’ pages/ β challenges.html, editor.html, β¦ +β β’ styles/ β main.css, components.css, themes.css +β +βββ Logic Layer (ES6 Modules) +β β’ app.js β App bootstrap & router +β β’ storage.js β LocalStorage API wrapper +β β’ challenges.js β Challenge CRUD & filters +β β’ editor.js β CodeMirror integration +β β’ ai.js β Recommendation engine (future) +β β’ utils.js β Helpers +β +βββ Persistence Layer +β’ LocalStorage (JSON) +β’ IndexedDB (future large data) + +yaml +Copy code + +**Offline-first:** All data lives in the browser; no backend required. Optional cloud sync can be added later via GitHub OAuth + Gists. -``` + +--- ## π Repository Structure -```text codeclip/ ββ index.html ββ pages/ -β ββ challenges.html -β ββ editor.html -β ββ profile.html +β ββ challenges.html +β ββ editor.html +β ββ profile.html ββ styles/ -β ββ variables.css -β ββ main.css -β ββ components.css -β ββ themes.css +β ββ variables.css +β ββ main.css +β ββ components.css +β ββ themes.css ββ scripts/ -β ββ app.js -β ββ storage.js -β ββ challenges.js -β ββ editor.js -β ββ ai.js -β ββ utils.js +β ββ app.js +β ββ storage.js +β ββ challenges.js +β ββ editor.js +β ββ ai.js +β ββ utils.js ββ assets/ -β ββ logo.svg +β ββ logo.svg ββ docs/ -β ββ architecture.png -ββ README.md β you are here -``` +β ββ architecture.png +ββ README.md + +yaml +Copy code + +--- ## π Getting Started -1. **Clone** - ```bash - git clone https://github.com/opensource-society/CodeClip.git - cd CodeClip - ``` +### Clone Repository + +```bash +git clone https://github.com/adikulkarni006/CodeClip.git +cd CodeClip +Run Locally +Any static server works. With VS Code: + +Install the Live Server extension + +Right-click index.html β βOpen with Live Serverβ + +π€ Contributing +We welcome contributions of all levels! + +Pick an issue labelled Level 1, Level 2, or Level 3 + +Create a feature branch: + +bash +Copy code +git checkout -b feat/your-feature +Follow the style guide & open a Pull Request -2. **Run Locally** - Any static server works; with VS Code: - 1. Install the *Live Server* extension - 2. Right-click `index.html` β βOpen with Live Serverβ +Be responsive to code reviews -3. **Contribute** - - Pick an issue labelled **Level 1**, **Level 2**, or **Level 3**. - - Create a **feature branch**: `git checkout -b feat/` - - Follow the style guide; submit a pull request; respond to reviews. +π£οΈ Roadmap (Q3 2025) +β Landing & Vault MVP β basic challenge listing -## π£οΈ Roadmap (Quarter 3 2025) +π Code Editor Integration β CodeMirror + autosave -1. **Landing & Vault MVP** β basic challenge listing π -2. **Code Editor Integration** β CodeMirror + autosave π -3. **JS Runtime** β iframe sandbox, execution timers π -4. **Profile & Stats** β badges, streak calendar π -5. **AI Recommendations** β local ML or hosted API π -6. **PWA Support** β installable, offline cache π -7. **Unit & E2E Tests** β Vitest + Playwright π +π JS Runtime β iframe sandbox, execution timers -*Issues are filed chronologically in the `/docs/issues.docx` for reference.* +π Profile & Stats β badges, streak calendar -## π₯ Community & Support +π AI Recommendations β local ML or hosted API -| Channel | Purpose | -|---------|---------| -| GitHub Issues | Bug reports, feature requests | -| GitHub Discussions | Q&A, ideas, polls | -| Discord | Real-time chat, pair programming | -| GSSoC Mentors | Onboarding & code reviews | +π PWA Support β installable, offline cache -## π License +π Unit & E2E Tests β Vitest + Playwright -CodeClip is released under the **MIT License** β free for personal & commercial use with attribution. +π₯ Community & Support +Channel Purpose +GitHub Issues Bug reports, feature requests +Discussions Q&A, ideas, polls +Discord Real-time chat, pair programming +GSSoC Mentors Onboarding & code reviews -### β Give the repo a star and join us in building the most accessible coding-challenge vault on the web! +π License +Released under the MIT License β free for personal & commercial use with attribution. \ No newline at end of file diff --git a/index.html b/index.html index b667b341..8ce56b61 100644 --- a/index.html +++ b/index.html @@ -39,8 +39,6 @@ content="Solve coding challenges, contribute to open source, and climb the leaderboard on CodeClip. A GSSoC 2025 project for developers." /> - - @@ -86,7 +84,7 @@
- +