This project is Django-powered virtual assistant web application that provides users with an intuitive conversational interface to perform various tasks, access information, and engage in natural dialogue. integrated web services, VI offers a seamless experience for users seeking information or assistance through simple conversation. No external APIs — built entirely using Python libraries like pywhatkit, wikipedia, pyjokes, and more. No API keys, no complex setup — just pure Python functionality under the hood.
If you find this repository helpful or interesting, please consider giving it a star⭐ and Follow Me for cool Projects
- It helps others discover the project.
- It motivates the me to keep improving it.
- It supports open-source development!
If you want to contribute, feel free to fork the repository and submit a pull request. Also, don’t forget to star the repo!
Thanks for your support!
- Dynamic Greetings: Responds with varied, friendly greetings to keep interactions fresh
- Smart Small Talk: Engages users with interesting facts and conversation starters
- Thoughtful Questions: Asks insightful questions to maintain engaging conversation
- Idle Check-ins: Periodically checks in if a user hasn't interacted in a while
- Wikipedia Integration: Answers factual "who is" and "what is" questions using Wikipedia's extensive knowledge base
- Web Search: Opens search results for user queries when requested
- Time & Date: Provides accurate time and date information on demand
-
Multi-Platform Media Playback: Intelligently routes media requests to:
- YouTube
- Spotify
- SoundCloud
- Gaana
-
Platform Detection: Automatically detects which music platform the user wants to use
-
Humor: Delivers jokes on request through pyjokes integration
- Quick Website Access: Opens popular websites in new tabs including:
- Social media (Facebook, Twitter, Instagram, LinkedIn)
- Information (Google, Wikipedia, Stack Overflow, Quora)
- Entertainment (YouTube, Netflix, Spotify)
- Shopping (Amazon)
- Utilities (GitHub, Weather, News)
- Backend: Django web framework
- Language: Python 3.x
- Libraries:
wikipedia: Knowledge retrievalpywhatkit: YouTube playback and web searchespyjokes: Humor generationdifflib: Fuzzy text matching for better command recognitionwebbrowser: Website navigationdatetime: Time and date functionsgoogle-generativeai– AI-powered conversational chat (Gemini API)
# Clone the repository
git clone https://github.com/yourusername/jarvis-ai.git
cd jarvis
# Create a virtual environment
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
# Install dependencies
pip install -r requirements.txt
# Run migrations
python manage.py migrate
# Start the development server
python manage.py runserver- Navigate to
http://localhost:8000in your web browser - Type your request in the chat input field
- Interact with SmartChat using natural language commands:
"What time is it?"
"Tell me about Albert Einstein"
"Play Bohemian Rhapsody on Spotify"
"Open GitHub"
"Tell me a joke"
SmartChat processes user input through a command interpretation pipeline:
- Command Recognition: Identifies request type using fuzzy matching
- Intent Analysis: Determines user's intended action
- Service Routing: Selects appropriate backend service
- Response Generation: Creates natural language responses
- Action Execution: Performs requested tasks
| Endpoint | Method | Description |
|---|---|---|
/ |
GET | Serves the home page |
/process_command/ |
POST | Processes user commands and returns responses |
This project is licensed under the MIT License - see the LICENSE file for details.
Contributions are welcome! Please feel free to submit a Pull Request.
- Django community for the robust web framework
- Wikipedia API for knowledge access
- PyWhatKit for YouTube integration
- All open-source contributors whose libraries made this project possible
⭐ Star this repo if you find it useful! ⭐

