Linux terminal script to Web HTML5 GUI

Linux terminal script to Web HTML5 GUI

Cancelled

Job Description

We have and HTML5/CSS/JS application that will run in Apache and Linux, and we need to add some functionality that has to come from 3 different programs:

- 2 programs are made in perl
- 1 is made in python

All programs are Linux, terminal based (they don't have GUI), and they have multiple options some options are for example
____________

root@localhost$ python xxxx.py
##start program some comments##
1) option one
2) option two
3) option tree

xxx> 2
####
###comments
### Panel option 2

1) Panel 2 Option 1
2) Panel 2 Option 2
3) Panel 2 Option 3

xxx> 3
####
###processing
### your output is here >>> /var/www/demo
____________

NEEDS:

- Also the configuration files are in plan text (maximum 2 configurations files for every app), that have to be show to the user in the browser, when the user click one HTML bottom, edit the file and replace the file whit the new configuration that the user submit. (if you are going to use a framework please explain in the privat mesage to adjust some requeriments)

- In some options of the application the user is ask to put some text, or path not just numbers, and it can be multiple options until they finish the process of the first menu option. (so that mean's that the script as to read the output of the program (the stdout) and send the output of the program to a html file were the user will see in the GUI web and the option from the 3 programs have to be displayed in dropdown menu or any other easy and nice interface, also the menus of the program can be variable over time)

- All 3 programs use sockets to run they our task and they need to check if they are running and if not just reload the program from a HTML bottom example( <?php shell_exec(´python xxx.py´);?> ) or ( <?php shell_exec(´perl xaaa.pl ´);?> )

- All 3 security programs have to be moved to Web in a interactive menus, it can be done in PHP, Javascript, python etc.. the programing language is not a requirement to do the job. (but is a requirement that the code has to be easy deployable )

- The idea is that the user will click in to html5 bottom for every app, the bottom's will popup the menu of that ´app´, asking the options (that the program run in the linux terminal ), ones the user has finish to go thought the menus, they will close the popup, and the update, or the options that the user submitted to the program the program has to process the options and pull the output .

- The code has to be easy readable , full commented and easy to modify or integrate (script based approach ).

- The code need to have a central configuration file were the difference script will look for the path where the program is running, has the configuration files and can be stop and started
(the stop process can be done whit the>> Kill -9 PID )
(the start process can be done like <?php shell_exec(´python xxx.py´);?> )

___________________________________________________

FILE's that has to be given to the end of the job:

1) Configuration file for the difference scripts files that they will go to look were the python or perl application is running in the linux file system.

2) Python Program
2.1) File that Reads the menu that the program display's in the terminal
2.2) File that can change the menu text (the output of the program ) in differents language (to display to the user) .
2.3) File that read the user input in the HTML Web interface and pass the input to the program
2.4) File that Reads the output of the program and show to the user in different HTML bottom the results
2.5) File that can edit like a HTML text area the configuration of the program and submit the changes and update the changes in the program files (this file can be html and php, or HTML and any other language) (all the configuration files are text based)
2.6) File that reads if the program is running and if its running let the script process the options.
2.7) File that Stop the program (local and remote host)
2.8) File that Start the program(local and remote host)

3) Perl programs:
3.1) File that Reads the menu that the program display's in the terminal
3.2) File that can change the menu text (the output of the program ) in differents language (to display to the user) .
3.3) File that read the user input in the HTML Web interface and pass the input to the program
3.4) File that Reads the output of the program and show to the user in different HTML bottom the results
3.5) File that can edit like a HTML text area the configuration of the program and submit the changes and update the changes in the program files (this file can be html and php, or HTML and any other language) (all the configuration files are text based)
3.6) File that reads if the program is running and if its running let the script process the options.
3.7) File that Stop the program (local and remote host)
3.8) File that Start the program (local and remote host)

The programs will be given to download for the winer of the job.