The kioks application for IGL-Informer based on pyqt6 for embedded.
Project description
Fullscreen Web Display
A PyQt6-based fullscreen web browser that can receive URLs via external commands, perfect for kiosk displays, digital signage, or presentation systems.
Features
- Fullscreen Display: Runs in fullscreen mode by default
- External URL Injection: Load websites by updating a JSON command file
- Background Loading: Pages load in the background and display when fully loaded
- Keyboard Shortcuts: ESC to exit, F11 to toggle fullscreen, Ctrl+R to reload
- Error Handling: Graceful handling of loading failures
- Clean Architecture: Well-organized, modular codebase
Installation
From Source
- Clone the repository:
git clone https://github.com/yourusername/fullscreen-web-display.git
cd fullscreen-web-display
- Install dependencies:
pip install -r requirements.txt
- Install the package:
pip install -e .
Using pip (if published)
pip install fullscreen-web-display
Usage
Running the Application
# If installed via pip
fullscreen-web-display
# Or run directly
python -m fullscreen_web_display.main
Displaying Websites
The application monitors a JSON file called web_display_commands.json in the current directory. To display a website:
- Create or edit the
web_display_commands.jsonfile:
{
"url": "https://example.com"
}
- The application will automatically detect the change and load the website in the background
- Once fully loaded, it will switch to display the new page
Keyboard Shortcuts
- ESC: Exit the application
- F11: Toggle fullscreen mode
- Ctrl+R: Reload the current page
Development
Running Tests
python -m pytest tests/
Code Style
The project follows PEP 8 guidelines. Use tools like black or autopep8 for formatting:
black src/
Adding Features
- Fork the repository
- Create a feature branch
- Add your changes in reasonable commits
- Add tests for new functionality
- Submit a pull request
Requirements
- Python 3.8+
- PyQt6 >= 6.4.0
- PyQt6-WebEngine >= 6.4.0
Use Cases
- Digital Signage: Display rotating web content on screens
- Kiosk Systems: Show specific web applications in fullscreen
- Presentation Systems: Display web-based presentations
- Monitoring Dashboards: Show real-time web dashboards
- Remote Display Control: Control what's displayed from external scripts
Troubleshooting
Common Issues
- PyQt6 Installation: Make sure you have PyQt6 and PyQt6-WebEngine installed
- File Permissions: Ensure the application can create and monitor the JSON file
- Network Issues: Check internet connectivity if pages fail to load
Debug Mode
Set the environment variable DEBUG=1 to enable verbose logging:
DEBUG=1 fullscreen-web-display
License
This project is currently copyrighted by me but contributions are very welcome. I just have to find the right open source license.
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Changelog
v1.0.0
- Initial release
- Fullscreen web display functionality
- External URL injection via JSON file
- Background loading
- Keyboard shortcuts
- Modular architecture
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file igl_kiosk-0.0.3.tar.gz.
File metadata
- Download URL: igl_kiosk-0.0.3.tar.gz
- Upload date:
- Size: 8.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.12.3 Linux/6.8.0-58-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
feac221a89d5d7f0a1d2bb1383de14ea5770e581875c6b52ddb894649732c16b
|
|
| MD5 |
d06b5fc1eec60e64bc97b0bff5eba52e
|
|
| BLAKE2b-256 |
6385904594ebd62644063aa6ed377b96e7287f1fa490863d9d6ed862feaccd7e
|
File details
Details for the file igl_kiosk-0.0.3-py3-none-any.whl.
File metadata
- Download URL: igl_kiosk-0.0.3-py3-none-any.whl
- Upload date:
- Size: 10.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.12.3 Linux/6.8.0-58-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
47126494ae19d2361b5bea4bdbccf2b1d15d50f7762103866d1ef2f1ce31d08b
|
|
| MD5 |
ad224aef71d0af6e3bee6a797daf2e90
|
|
| BLAKE2b-256 |
5ab2fe10d0e5b26298868f4ee7b4871c436921a6c1a814fdcf68d3f355858dd4
|