jpackageTUI is a Textual User Interface (TUI) designed to simplify the usage of the jpackage tool for exporting Java projects.
Kyle
Check their projects out: Hangman, GUI Dictionary App, Learning Fabric Modding, To Do List CLI , The Restless Dungeon, Platformer World, Portfolio Website, Memory Match!, Dictionary, PyWeather
Once you ship this you can't edit the description of the project, but you'll be able to add more devlogs and re-ship it as you add new features!
Since I recently added all possible options of the jpackage command to my program, I noticed that there are a lot of them. For this reason, I have added an option to my program to display them all. Otherwise, only a few specific ones are displayed. I also added that you can skip the jpackage check by adding “--force”.
I am now ready to ship my project.
Since I've been quite busy lately, I've only managed to include almost all jpackage options in my program. My next goal is to integrate them properly into my program, so that you have the possibility to configure everything down to the smallest detail, but at the same time you are not overwhelmed if you don't need all of them.
(See Repository for the file)
Have a nice day and happy coding!
Today I have improved and extended my README. I have also added a small heading to explain what the options you currently see are for. Finally, I have included a few more options.
Since the video did not work yesterday, here is a new attempt
Have a nice day and happy coding!
As announced yesterday, my plan for today was to make the navigation through the interface more user-friendly. However, this took longer than expected. I also fixed a bug where options are added even though they are disabled because something was entered in the input field.
Have a nice day and happy coding!
Today I adjusted the layout again so that a small description of each option can now also be displayed. In addition, the buttons have been moved to the right-hand side so that it looks similar to the file selector. I also added some missing translations and fixed some minor bugs.
The plan for tomorrow is to program the navigation through the new layout and to make the controls in general a bit more user-friendly. This also means that I have to adapt the README again.
Have a nice day and happy coding!
I didn't get that much done today. Nevertheless, I would like to point out once again that every system and therefore every terminal is different. I noticed this especially with the design. The terminal in GoLand on my Mac displays everything differently to apps like iTerm. On Windows, I can't even test my program directly in GoLand due to the terminal integrated in GoLand, because display errors occur there that can't be fixed.
Furthermore, I have to think carefully about how to integrate the data for the jpackage command into my program. Whether I do it dynamically via a JSON or another format or whether I integrate them all permanently into the program. Of course, everything has its own advantages and disadvantages. But I have to choose one of the two options.
Have a nice day and happy coding!
Added support for MacOS in the file selector and added missing translations. Learning effect: Programming operating system independent is annoying
Have a nice day and happy coding!
The program now adapts the language of the system. If the language does not exist, English is used. In Java, this can be done with so-called resource bundles. Since I don't know if there is such a thing in Go, I simply made my own.
Have a nice day and happy coding!
Now I have finally recolored the file selector and added that it can be controlled with the keyboard. In the meantime, a new bug has appeared that the folder selector goes one folder up again when switching between the buttons below and the file selector on the right. This happened because I returned the EventKey.
Have a nice day and happy coding!
Finally I have a better file selector built in. I got the foundation from https://github.com/AEROGU/tvchooser but I have modified it and adapted it to my requirements. It's still not perfect but I will improve that in the future.
Have a nice day and happy coding!
Hello everyone,
here is a quick little update. I have now added auto-completion for file paths. I don't quite like it yet but I will take care of that later. Actually it should look something like the Norton Commander (https://en.wikipedia.org/wiki/Norton_Commander). For that I wanted to create my own FormItem but unfortunately I didn't get it right 🥲.
Have a nice day and happy coding!
Hello everybody,
I wanted to report on my progress over the last few days.
My goal was to develop a program with a curses library (https://en.wikipedia.org/wiki/Curses_(programming_library)). So I decided to add a TUI (Textual User Interface) to the jpackage program from Oracle to make it easier to export a Java project without knowing the command, because you are guided through it like with an installer.
My first attempt was to implement the project in C with the ncurses library. Unfortunately this failed. My second attempt was to implement this program in Java with the jcurses library. This also failed because there was not enough documentation to guide me. My last attempt was with Go and the tview library, which finally worked.
Another problem was that I had never done anything with Go or tview before. So I had to read quite a lot about it and learn how everything works before I actually started.
Now after more than 12 hours I got a first simplified version running (see the screenshot), which is still quite unstable but it works. I definitely still have a long way to go.
I would be happy if you could leave some feedback.
Have a nice day and happy coding.