{"id":22304992,"url":"https://github.com/ragul-rofi/javacommandprompt","last_synced_at":"2026-04-28T11:36:43.604Z","repository":{"id":265973393,"uuid":"897007600","full_name":"ragul-rofi/JavaCommandPrompt","owner":"ragul-rofi","description":"A terminal inspiration with basic commands  in a GUI environment completely built in JAVA.","archived":false,"fork":false,"pushed_at":"2024-12-21T18:56:50.000Z","size":184,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-26T00:44:35.644Z","etag":null,"topics":["commad-line-interface","gui","java","javafx","swing"],"latest_commit_sha":null,"homepage":"https://ragul-rofi.github.io/JavaCommandPrompt/","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ragul-rofi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-01T20:43:20.000Z","updated_at":"2024-12-21T18:56:53.000Z","dependencies_parsed_at":"2025-01-30T21:28:18.220Z","dependency_job_id":"663ded8f-d55b-409a-9898-dd7b6eec5719","html_url":"https://github.com/ragul-rofi/JavaCommandPrompt","commit_stats":null,"previous_names":["ragul-rofi/javacommandprompt"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ragul-rofi%2FJavaCommandPrompt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ragul-rofi%2FJavaCommandPrompt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ragul-rofi%2FJavaCommandPrompt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ragul-rofi%2FJavaCommandPrompt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ragul-rofi","download_url":"https://codeload.github.com/ragul-rofi/JavaCommandPrompt/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245568580,"owners_count":20636803,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["commad-line-interface","gui","java","javafx","swing"],"created_at":"2024-12-03T19:09:19.714Z","updated_at":"2026-04-28T11:36:43.596Z","avatar_url":"https://github.com/ragul-rofi.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ragul's Command Prompt\n\nThis project is a simple command-line interface (CLI) implemented using Java and Swing. It simulates a terminal/command prompt experience with a few basic commands like `ls`, `cd`, `pwd`, and `exit`. The program is designed to be used as a terminal emulator with the following features:\n\n- **Directory Navigation**: Change directories and list files.\n- **Command Execution**: Execute simple terminal commands.\n- **Simple UI**: A graphical user interface (GUI) that mimics a Linux terminal.\n\n## Features\n\n- **Directory Navigation**:\n    - `cd \u003cdirectory\u003e`: Change the current directory.\n    - `pwd`: Display the current directory path.\n    - `ls`: List files in the current directory.\n    - `touch`: Creates a new empty file.\n    - `rmvf`: Deletes the file in the directory.\n  \n- **Exit the Program**:\n    - `exit`: Exit the terminal.\n  \n- **Keyboard Shortcuts**:\n    - **Enter**: Submit a command.\n    - **Ctrl + q**: Exit the application.\n\n## Installation\n\nTo use the Command Prompt, you'll need to have Java installed on your machine.\n\n### 1. Clone the Repository\nClone the project to your local machine:\n```bash\ngit clone https://github.com/your-username/command-prompt.git\n```\n### 2. Compile the Project\nNavigate to the project directory and compile the Java file:\n```bash\njavac CommandPrompt.java\n```\n### 3. Run the program\nAfter compiling, run the application using the following command:\n``` bash\njava CommandPrompt\n```\n\nUsage\n-----\n\nOnce the program starts, a window will appear that simulates a terminal. The current directory will be displayed followed by the `%` prompt. You can type commands like:\n\n*   `ls` to list the files in the current directory.\n    \n*   `cd` to change the current directory.\n    \n*   `pwd` to show the current directory path.\n*   `touch` to create a new file.\n*   `rmvf` deletes the file.\n    \n*   `exit` to close the terminal.\n        \n\nContributions\n\nFeel free to fork the project and submit pull requests with any improvements or bug fixes.\n\nLicense\n-------\n\nThis project is licensed under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fragul-rofi%2Fjavacommandprompt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fragul-rofi%2Fjavacommandprompt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fragul-rofi%2Fjavacommandprompt/lists"}