{"id":29093106,"url":"https://github.com/techie-wrb/bash-grader-plus","last_synced_at":"2025-12-30T21:40:27.711Z","repository":{"id":301200624,"uuid":"1008438379","full_name":"techie-wrb/bash-grader-plus","owner":"techie-wrb","description":"Bash Grader+ is an automated C/C++ grading system that evaluates code submissions using shell scripts, displays scores through a Flask-based web interface, and maintains a real-time leaderboard using SQLite.","archived":false,"fork":false,"pushed_at":"2025-06-25T16:28:39.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-25T17:35:43.250Z","etag":null,"topics":["autograder","bash","education","flask","python","shell","shell-script","sqlite","webapp"],"latest_commit_sha":null,"homepage":"https://github.com/techie-wrb/bash-grader-plus.git","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/techie-wrb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-06-25T14:43:13.000Z","updated_at":"2025-06-25T16:30:33.000Z","dependencies_parsed_at":"2025-06-25T17:47:45.400Z","dependency_job_id":null,"html_url":"https://github.com/techie-wrb/bash-grader-plus","commit_stats":null,"previous_names":["techie-wrb/bash-grader-plus"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/techie-wrb/bash-grader-plus","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techie-wrb%2Fbash-grader-plus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techie-wrb%2Fbash-grader-plus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techie-wrb%2Fbash-grader-plus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techie-wrb%2Fbash-grader-plus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/techie-wrb","download_url":"https://codeload.github.com/techie-wrb/bash-grader-plus/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techie-wrb%2Fbash-grader-plus/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262396498,"owners_count":23304445,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["autograder","bash","education","flask","python","shell","shell-script","sqlite","webapp"],"created_at":"2025-06-28T08:05:57.656Z","updated_at":"2025-12-30T21:40:27.679Z","avatar_url":"https://github.com/techie-wrb.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bash Grader+\n\n A smart, interactive auto-grading web app for C/C++ programs using Bash, Flask, and SQLite. Easily upload code files, auto-grade them using test cases, view scores, and track results on a live leaderboard.\n\n![Badge](https://img.shields.io/badge/Python-3.10-blue?style=flat)\n![Badge](https://img.shields.io/badge/Made%20With-Flask-orange?style=flat)\n![Badge](https://img.shields.io/badge/Auto-Grading-Green?style=flat)\n\n---\n\n## Features\n\n-  **Upload C/C++ code** (single or multiple files)\n- **Auto-run test cases** using Bash script\n-  **Score calculation \u0026 remarks**\n-  **Live leaderboard** with search \u0026 sort\n-  **Auto-delete old submissions**\n-  **Dark Mode Toggle**\n-  **SQLite3 database** to store results\n-  Clean, responsive Bootstrap UI\n\n---\n\n## ech Stack\n\n- **Frontend:** HTML5, CSS3, Bootstrap 5\n- **Backend:** Python 3, Flask\n- **Scripting:** Bash\n- **Database:** SQLite\n\n---\n\n## Setup Instructions\n\n1. **Clone the Repository:**\n\n```bash\ngit clone git@github.com:techie-wrb/bash-grader-plus.git\ncd bash-grader-plus\n\n2. Set up Virtual Environment:\n   ```bash\n    python3 -m venv venv\nsource venv/bin/activate\npip install flask\n\n3. Run the Flask App:\n   ```bash \n   python app.py\n \nThen open http://127.0.0.1:5000/ in your browser \n\nDirectory Structure\n```pgsql\n  bash-grader-plus/\n├── app.py\n├── templates/\n│   ├── index.html\n│   └── result.html\n│   └── leaderboard.html\n├── grader/\n│   ├── grade.sh\n│   ├── test_cases/\n│   └── results/\n├── submissions/\n├── uploads/\n├── leaderboard.db\n└── README.md\n\nSample Test Case Format\ntest_cases/input1.txt\n```txt\n   5 10\n\ntest_cases/output1.txt\n```txt\n15\n\nAuthor - Aman bijarnia \n\nAcknowledgements\nFlask\n\nBootstrap\n\nSQLite\n\nStackOverflow\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechie-wrb%2Fbash-grader-plus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftechie-wrb%2Fbash-grader-plus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechie-wrb%2Fbash-grader-plus/lists"}