This project is a simple HTML viewer application built using the GTK graphical user interface.
- First, use Git to clone the project:
git clone https://github.com/safaeeansimple-html-viewer.git cd simple-html-viewer
- Now, you can run the project:
python app.py
- When the application is launched, a window with a textarea and a WebView will be displayed.
- You can enter your desired HTML code in the textarea.
- Changes in the textarea are automatically displayed in the WebView.
If you wish to edit this project, you can open the app.py file and apply your changes. Additionally, you can customize the appearance and behavior of the project by modifying the HTMLViewer
class.
To run this project, you need the following libraries:
- gi
- WebKit2
You can install these libraries using the following command:
pip install PyGObject
If you encounter any issues with running or using the project, please feel free to contact me.