-
-
Notifications
You must be signed in to change notification settings - Fork 5
Update README.mdFix README formatting and improve structure #2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| @@ -1,9 +1,25 @@ | ||||||||||
| > [!IMPORTANT] | ||||||||||
| > Readme is needed to be updated. To get an overview of the project and ideas to work on go through [arch.md](./arch.md). | ||||||||||
| # LibrEd | ||||||||||
|
|
||||||||||
| # Dont Compete | ||||||||||
| LibrEd is a local, containerized, agent-driven platform for GATE (Graduate Aptitude Test in Engineering) preparation. It transforms raw syllabus PDFs into structured study materials using OCR, classification pipelines, and local LLM-based theory generation. | ||||||||||
|
|
||||||||||
| **Dont Compete** is a purely local, containerized, and agent-driven platform for GATE (Graduate Aptitude Test in Engineering) preparation. It combines a modern React frontend with an autonomous backend pipeline that scrapes, classifies, and generates study materials from raw syllabus PDFs and local LLMs. | ||||||||||
| The system combines a modern React frontend with an automated backend pipeline that processes, classifies, and generates educational assets. | ||||||||||
| ## High-Level Architecture | ||||||||||
|
|
||||||||||
| The project follows a structured data pipeline: | ||||||||||
|
|
||||||||||
| Syllabus PDF | ||||||||||
| ↓ | ||||||||||
| OCR + Parsing | ||||||||||
| ↓ | ||||||||||
| DuckDB Sync | ||||||||||
| ↓ | ||||||||||
| Classification | ||||||||||
| ↓ | ||||||||||
| Theory Generation (Ollama) | ||||||||||
| ↓ | ||||||||||
| Static Asset Generation | ||||||||||
| ↓ | ||||||||||
| React Frontend | ||||||||||
|
|
||||||||||
| ## Core Philosophy & Features | ||||||||||
|
|
||||||||||
|
|
@@ -29,17 +45,19 @@ The system is split into two autonomous components that communicate via shared f | |||||||||
|
|
||||||||||
| ## Getting Started | ||||||||||
|
|
||||||||||
| ### Prerequisites | ||||||||||
| ## Prerequisites | ||||||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Add blank line after heading. Missing blank line after the "## Prerequisites" heading. This violates markdown best practices and may affect rendering. 📝 Proposed fix ## Prerequisites
+
* [Docker Desktop](https://docs.docker.com/get-docker/) or Docker Engine + Compose.🧰 Tools🪛 markdownlint-cli2 (0.21.0)[warning] 48-48: Headings should be surrounded by blank lines (MD022, blanks-around-headings) 🤖 Prompt for AI Agents |
||||||||||
| * [Docker Desktop](https://docs.docker.com/get-docker/) or Docker Engine + Compose. | ||||||||||
| * [Git](https://git-scm.com/). | ||||||||||
| <!-- * [Git LFS](https://git-lfs.github.com/). --> | ||||||||||
|
|
||||||||||
| ### Quick Start | ||||||||||
| ## Quick Start | ||||||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Add blank line after heading. Missing blank line after the "## Quick Start" heading. 📝 Proposed fix ## Quick Start
+
1. **Clone the repository**:📝 Committable suggestion
Suggested change
🧰 Tools🪛 markdownlint-cli2 (0.21.0)[warning] 53-53: Headings should be surrounded by blank lines (MD022, blanks-around-headings) 🤖 Prompt for AI Agents |
||||||||||
| 1. **Clone the repository**: | ||||||||||
| ```bash | ||||||||||
| git clone https://github.com/imxade/dont-compete.git | ||||||||||
| cd dont-compete | ||||||||||
| ``` | ||||||||||
| 1. 1. **Clone the repository**: | ||||||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fix duplicate and malformed list item. Line 55 contains a duplicate and incorrectly formatted list item: "1. 1. Clone the repository:". This appears to be a copy-paste error that will break the markdown list rendering. This line should be removed entirely, as the proper list item already exists on line 54. 🐛 Proposed fix 1. **Clone the repository**:
- 1. 1. **Clone the repository**:
-🧰 Tools🪛 markdownlint-cli2 (0.21.0)[warning] 55-55: Inconsistent indentation for list items at the same level (MD005, list-indent) 🤖 Prompt for AI Agents |
||||||||||
|
|
||||||||||
| ```bash | ||||||||||
| git clone https://github.com/AOSSIE-Org/LibrEd.git | ||||||||||
| cd LibrEd | ||||||||||
| ``` | ||||||||||
|
|
||||||||||
| 2. **Launch the System**: | ||||||||||
| ```bash | ||||||||||
|
|
@@ -54,7 +72,7 @@ The system is split into two autonomous components that communicate via shared f | |||||||||
| docker compose logs -f generator | ||||||||||
| ``` | ||||||||||
|
|
||||||||||
| ### Configuration | ||||||||||
| ## Configuration | ||||||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Add blank line after heading. Missing blank line after the "## Configuration" heading. 📝 Proposed fix ## Configuration
+
Central configuration is managed in `generator/src/config.py`. You can customize:📝 Committable suggestion
Suggested change
🧰 Tools🪛 markdownlint-cli2 (0.21.0)[warning] 75-75: Headings should be surrounded by blank lines (MD022, blanks-around-headings) 🤖 Prompt for AI Agents |
||||||||||
| Central configuration is managed in `generator/src/config.py`. You can customize: | ||||||||||
| * `TARGET_STREAMS`: Which exam streams to process (e.g., CS, DA). | ||||||||||
| * `OLLAMA_MODEL`: The local LLM to use (default: `llama3.1`). | ||||||||||
|
|
@@ -63,7 +81,7 @@ Central configuration is managed in `generator/src/config.py`. You can customize | |||||||||
|
|
||||||||||
| We are building a free, high-quality platform for everyone, and we need your help to achieve that! | ||||||||||
|
|
||||||||||
| ### Non-Coding Contributions | ||||||||||
| ## Non-Coding Contributions | ||||||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Add blank line after heading. Missing blank line after the "## Non-Coding Contributions" heading. 📝 Proposed fix ## Non-Coding Contributions
+
AI is a powerful accelerator, but it's not perfect. We rely on the community to ensure quality and depth.📝 Committable suggestion
Suggested change
🧰 Tools🪛 markdownlint-cli2 (0.21.0)[warning] 84-84: Headings should be surrounded by blank lines (MD022, blanks-around-headings) 🤖 Prompt for AI Agents |
||||||||||
| AI is a powerful accelerator, but it's not perfect. We rely on the community to ensure quality and depth. | ||||||||||
|
|
||||||||||
| * **Improve Theories**: AI-generated explanations can be generic or miss nuance. If you have a better explanation, analogy, or diagram for a concept, please submit a PR! | ||||||||||
|
|
@@ -73,7 +91,7 @@ AI is a powerful accelerator, but it's not perfect. We rely on the community to | |||||||||
| * **Community Questions**: Identify gaps in our question bank and add commonly asked questions or "gotchas" for specific topics. | ||||||||||
| * **Expand Scope**: PRs adding support for **other competitive exams** are highly welcome! Let's build a universal free platform together. | ||||||||||
|
|
||||||||||
| ### Testing | ||||||||||
| ## Testing | ||||||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Add blank line after heading. Missing blank line after the "## Testing" heading. 📝 Proposed fix ## Testing
+
The project includes a comprehensive test suite that runs in Docker.📝 Committable suggestion
Suggested change
🧰 Tools🪛 markdownlint-cli2 (0.21.0)[warning] 94-94: Headings should be surrounded by blank lines (MD022, blanks-around-headings) 🤖 Prompt for AI Agents |
||||||||||
| The project includes a comprehensive test suite that runs in Docker. | ||||||||||
|
|
||||||||||
| **1. Generator Tests (Backend)** | ||||||||||
|
|
@@ -92,6 +110,13 @@ docker run --rm --network gatebuster_app_network \ | |||||||||
| /bin/sh -c "npm install && npx playwright test" | ||||||||||
| ``` | ||||||||||
| *Note: Ensure the frontend service is running (`docker compose up`) before starting Playwright tests.* | ||||||||||
| ## Project Structure | ||||||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Add blank line before heading. Missing blank line above the "## Project Structure" heading. 📝 Proposed fix *Note: Ensure the frontend service is running (`docker compose up`) before starting Playwright tests.*
+
## Project Structure🧰 Tools🪛 markdownlint-cli2 (0.21.0)[warning] 113-113: Headings should be surrounded by blank lines (MD022, blanks-around-headings) 🤖 Prompt for AI Agents |
||||||||||
|
|
||||||||||
| - `generator/` → Python backend pipeline | ||||||||||
| - `frontend/` → React-based UI | ||||||||||
| - `docker-compose.yml` → Service orchestration | ||||||||||
| - `arch.md` → Detailed architecture documentation | ||||||||||
| - `CONTRIBUTING.md` → Contribution guidelines | ||||||||||
|
|
||||||||||
| ## License | ||||||||||
| Apache 2.0 License - see `LICENSE` for details. | ||||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add blank line before heading.
Missing blank line above the "## High-Level Architecture" heading. Markdown best practices require blank lines around headings for proper rendering and readability.
📝 Proposed fix
The system combines a modern React frontend with an automated backend pipeline that processes, classifies, and generates educational assets. + ## High-Level Architecture📝 Committable suggestion
🧰 Tools
🪛 markdownlint-cli2 (0.21.0)
[warning] 6-6: Headings should be surrounded by blank lines
Expected: 1; Actual: 0; Above
(MD022, blanks-around-headings)
🤖 Prompt for AI Agents