Jarvis Code Textbook Assistant is a tool designed to facilitate rapid learning and note-taking inspired by the Jarvis AI from Iron Man. Originally created to accelerate code learning, it now extends its functionality to speed up the process of reading and learning from PDF documents. This project aims to provide users with a fast and efficient way to absorb information.
- Dynamic Learning: Analyze code quickly and efficiently, treating each function, struct, or class as a page in a textbook.
- Rapid Note Population: Automatically generate notes for each code element, streamlining the learning process.
- Interactive Chat: Engage in a chat interface for enhanced interaction and discussion while studying.
To install, use the following pip commands:
pip install tkhtmlview
pip install cssutils
pip install bs4
pip install PyMuPDF
pip install pillow
- Visit the browser's extension store (e.g., Chrome Web Store, Firefox Add-ons).
- Search for "Tampermonkey" and install the extension.
- Once installed, you should see the Tampermonkey icon in your browser's toolbar.
- Click on the Tampermonkey icon in your browser's toolbar to open the Tampermonkey dashboard.
- Select "Dashboard" from the dropdown menu.
- In the Tampermonkey dashboard, navigate to the "Utilities" tab on the left sidebar.
- Click on "File" and then select "Import" from the dropdown menu.
- Copy the raw URL of the script file you want to add. For example:
- For Alt ChatGPT: TamperMonkey/Alt ChatGPT
- For Alt Phind: TamperMonkey/Alt Phind
- Paste the raw URL into the "URL" field and click "Import".
- Tampermonkey will then prompt you to review the script. Once you're satisfied, click "Install" to add the script to Tampermonkey.
- Repeat the process for each script you want to add.
Once you have installed the Tampermonkey extension and added the scripts, simply navigate to a Jarvis Code textbook page, and the assistant will provide additional functionality to improve your browsing experience.
- Similar Snippet Retrieval: Utilize cosine similarity to find related code snippets based on your queries, offering a supercharged alternative to traditional searching (like Ctrl+F).
- Go to Definition: Implement a feature similar to Visual Studio Code, allowing users to navigate directly to the definition of a code element.
- Find References: Enhance your coding experience by easily locating references to specific code elements.
- Syntax Highlighting: Add colored code functionality for better visualization and comprehension.
- Functional Design: Aim for a user interface reminiscent of Jarvis in Iron Man's helmet, offering a seamless and intuitive coding experience.
- Quick Analysis: Analyze code, images, and other elements swiftly, providing relevant information on the spot.
- Spectral Decomposition: Take images and generate spectral decompositions, offering a unique perspective on visual data.
- 3D Model Conversion: Convert images, such as drone photos, into 3D models, allowing for creative exploration and manipulation.
- Technological Exploration: Start building code bases for future technologies, enabling easy implementation when the time and expertise align.
- Tony Stark's Workbench Experience: Aspire to create a workspace reminiscent of Tony Stark's workbench for an immersive and efficient coding environment.
Jarvis Code Textbook Assistant is not just a tool; it's a vision for the future of coding, blending advanced learning techniques with cutting-edge features for an unparalleled coding experience.
What makes mine better than what is already out there