This guide will help you set up and run Dook directly from the source code.
Before you begin, ensure you have the following installed on your system:
- Python 3.7 or higher - Download here
- Git (optional, for cloning the repository) - Download here
- pip (Python package manager) - Usually comes with Python
git clone https://github.com/ShadeXploit/Dook.git
cd Dook- Go to the GitHub repository
- Click the green "Code" button
- Select "Download ZIP"
- Extract the ZIP file to your desired location
- Open a terminal/command prompt and navigate to the extracted folder
Check that Python is installed and accessible:
python --versionYou should see something like: Python 3.x.x
Creating a virtual environment keeps your project dependencies isolated:
python -m venv venv
venv\Scripts\activatepython3 -m venv venv
source venv/bin/activateYou should see (venv) appear in your terminal prompt when activated.
Install the required Python packages:
pip install -r requirements.txtOr install them manually:
pip install requests beautifulsoup4- requests - Handles HTTP requests to Google
- beautifulsoup4 - Parses HTML responses
Launch the Dook GUI:
python dook.pyThe GUI window should open immediately. If it doesn't, check the terminal for error messages.
- Make sure Python is in your system PATH
- Try using
python3instead ofpython - On Windows, use the full path to python.exe
# Reinstall dependencies
pip install --upgrade -r requirements.txt
# Or install individually
pip install requests beautifulsoup4tkinter usually comes with Python, but some systems require separate installation:
Windows: tkinter is included with Python installer
macOS:
brew install python-tk@3.9 # Replace 3.9 with your Python versionLinux (Ubuntu/Debian):
sudo apt-get install python3-tkLinux (Fedora):
sudo dnf install python3-tkinter- Ensure you're using the correct Python version (3.7+)
- Try running from the directory containing
dook.py - Check for error messages in the terminal
After setup, your directory should look like:
Dook/
├── dook.py # Main application
├── README.md # User documentation
├── COMPILE.md # This file
├── requirements.txt # Python dependencies
└── venv/ # Virtual environment (if created)
python dook.pyvenv\Scripts\activate
python dook.pysource venv/bin/activate
python dook.pyIf you want to make changes to the source:
- Edit
dook.pywith your preferred text editor - Save the file
- Run it again to test your changes
Common areas to modify:
- File types dropdown (line ~50): Change supported formats
- Search function (line ~9): Modify search behavior
- GUI layout (lines 25-85): Adjust window size or colors
For development, you can install the package in editable mode:
pip install -e .This allows you to test changes without reinstalling each time.
If you want to distribute Dook as a standalone executable, you can use PyInstaller. Important: PyInstaller creates executables for the OS it's running on. To create a Windows .exe, you must run these commands on a Windows machine. To create a Linux executable, run them on Linux, etc.
Run these commands on a Windows machine:
pip install pyinstaller
pyinstaller --onefile --windowed --icon=icon.ico dook.pyThe .exe file will be created in the dist/ folder.
Run these commands on a Linux or macOS machine:
pip install pyinstaller
pyinstaller --onefile --windowed dook.pyThe executable will be created in the dist/ folder.
--onefile- Creates a single executable file (instead of a folder)--windowed- Hides the console window on startup (Windows only, recommended)--icon=icon.ico- Sets a custom icon for the executable (Windows only, optional)dook.py- The main Python file to compile
- Windows executables (.exe): Only runnable on Windows
- Linux executables: Only runnable on Linux
- macOS executables: Only runnable on macOS
- You cannot create a Windows executable from Linux, or vice versa
| Component | Minimum | Recommended |
|---|---|---|
| Python | 3.7 | 3.10+ |
| RAM | 512 MB | 2 GB |
| Disk Space | 100 MB | 500 MB |
| OS | Windows 7+ / macOS 10.9+ / Linux | Modern OS |
If you encounter issues:
- Check the Troubleshooting section above
- Review error messages in the terminal carefully
- Open an issue on GitHub Issues
- Include:
- Your Python version (
python --version) - Your operating system
- The error message you're seeing
- Steps you took to reproduce the issue
- Your Python version (
- ✅ Use a virtual environment to avoid conflicts
- ✅ Keep your Python installation up to date
- ✅ Verify all dependencies are installed before running
- ✅ Run from the command line to see error messages
- ✅ Check GitHub Issues before reporting a bug
Once Dook is running successfully:
- Read the README.md for usage instructions
- Try searching for your favorite books
- Explore Google dork operators for advanced searches
- Contribute improvements back to the project!
Happy searching! 📚
Last Updated: January 2026