Git Product home page Git Product logo

ahmedmohamedabdelaty / sanfoundry-to-pdf Goto Github PK

View Code? Open in Web Editor NEW
10.0 1.0 1.0 368 KB

A Chrome extension designed to help students and educators easily convert multiple-choice questions from sanfoundry.com into PDF format, facilitating convenient study and exam preparation

CSS 7.69% HTML 5.55% JavaScript 86.76%
chrome-extension javascript js jspdf mcq pdf sanfoundry sanfoundry-scrapper scraper scraping

sanfoundry-to-pdf's Introduction

Sanfoundry-To-PDF

Sanfoundry-To-PDF is a Chrome extension that scrapes multiple-choice questions (MCQs) from sanfoundry.com and converts them into a PDF file.

Features

  • Scrape MCQs from sanfoundry.com
  • Format scraped data
  • Convert formatted data into a PDF file

Files

  • popup.js: Contains the main functionality of the extension, including scraping, formatting, and PDF creation.
  • manifest.json: The manifest file for the Chrome extension, which provides important metadata for the extension.
  • popup.html: The HTML file for the popup interface of the extension.

Usage

  1. Click on the extension icon in the Chrome toolbar.
  2. Click on the "Convert the MCQ to PDF" button when you are on a sanfoundry.com page with MCQs.

Screenshot

Example Output

demo.mp4

Installation

Follow these steps to install the extension:

  1. Clone the repository to your local machine using git clone https://github.com/AhmedMohamedAbdelaty/Sanfoundry-To-PDF or download the repository as a ZIP file and extract it.
  2. Open Google Chrome or a Chromium-based browser and navigate to chrome://extensions/.
  3. Enable Developer Mode by clicking the toggle switch at the top right.
  4. Click the "Load unpacked" button and select the directory where you cloned the repository.
  5. The extension should now be installed and visible in your Chrome toolbar.
  6. Pin the extension to your Chrome toolbar for easy access.

Please note that since this extension is still in development, it may not function as expected. We appreciate your patience and contributions.

Development Status

To-Do List

  • Add support for image-based questions.
  • Add support for math questions.
  • Implement a user-friendly interface for the popup.
  • Add an option to customize the output PDF.

Known Bugs

  • The extension does not yet support questions with LaTeX (math).
  • The extension does not yet support questions with images.

Contribution Guide

We welcome contributions from the community. Here are the steps to contribute:

  1. Fork the repository.
  2. Create a new branch for your changes.
  3. Make your changes in your branch.
  4. Submit a pull request with your changes.
  5. Make sure your pull request describes what you changed, why you changed it, and how you tested these changes.

Please note that this project is still in development, and we appreciate your patience and contributions.

Disclaimer

This extension is not affiliated with or endorsed by sanfoundry.com. It is developed for educational purposes only. Please use responsibly.

sanfoundry-to-pdf's People

Contributors

ahmedmohamedabdelaty avatar shebo280 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

shebo280

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.