{"id":25498323,"url":"https://github.com/natuworkguy/nnos-shell","last_synced_at":"2025-11-11T03:30:19.954Z","repository":{"id":255756844,"uuid":"853019754","full_name":"Natuworkguy/NNOS-Shell","owner":"Natuworkguy","description":null,"archived":false,"fork":false,"pushed_at":"2025-02-12T02:43:44.000Z","size":35,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-12T03:31:13.712Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Natuworkguy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-09-05T20:50:57.000Z","updated_at":"2025-02-12T02:43:48.000Z","dependencies_parsed_at":"2025-02-12T03:38:03.825Z","dependency_job_id":null,"html_url":"https://github.com/Natuworkguy/NNOS-Shell","commit_stats":null,"previous_names":["natuworkguy/nnos-shell"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Natuworkguy%2FNNOS-Shell","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Natuworkguy%2FNNOS-Shell/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Natuworkguy%2FNNOS-Shell/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Natuworkguy%2FNNOS-Shell/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Natuworkguy","download_url":"https://codeload.github.com/Natuworkguy/NNOS-Shell/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239587246,"owners_count":19663892,"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":[],"created_at":"2025-02-19T02:42:32.055Z","updated_at":"2025-11-11T03:30:19.919Z","avatar_url":"https://github.com/Natuworkguy.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NNOS Shell\n\nA custom shell for the NNOS operating system, written in Bash, with support for configuration files, and command history\n\n## Features\n\n- **Custom Configuration**: NNOS Shell reads from a configuration file (`~/.nsconfig`) to set up behavior such as whether to clear the screen on startup.\n- **Command Execution**: Supports running standard shell commands, with basic error handling.\n- **Command History**: Previous commands are stored and can be viewed by running the `history` command.\n- **Arrow Key Support**: Use the up and down arrow keys to scroll through previous commands.\n- **Dynamic Config Creation**: If the configuration file does not exist, it is automatically created with default values.\n\n## Configuration\n\nThe configuration file (`~/.nsconfig`) controls the shell's behavior. If it does not exist, the shell will create it with the following default values:\n\n```bash\nCLEAR=\"True\"\n# Defines if NNOS Shell clears before starting up.\n# Allowed values: True, False\nUSE_THIS_CONFIG=\"False\"\n# Defines if this config is used.\n# If it is set to false, none of the settings above will apply.\n# Allowed values: True, False\nALL=\"@\"\nMAIN=\"0\"\nSPAR=\"2\"\n# Nerdy stuff\n```\n\n### Configurable Options:\n\n- `CLEAR`: Whether to clear the screen before starting the shell (`True` or `False`).\n- `USE_THIS_CONFIG`: If set to `False`, the default internal settings will override the config file.\n\n## Installation\n\n1. Clone this repository:\n   ```bash\n   git clone https://github.com/natuworkguy/nnos-shell.git\n   ```\n\n2. Navigate to the directory:\n   ```bash\n   cd nnos-shell\n   ```\n\n3. Make the script executable:\n   ```bash\n   chmod +x */*\n   ```\n\n4. Run the shell:\n   ```bash\n   ./`VERSION`/nnos-shell.sh\n   ```\n\n## Usage\n\nOnce the NNOS Shell is running, you can execute commands as you would in any other shell. \n\n### Key Commands:\n- **`exit`**: Exit the shell. You can optionally provide an exit code, e.g., `exit 1`.\n\n## Examples\n\n```bash\n ┌─[NNOS.SHELL (user: /home/user)]\n └──╼ \u003e echo \"Hello, World!\"\nHello, World!\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnatuworkguy%2Fnnos-shell","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnatuworkguy%2Fnnos-shell","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnatuworkguy%2Fnnos-shell/lists"}