{"id":19179548,"url":"https://github.com/mathieubesson/my-magic-prompt","last_synced_at":"2026-05-17T10:36:26.003Z","repository":{"id":231158559,"uuid":"781077401","full_name":"MathieuBesson/my-magic-prompt","owner":"MathieuBesson","description":"Creation of a prompt within a prompt allowing certain commands to be executed","archived":false,"fork":false,"pushed_at":"2024-08-31T15:49:56.000Z","size":1137,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-23T01:44:13.075Z","etag":null,"topics":["bash","cli","shell"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MathieuBesson.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-04-02T17:50:45.000Z","updated_at":"2024-08-31T15:49:59.000Z","dependencies_parsed_at":"2024-11-09T10:43:36.572Z","dependency_job_id":"72cbb2ba-8c8c-49fb-bc41-77986f314cce","html_url":"https://github.com/MathieuBesson/my-magic-prompt","commit_stats":null,"previous_names":["mathieubesson/my-magic-prompt"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MathieuBesson/my-magic-prompt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MathieuBesson%2Fmy-magic-prompt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MathieuBesson%2Fmy-magic-prompt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MathieuBesson%2Fmy-magic-prompt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MathieuBesson%2Fmy-magic-prompt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MathieuBesson","download_url":"https://codeload.github.com/MathieuBesson/my-magic-prompt/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MathieuBesson%2Fmy-magic-prompt/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33135105,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-17T09:28:26.183Z","status":"ssl_error","status_checked_at":"2026-05-17T09:27:52.702Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["bash","cli","shell"],"created_at":"2024-11-09T10:43:28.749Z","updated_at":"2026-05-17T10:36:25.974Z","avatar_url":"https://github.com/MathieuBesson.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# My Magic Prompt\n\n## Description\n\nMy magic prompt is a cli in a terminal that allows you to launch commands that perform certain actions. This project being a student project it is based on precise instructions available here : [Link to Exercise Instructions](./shell-scripting.pdf)\n\n## Prerequisites\n\n### OS\n\nA Linux distribution, WSL, or macOS\n\n### Utilities\n\n![curl](https://img.shields.io/badge/curl-07405E?logo=curl\u0026logoColor=white\u0026labelColor=07405E)\n![make](https://img.shields.io/badge/make-427819?logo=gnu\u0026logoColor=white\u0026labelColor=427819)\n![mailutils](https://img.shields.io/badge/mailutils-DB4437?logo=maildotcom\u0026logoColor=white\u0026labelColor=DB4437)\n![vim](https://img.shields.io/badge/vim-019733?logo=vim\u0026logoColor=white\u0026labelColor=019733)\n\n## Usage\n\n### Start the Prompt\n\n```bash\nmake my-magic-prompt\n```\n\n- To access the prompt, you need to provide a specific login and password, or create your own.\n\n### Running Commands\n\n```bash\n[COMMAND] [ARGUMENTS] [OPTIONS]\n```\n\n## Available Commands\n\n- **passw**: Change the password with a confirmation prompt.\n- **profil**: Displays all your personal information (First Name, Last Name, Age, Email).\n- **ls**: Lists visible and hidden files and directories.\n- **cd**: Navigate to a newly created directory or return to the previous one.\n- **pwd**: Displays the current directory.\n- **hour**: Shows the current time.\n- **rm**: Deletes a file.\n- **rmd**, **rmdir**: Deletes a directory.\n- **httpget**: Downloads the HTML source code of a web page and saves it to a specified file. You will be prompted to provide the file name.\n- **smtp**: Sends an email with a specified address, subject, and message body.\n- **open**: Opens a file directly in the Vim editor, even if the file doesn't exist.\n- **age**: Asks for your age and indicates whether you are a minor or an adult.\n- **quit**, **exit**: Exits the prompt.\n- **help**: Displays available commands.\n- **about**: Description of the program.\n- **version**, **vers**, **--v**: Displays the prompt's version.\n\n## License\n\nThis project is licensed under the GPL License. See the [LICENSE](./LICENSE) file for more details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmathieubesson%2Fmy-magic-prompt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmathieubesson%2Fmy-magic-prompt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmathieubesson%2Fmy-magic-prompt/lists"}