Documenta is a document composition tool that allows you to easily create documentation with screenshots, text, and code snippets. It's built with PyQt6 and provides a simple, intuitive interface for creating technical documentation.
- Full-screen Screenshots: Capture your entire screen with a single keyboard shortcut
- Text Boxes: Add formatted text explanations to your document
- Code Blocks: Include code snippets with proper formatting
- Drag and Drop Interface: Easily reorder elements in your document
- Export Options: Save your document as HTML
- Clipboard Support: Copy your document content to the clipboard
- Customizable Keyboard Shortcuts: Configure shortcuts to match your workflow
- Ensure you have Python 3.6+ installed
- Install the required dependencies:
pip install PyQt6 python-docx pyperclip- Ctrl+Shift+S : Take a full-screen screenshot
- Ctrl+T : Add a text box
- Ctrl+K : Add a code box
- Use the keyboard shortcuts or menu options to add content to your document
- Drag and drop elements to reorder them
- Edit text and code directly in the boxes
- Export your document to HTML when finished
- Click the "Configure Shortcuts" button
- Enter your preferred key combinations
- Click "Save" to apply the changes
- main.py : Application entry point
- main_window.py : Main application window and UI
- canvas_panel.py : Document canvas where content is displayed and edited
- screenshot.py : Screenshot capture functionality
- keybindings.py : Keyboard shortcut management
- keybindings_dialog.py : Dialog for configuring shortcuts
- docx_exporter.py : Document export functionality
- Save/load project functionality
- Export to additional formats (PDF, Markdown)
- Image editing capabilities
- Undo/redo functionality
- Themes and styling options
This project is open source and available under the MIT License.