{"id":28168539,"url":"https://github.com/nhmikami/42-minishell","last_synced_at":"2026-04-29T15:38:14.069Z","repository":{"id":293057841,"uuid":"933868556","full_name":"nhmikami/42-minishell","owner":"nhmikami","description":"This project is about creating a simple shell. Yes, our own little bash","archived":false,"fork":false,"pushed_at":"2025-05-13T12:48:17.000Z","size":4978,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-13T13:52:39.329Z","etag":null,"topics":["bash","c","minishell"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nhmikami.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null}},"created_at":"2025-02-16T21:31:46.000Z","updated_at":"2025-05-13T12:48:20.000Z","dependencies_parsed_at":"2025-05-13T13:52:42.462Z","dependency_job_id":"9f4cbf4a-187b-4a8d-b727-de100ce80809","html_url":"https://github.com/nhmikami/42-minishell","commit_stats":null,"previous_names":["nhmikami/42-minishell"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nhmikami/42-minishell","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nhmikami%2F42-minishell","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nhmikami%2F42-minishell/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nhmikami%2F42-minishell/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nhmikami%2F42-minishell/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nhmikami","download_url":"https://codeload.github.com/nhmikami/42-minishell/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nhmikami%2F42-minishell/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32432494,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T13:34:34.882Z","status":"ssl_error","status_checked_at":"2026-04-29T13:34:29.830Z","response_time":110,"last_error":"SSL_read: 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","c","minishell"],"created_at":"2025-05-15T15:13:44.952Z","updated_at":"2026-04-29T15:38:14.064Z","avatar_url":"https://github.com/nhmikami.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 42-minishell\nThis project is about creating a simple shell. Yes, our very own little bash.\n\n\u003cp\u003e\n  \u003cimg src=\"gif/mini.gif\"\u003e\u003cbr /\u003e\n\u003c/p\u003e\n\n## Description\nMinishell is a project that aims to recreate a simplified version of the Bash shell, providing users with a functional command-line interface.\n*  Tokenizer: splits the user input into meaningful units (tokens) like commands, arguments, operators and redirection symbols \n*  Parser: builds a logical command structure from the token list — in our case, an Abstract Syntax Tree (AST)\n*  Execution: traverses the parsed structure, setting up input/output redirections, managing pipes between commands, and launching the appropriate built-in functions or external programs\n*  Signal handling: ensures the shell remains responsive and behaves correctly in interactive mode, handling user interruptions gracefully\n\n## Features\n*  Display a prompt when waiting for a new command\n*  Have a working history\n*  Execute commands (using a relative or an absolute path)\n*  Built-ins implemented:\n    * `echo` with `-n` option\n    * `cd` with a relative or absolute path\n    * `pwd` with no options\n    * `export` with no options\n    * `unset` with no options\n    * `env` with no options or arguments\n    * `exit` with no options\n*  Supports the pipe operator `|` to connect commands\n*  Redirections:\n    *  `\u003c` redirects input\n    *  `\u003e` redirects output in truncate mode\n    *  `\u003c\u003c` reads user's input in heredoc mode\n    *  `\u003e\u003e` redirects output in append mode\n*  Environment variables:\n    *  `$` followed by a variable name, expands to the environment variable's value\n    *  `$?` expands to the exit status of the most recently executed command\n    *  `'` (single quotes) prevent the shell from interpreting the metacharacters \n    *  `\"` (double quotes) prevent the shell from interpreting the metacharacters, but allow variable expansion\n    *  `*` (wildcards) expand files and directories that matches a certain pattern\n*  Logical operators:\n    *  `\u0026\u0026` executes the next command only if the previous one succeeded\n    *  `||` executes the next command only if the previous one failed\n*  Signals in interactive mode:\n    * `ctrl-C` displays a new prompt on a new line\n    * `ctrl-D` exits the shell\n    * `ctrl-\\` does nothing\n  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnhmikami%2F42-minishell","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnhmikami%2F42-minishell","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnhmikami%2F42-minishell/lists"}