IndiaBix Flashcard Generator - Auto-Sync Current Affairs & Practice Questions

AnkiWeb addon 1588987238

Scrapes IndiaBix questions into formatted Anki flashcards, with one-click imports, automatic daily current affairs syncing, hierarchical decks, explanations, images, and automatic tagging.
AI-generated summary; may contain mistakes.

card-creationimportsync-integrationtaggingdeck-management

Open on AnkiWeb GitHub Find alternatives

AnkiWeb

Votes
2 (πŸ‘ 2 Β· πŸ‘Ž 0)
Updated
2025-11-01
Anki versions
23.09~
License
MIT (from the GitHub repository)
Virus scan
No ClamAV match A match does not prove malware. No match does not prove that the code is safe.
Languages
Python, JSON
Description language
en

Maintenance

stale

  • Last update or commit: 2025-11-01 (365 days before the snapshot).
  • Test files: 5.
  • GitHub Actions workflows: 1.
  • Commits in the last year: 0.
  • Issues: 1 open, 1 closed.
  • Pull requests: 0 open, 0 merged.

Will it work on my Anki?

Version branches
Min AnkiMax AnkiUpdated
2.1.123.09+2025-11-01
History across monthly snapshots

Loading…

Similar addons

Anki Notes Generator

Reads Markdown and text notes to generate accurate Basic and Cloze Anki flashcards locally via Ollama, with duplicate detection, auto-tagging, custom prompts and an English/Italian interface.

card-creationaiimporttaggingduplicates

1 votes 21% approval πŸ‘ 1 Β· πŸ‘Ž 0 Anki 2.1.66~ Updated 2026-03-06
Pimprr

Integrates AI into Anki to ask unlimited questions, auto-generate summaries, and instantly create flashcards from AI-generated answers without switching apps.

card-creationai

1 votes 21% approval πŸ‘ 1 Β· πŸ‘Ž 0 Anki 25.02.7~ Updated 2025-07-10

Description

🎯 Overview

Automatically scrape IndiaBix questions and convert them into beautifully formatted Anki flashcards for spaced repetition learning. Perfect for competitive exam preparation!

Import Interface Simple one-click import interface

πŸ› Version 1.1.1 - Critical Bug Fix (November 1, 2025)

⚠️ IMPORTANT UPDATE: This version fixes a critical bug where all imported questions incorrectly showed "A" as the correct answer, regardless of the actual correct option.

βœ… What's Fixed:

  • Answers now correctly display the actual correct option (A, B, C, D, or E)
  • All question types properly parsed from IndiaBix
  • Tested and verified across multiple categories

πŸ“’ Action Required: If you imported questions with version 1.1.0 or earlier, those flashcards may have incorrect answers. Please delete old decks and re-import with v1.1.1 to ensure learning accuracy.

Technical Details:

  • Changed answer extraction method to read from option-svg-letter-X CSS class
  • Added fallback methods for backward compatibility
  • Comprehensive testing across all question types

✨ Key Features

πŸ”„ Daily Current Affairs Auto-Sync

  • Automatic Import: Latest current affairs sync on Anki startup
  • Smart Organization: Hierarchical decks (Year β†’ Month β†’ Week)
  • Catch-up Mode: Bulk import missed days (up to 90 days)
  • Zero Manual Work: Set it and forget it!

Current Affairs Management Manage daily Current Affairs auto-sync with one click

πŸ“š One-Click Question Import

  • Any IndiaBix Section: GK, Aptitude, Reasoning, Verbal, Technical
  • Complete Content: Questions, options, answers, explanations
  • Image Support: Diagrams and figures included
  • Code Formatting: Properly formatted programming questions
  • Multi-page Scraping: Import entire sections at once

🎨 Beautiful Card Design

  • Professional styling with color-coded sections
  • Clear MCQ format (A-E options)
  • Detailed explanations with step-by-step solutions
  • Automatic tagging by category and subcategory

Sample Card Professionally formatted flashcards with clear explanations

πŸ“‚ Smart Organization

  • Choose existing decks or create new ones
  • Hierarchical Current Affairs decks: IndiaBix::CurrentAffairs::2025::October::Week5
  • Automatic tagging for easy filtering
  • Progress tracking during import

πŸš€ How to Use

For Current Affairs (Auto-Sync)

  1. Enable: Tools β†’ IndiaBix β†’ Manage Current Affairs Auto-Sync
  2. Configure: Toggle auto-sync on/off
  3. Relax: Daily questions automatically added!

For Practice Questions

  1. Copy URL: Go to any IndiaBix section, copy the URL
  2. Import: Tools β†’ IndiaBix β†’ Import from IndiaBix
  3. Paste: Enter URL, select deck, click "Start Scraping"

πŸ“– Supported Categories

  • βœ… General Knowledge (all topics)
  • βœ… Current Affairs (daily auto-sync)
  • βœ… Logical Reasoning (puzzles, blood relations, coding-decoding)
  • βœ… Quantitative Aptitude (numbers, percentages, profit & loss)
  • βœ… Verbal Ability (synonyms, antonyms, sentence correction)
  • βœ… Technical Subjects (C, Java, Python, DBMS, Networking)
  • βœ… All other IndiaBix sections

πŸ”§ Configuration

Access settings via: config.json in add-on folder

{
  "default_deck": "IndiaBix",
  "auto_sync_current_affairs": true,
  "current_affairs_deck": "IndiaBix::CurrentAffairs"
}

πŸ“Š Example URLs to Try

General Knowledge:

  • https://www.indiabix.com/general-knowledge/basic-general-knowledge/
  • https://www.indiabix.com/general-knowledge/indian-history/

Aptitude:

  • https://www.indiabix.com/aptitude/numbers/
  • https://www.indiabix.com/aptitude/percentage/

Reasoning:

  • https://www.indiabix.com/logical-reasoning/blood-relations/
  • https://www.indiabix.com/logical-reasoning/puzzles/

πŸ†˜ Troubleshooting

No questions imported?

  • Check your internet connection
  • Verify the URL is correct and accessible
  • IndiaBix may have changed their HTML structure (report on GitHub)

Auto-sync not working?

  • Check: Tools β†’ IndiaBix β†’ Manage Current Affairs Auto-Sync
  • Ensure "Enable Auto-Sync" is checked
  • Restart Anki

Images not loading?

  • Images are embedded in cards automatically
  • Check if images exist on IndiaBix page

πŸ“‹ Requirements

  • Anki: 2.1.49 or higher
  • Internet: Required for scraping
  • Dependencies: beautifulsoup4, requests, lxml (auto-installed)

πŸ”— Links

⚠️ Disclaimer

This is an unofficial add-on and is not affiliated with IndiaBix. Please respect IndiaBix's terms of service and use this tool responsibly for personal educational purposes only. Avoid excessive scraping that could burden their servers.

πŸ“œ License

MIT License - Free and open source!

Version: 1.1.1
Author: The-Harsh-Vardhan
Last Updated: 1st November, 2025

Happy Learning! πŸ“šβœ¨

README

IndiaBix Flashcard Generator - Anki Add-on

License: MIT Anki Python Version AnkiWeb GitHub Stars

Automatically scrape IndiaBix questions and convert them into Anki flashcards for spaced repetition learning!

Import Interface Simple one-click import interface

πŸ“‹ Table of Contents

🎯 Overview

IndiaBix provides extensive question banks for competitive exam preparation across various topics like General Knowledge, Aptitude, Logical Reasoning, and more. This Anki add-on bridges the gap between IndiaBix's content and spaced repetition learning by automatically:

  • Scraping questions, options, answers, and explanations from IndiaBix
  • Converting them into well-formatted Anki flashcards
  • Organizing cards with automatic tagging and deck management
  • Syncing seamlessly with AnkiWeb for mobile access

✨ Features

Core Features

  • One-Click Import: Simply paste an IndiaBix section URL and import all questions
  • Daily Current Affairs Auto-Sync: Automatically imports latest current affairs on Anki startup
  • Hierarchical Deck Organization: Auto-creates Year β†’ Month β†’ Week subdecks for better organization
  • MCQ Format: Questions and options on the front, answer and explanation on the back
  • Automatic Tagging: Cards are automatically tagged with category and subcategory
  • Deck Management: Choose existing decks or create new ones on the fly
  • Pagination Support: Scrape multiple pages from a single section
  • Beautiful Card Design: Professionally styled cards with color-coded sections
  • Progress Tracking: Real-time progress updates during scraping and importing

Supported Categories

  • General Knowledge
  • Logical Reasoning
  • Quantitative Aptitude
  • Verbal Ability
  • Technical Subjects
  • And all other IndiaBix sections!

πŸš€ Installation

Prerequisites

  • Anki Desktop: Version 2.1.49 or higher (Download here)
  • Internet Connection: Required for web scraping

Method 1: From AnkiWeb (Recommended) ⭐

The easiest way to install!

  1. Open Anki Desktop
  2. Go to Tools β†’ Add-ons β†’ Get Add-ons...
  3. Enter the add-on code: 1588987238
  4. Click OK and restart Anki

That's it! Dependencies are installed automatically.

πŸ”— AnkiWeb Page: https://ankiweb.net/shared/info/1588987238

Method 2: Manual Installation (For Development)

Only use this method if you want to modify the code or contribute to development.

  1. Clone the repository

    git clone https://github.com/The-Harsh-Vardhan/AnkiBix-Extension.git
    
  2. Locate your Anki add-ons folder

    • Windows: %APPDATA%\Anki2\addons21\
    • Mac: ~/Library/Application Support/Anki2/addons21/
    • Linux: ~/.local/share/Anki2/addons21/
  3. Copy the add-on files

    # Copy all .py and .json files to a new folder in addons21
    # Name the folder: indiabix_flashcard_generator
    
  4. Install dependencies

    Windows:

    cd "%APPDATA%\Anki2\addons21\indiabix_flashcard_generator"
    python -m pip install -r requirements.txt
    

    Mac/Linux:

    cd ~/.local/share/Anki2/addons21/indiabix_flashcard_generator
    python3 -m pip install -r requirements.txt
    
  5. Restart Anki

πŸ“– Usage

Basic Workflow

  1. Open the Add-on

    • In Anki, go to Tools β†’ Import from IndiaBix
  2. Enter IndiaBix URL

    • Paste the URL of any IndiaBix section
    • Example: https://www.indiabix.com/general-knowledge/basic-general-knowledge/
  3. Configure Options

    • Maximum Pages: Set how many pages to scrape (1-100)
    • Target Deck: Select an existing deck or create a new one
    • Auto-tag: Enable automatic category tagging
    • Include Explanation: Choose whether to include explanations on card backs
  4. Scrape Questions

    • Click "Scrape Questions" button
    • Wait for the scraper to fetch all questions
    • Review the status messages
  5. Import to Anki

    • Click "Import to Anki" button
    • Cards will be added to your selected deck
    • Sync with AnkiWeb to access on mobile devices

Current Affairs Auto-Sync

Automatically import daily current affairs questions:

Current Affairs Management Manage daily Current Affairs auto-sync settings

  1. Enable Auto-Sync: Tools β†’ IndiaBix β†’ Manage Current Affairs Auto-Sync
  2. Toggle Settings: Enable/disable automatic daily imports
  3. Catch-up Mode: Import missed days (up to 90 days back)
  4. Hierarchical Organization: Questions automatically organized by Year β†’ Month β†’ Week

Example URLs

Here are some popular IndiaBix sections you can import:

General Knowledge:

  • https://www.indiabix.com/general-knowledge/basic-general-knowledge/
  • https://www.indiabix.com/general-knowledge/indian-history/
  • https://www.indiabix.com/general-knowledge/geography/

Logical Reasoning:

  • https://www.indiabix.com/logical-reasoning/blood-relations/
  • https://www.indiabix.com/logical-reasoning/puzzles/
  • https://www.indiabix.com/logical-reasoning/logical-sequence-of-words/

Aptitude:

  • https://www.indiabix.com/aptitude/numbers/
  • https://www.indiabix.com/aptitude/percentage/
  • https://www.indiabix.com/aptitude/time-and-work/

Sample Flashcard

See how questions are beautifully formatted:

Question and Answer Professionally formatted flashcards with clear explanations

Tips for Best Results

  • Start Small: Begin with 1-2 pages to test the scraper
  • Organize Decks: Use hierarchical deck names like IndiaBix::GK::History
  • Regular Imports: Import new questions regularly to build your deck
  • Review Settings: Adjust Anki's review settings for optimal learning
  • Sync Often: Keep your collection synced across devices

βš™οΈ Configuration

Edit config.json to customize default settings:

{
  "default_deck": "IndiaBix::General",
  "auto_tag": true,
  "default_tags": ["IndiaBix"],
  "card_type": "Basic",
  "include_explanation": true,
  "batch_size": 50,
  "timeout": 30,
  "user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36"
}

Configuration Options

Option Description Default
default_deck Default deck name for imports "IndiaBix::General"
auto_tag Automatically tag cards true
default_tags Tags to add to all cards ["IndiaBix"]
include_explanation Include explanations true
batch_size Cards to process at once 50
timeout HTTP request timeout (seconds) 30

πŸ“ Project Structure

indiabix_flashcard_generator/
β”œβ”€β”€ __init__.py           # Main entry point and menu integration
β”œβ”€β”€ manifest.json         # Add-on metadata and configuration
β”œβ”€β”€ config.json          # User-configurable settings
β”œβ”€β”€ scraper.py           # Web scraping logic for IndiaBix
β”œβ”€β”€ ui.py                # PyQt GUI dialog
β”œβ”€β”€ deck_builder.py      # Anki API integration
└── README.md            # Documentation (this file)

Module Descriptions

  • __init__.py: Initializes the add-on and adds menu items to Anki
  • scraper.py: Contains IndiaBixScraper class for web scraping
  • ui.py: Contains IndiaBixDialog class for the GUI
  • deck_builder.py: Contains DeckBuilder class for card creation
  • config.json: Stores user preferences
  • manifest.json: Anki add-on metadata

πŸ› οΈ Development

Setting Up Development Environment

  1. Clone the repository

    git clone https://github.com/yourusername/indiabix-anki.git
    cd indiabix-anki
    
  2. Install dependencies

    pip install beautifulsoup4 requests
    
  3. Link to Anki add-ons folder

    • Create a symbolic link to your Anki addons21 folder
    • This allows you to edit code and test in Anki immediately

Testing the Scraper

Run the scraper independently:

python scraper.py

This will test scraping a sample URL and print results.

Code Style

  • Follow PEP 8 guidelines
  • Use type hints where applicable
  • Add docstrings to all functions and classes
  • Keep functions focused and modular

Architecture Overview

User Input (URL) β†’ Scraper β†’ Question Parser β†’ Deck Builder β†’ Anki Collection
                                                           ↓
                                                      AnkiWeb Sync

πŸ› Troubleshooting

Common Issues

1. "Import aqt/anki could not be resolved" errors

  • These are expected linter warnings outside Anki environment
  • The code will work correctly when loaded in Anki

2. No questions scraped

  • Check if the URL is valid and accessible
  • IndiaBix may have changed their HTML structure
  • Try a different section URL

3. Import fails

  • Ensure you have selected a valid deck
  • Check Anki's error log: Tools β†’ Add-ons β†’ View Files
  • Verify Python dependencies are installed

4. Cards look strange

  • The note type may not have been created properly
  • Delete the "IndiaBix MCQ" note type and let the add-on recreate it

5. Slow scraping

  • Reduce the number of pages to scrape
  • Check your internet connection
  • IndiaBix server may be slow

Getting Help

  • GitHub Issues: Report bugs or request features
  • Anki Forums: Ask questions in the add-on development section
  • Email: Contact the maintainer for support

🀝 Contributing

Contributions are welcome! Here's how you can help:

Ways to Contribute

  1. Report Bugs: Open an issue with detailed information
  2. Suggest Features: Share your ideas for improvements
  3. Submit Pull Requests: Fix bugs or add features
  4. Improve Documentation: Help make the docs clearer
  5. Test: Try the add-on and provide feedback

Contribution Guidelines

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

Future Enhancements

  • [ ] Support for other Q&A websites (GeeksforGeeks, LeetCode)
  • [ ] Daily question scraper (automated imports)
  • [ ] AI-enhanced explanations
  • [ ] Batch URL processing
  • [ ] Export/import question sets
  • [ ] Custom card templates
  • [ ] Statistics and analytics

πŸ“„ License

This project is licensed under the MIT License - see below:

MIT License

Copyright (c) 2025 IndiaBix Flashcard Generator Contributors

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

πŸ™ Acknowledgments

  • IndiaBix: For providing comprehensive question banks
  • Anki: For the powerful spaced repetition system
  • Contributors: Everyone who helps improve this add-on

οΏ½ Documentation

For detailed documentation, see the docs folder:

πŸ“ž Contact


Note: This is an unofficial add-on and is not affiliated with IndiaBix. Please respect IndiaBix's terms of service and use this tool responsibly for personal educational purposes only.

Happy Learning! πŸ“šβœ¨