Skip to content

anshumanjadiya1102/GitHubAssistant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

19 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ–₯️ JavaHelperApp

A simple yet powerful Java CLI application that answers Java-related questions instantly.
It uses a structured knowledge.json file as its knowledge base and provides:

βœ… Instant Q&A
βœ… History of asked questions
βœ… Export to CSV/JSON
βœ… Expandable knowledge base (just add more questions!)


πŸ“‚ Project Structure

JavaHelperApp/
β”œβ”€ pom.xml
β”œβ”€ README.md
β”œβ”€ src/
β”‚   β”œβ”€ main/
β”‚   β”‚    β”œβ”€ java/
β”‚   β”‚    β”‚    └─ com/javahelper/
β”‚   β”‚    β”‚    β”œβ”€ Main.java
β”‚   β”‚    β”‚    β”œβ”€ qa/
β”‚   β”‚    β”‚    β”‚ β”œβ”€ QAEngine.java
β”‚   β”‚    β”‚    β”‚ └─ KnowledgeBase.java
β”‚   β”‚    β”‚    └─ utils/
β”‚   β”‚    β”‚    └─ ConsoleUtils.java
β”‚   β”‚    └─ resources/
β”‚   β”‚    └─ knowledge.json
└─ src/test/
     └─ java/
         └─ com/javahelper/
         β”œβ”€ QAEngineTest.java
         └─ ConsoleUtilsTest.java

πŸš€ Getting Started

1️⃣ Clone the repository

git clone https://github.com/yourusername/JavaHelperApp.git
cd JavaHelperApp

2️⃣ Build with Maven

mvn clean compile

3️⃣ Run the app

mvn exec:java -Dexec.mainClass="com.javahelper.Main"

πŸ“– Usage

  • Once running, you’ll see a menu:
=== Java Helper CLI ===

Menu:
1. Ask a Java Question
2. Show Q&A History
3. Export History CSV/JSON
0. Exit

Example Usage

Choose option: 1
Enter your question: What is Java?
Answer: Java is a high-level, object-oriented programming language developed by Sun Microsystems (now Oracle).

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published

Languages