ayushi7rawat /
Youtube-Projects
This repository contains all the code I use in my YouTube tutorials.
86/100 healthLoading repository data…
gitwithvaibhav / repository
This repository contains the source code for a Chrome extension called Programming Practice Companion. This extension helps users learn programming languages by generating coding practice questions based on the concepts encountered while browsing websites.
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
Roadmap Important Note: Deploying a Chrome Extension needs amount of 5$. You can find it here: WebStore>Developer Section.
1. Manifest.json:
This file defines the extension's metadata and functionalities. Here's a basic structure:
{
"manifest_version": 3,
"name": "Programming Practice Companion",
"version": "1.0",
"description": "Generate coding practice based on webpages",
"permissions": ["activeTab", "storage"],
"content_scripts": [{
"matches": ["<all_urls>"],
"js": ["content.js"]
}],
"browser_action": {
"default_popup": "popup.html"
}
}
2. content.js:
This script runs on every webpage and analyzes the content.
chrome.runtime.onMessage.addListener(function(request, sender, sendResponse) {
if (request.message === "analyzePage") {
const keywords = ["python loop", "javascript function", etc.]; // Add your keywords here
let foundConcepts = [];
for (const keyword of keywords) {
if (document.body.innerText.toLowerCase().indexOf(keyword) !== -1) {
foundConcepts.push(keyword);
}
}
sendResponse({concepts: foundConcepts});
}
});
3. popup.html:
This defines the user interface for the extension popup.
4. popup.js:
This script interacts with the content script and displays the question.
document.getElementById("getQuestion").addEventListener("click", async () => {
const concepts = await chrome.storage.local.get("concepts");
// Logic to generate question based on concepts (replace with your implementation)
const question = "Write a function to reverse a string"; // Example question
document.getElementById("question").innerText = question;
});
Note: This is a very basic implementation. Here's what needs further development:
content.js to use regular expressions or NLP for more accurate identification.popup.js to generate different question formats based on the identified concepts.Remember, this is just a starting point. Building a robust extension requires ongoing development and refinement. You can find resources on Chrome extension development and NLP libraries online to further enhance this concept.
Selected from shared topics, language and repository description—not editorial ratings.
ayushi7rawat /
This repository contains all the code I use in my YouTube tutorials.
86/100 healthCODING-Enthusiast9857 /
This repository contains chrome extensions. Extensions are software programs, built on web technologies such as HTML, CSS, and JavaScript that enable users to customize the chrome browsing experience.
42/100 healtharorashbm /
This repository contains code of a chrome extension to download YouTube videos directly from its webpage. Clone this repository and load this folder to your chrome extensions page.
31/100 healthabhinavchoubey2000 /
This repository is contains all my google chrome extensions which I have developed using my HTML, CSS and Javascript skills. The extensions I have added in this repository solves the real world problems.
27/100 healthpriyesh0453 /
This repository contains Chrome extensions from all three extension categories: Browser Action, Page Action, and Content Script. Building along the way on the adventure of creating Chrome Extensions, with unique extensions (completely new and utility based (in process)) to be released shortly...
31/100 healthuyanikislam /
This project is part of my education and aims to help me learn and practice JavaScript programming. The repository contains a collection of exercises and solutions, as well as a set of reference materials and resources. The project was developed using JavaScript, CSS, Chrome Extension. Happy coding!
27/100 health