https://github.com/jpenrici/terminal_gtkmm
Simple GTKmm Terminal for experimentation.
https://github.com/jpenrici/terminal_gtkmm
bash-interpreter cpp gtkmm4 gui-application python-interpreter terminal-app
Last synced: about 1 month ago
JSON representation
Simple GTKmm Terminal for experimentation.
- Host: GitHub
- URL: https://github.com/jpenrici/terminal_gtkmm
- Owner: jpenrici
- License: mit
- Created: 2025-01-22T22:24:15.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2025-05-12T00:02:05.000Z (about 1 month ago)
- Last Synced: 2025-05-12T01:19:00.850Z (about 1 month ago)
- Topics: bash-interpreter, cpp, gtkmm4, gui-application, python-interpreter, terminal-app
- Language: C++
- Homepage:
- Size: 51.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Terminal_GTKmm
Simple GTKmm Terminal for experimentation.
## Features
* **Multi-Language Command Execution:**
* Execute **Bash** scripts/commands.
* Execute **Python** scripts/commands.
* Execute **Lua** scripts/commands.* **Interactive GTKmm 4.0 Interface:**
* Dedicated input and output areas.
* File Operations.## Prerequisites
To build and run this project, you need the following:
* **CMake** (version 3.25 or higher)
* **C++ Compiler** (supporting C++23 standard, e.g., GCC, Clang)
* **GTKmm 4.0 Development Libraries:**
* On **Debian/Ubuntu**: `sudo apt install libgtkmm-4.0-dev`
* **Python 3 Development Libraries:**
* On **Debian/Ubuntu**: `sudo apt install python3-dev`
* **Lua Development Libraries:**
* On **Debian/Ubuntu**: `sudo apt install liblua5.3-dev` (or `liblua5.4-dev` depending on your system's Lua version)## Building the Project
1. **Clone the repository:**
```bash
git clone
cd Terminal_GTKmm # Where is CMakeLists.txt
```2. **Create a build directory and navigate into it:**
```bash
mkdir build
cd build
```3. **Run CMake to configure the project:**
```bash
cmake ..
```
If all prerequisites are met, CMake will find the necessary libraries and generate the build files. You should see output similar to:
```
-- GTKmm found:
-- Directory: ...
-- Libraries: ...
-- Python3 found:
-- Directory: ...
-- Libraries: ...
-- Lua found:
-- Directory: ...
-- Libraries: ...
```
If any library is not found, CMake will report a fatal error. Ensure you have all required development packages installed.4. **Build the application:**
```bash
cmake --build .
```
This will compile the source code and create the executable.### Running the Application
After a successful build, you can run the executable from the `build` directory:
```bash
./TerminalApp # Program name in CMakeLists.txt
```## References
[GTKmm](https://gtkmm.org/en/) : C++ Interfaces for GTK+ and GNOME.
[Python](https://docs.python.org/3/extending/embedding.html) : Embedding Python in Another Application.
[Lua](https://www.lua.org/docs.html) : Lua Documentation.