{"id":22550152,"url":"https://github.com/tsukinoko-kun/smash","last_synced_at":"2025-03-28T09:40:20.832Z","repository":{"id":265809395,"uuid":"862014416","full_name":"tsukinoko-kun/smash","owner":"tsukinoko-kun","description":"super magical awesome shell","archived":false,"fork":false,"pushed_at":"2024-10-05T11:05:54.000Z","size":97,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-23T23:33:23.841Z","etag":null,"topics":["interactive-shell","shell","shell-prompt"],"latest_commit_sha":null,"homepage":"https://brew.frankmayer.dev/formula/smash/","language":"Go","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/tsukinoko-kun.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-09-23T22:09:31.000Z","updated_at":"2024-10-05T11:05:58.000Z","dependencies_parsed_at":"2024-12-01T02:46:59.583Z","dependency_job_id":"0b295aa2-e574-4a4b-ad5e-5af7433d0d41","html_url":"https://github.com/tsukinoko-kun/smash","commit_stats":null,"previous_names":["tsukinoko-kun/smash"],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsukinoko-kun%2Fsmash","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsukinoko-kun%2Fsmash/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsukinoko-kun%2Fsmash/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsukinoko-kun%2Fsmash/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tsukinoko-kun","download_url":"https://codeload.github.com/tsukinoko-kun/smash/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246009004,"owners_count":20708879,"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":["interactive-shell","shell","shell-prompt"],"created_at":"2024-12-07T16:11:13.978Z","updated_at":"2025-03-28T09:40:20.805Z","avatar_url":"https://github.com/tsukinoko-kun.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# smash\n\nsuper magical awesome shell\n\nDo **not** use this as your default shell (/bin/sh) because it is not POSIX compliant. Like fish, it is designed to be a user-friendly interactive shell. It is not designed to be a system shell that runs scripts.\n\nEnvironment variables are loaded from your system default shell.\n\nsmash uses ANSI escape codes to format the prompt. If you are using a terminal that does not support ANSI escape codes, you will not be able to use smash.\n\nThere are some bugs on Windows because I don't use Windows. Feel free to open PRs to fix them.\n\n## Features\n\n- Substitute environment variables and ~\n- Tab completion\n- Configurable and interactive prompt\n- Command history\n- Command aliases\n- Context prompt (e.g. git branch)\n- Context aware completions\n\n### Builtins\n\n- `calc` (simple calculator)\n- `cd` (change directory)\n- `echo` (print arguments to stdout)\n- `exit` (exit shell session)\n- `printf` (print formatted string to stdout)\n- `time` (time command execution)\n- `zu` (change directory based on history and frequency, similar to [ajeetdsouza/zoxide](https://github.com/ajeetdsouza/zoxide))\n- `smashfetch` (show system information, similar to [dylanaraps/neofetch](https://github.com/dylanaraps/neofetch))\n\n## Upcoming\n\n- More configuration options\n- More builtins\n\n## Configuration\n\n`~/.config/smash/config.toml`\n\n- `ps1`: Prompt shown on user input\n- `ps2`: Prompt shown on the executed commands\n- `alias`: Map of command aliases where keys can be a string or list of strings\n- `color`: Map of colors supporting all [charmbracelet/lipgloss](https://github.com/charmbracelet/lipgloss) colors\n  - `completion_text`: text color of completion list\n  - `completion_selected_bg`: background color of selected completion entry\n- `on_start`: List of commands to run on shell start\n- `env`: Map of environment variables\n\n## Install\n\n```shell\nbrew install tsukinoko-kun/tap/smash\n```\n\n```shell\ngo install github.com/tsukinoko-kun/smash@latest\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftsukinoko-kun%2Fsmash","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftsukinoko-kun%2Fsmash","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftsukinoko-kun%2Fsmash/lists"}