{"id":13493506,"url":"https://github.com/reujab/silver","last_synced_at":"2026-04-04T12:58:24.509Z","repository":{"id":32717212,"uuid":"140200404","full_name":"reujab/silver","owner":"reujab","description":"A cross-shell customizable powerline-like prompt with icons","archived":false,"fork":false,"pushed_at":"2024-02-21T13:29:24.000Z","size":263,"stargazers_count":495,"open_issues_count":22,"forks_count":30,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-12-31T02:07:50.946Z","etag":null,"topics":["agnoster","bash","fish","icons","powerline","prompt","shell","theme","zsh"],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/reujab.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":"2018-07-08T20:29:40.000Z","updated_at":"2025-12-17T06:04:55.000Z","dependencies_parsed_at":"2024-06-12T17:13:24.232Z","dependency_job_id":"feca0731-15ed-496d-9e9f-f2d7c1006d04","html_url":"https://github.com/reujab/silver","commit_stats":{"total_commits":136,"total_committers":20,"mean_commits":6.8,"dds":0.3970588235294118,"last_synced_commit":"91a79d63cf637b8068d29be6aeec0ca3af5a1c38"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/reujab/silver","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reujab%2Fsilver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reujab%2Fsilver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reujab%2Fsilver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reujab%2Fsilver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/reujab","download_url":"https://codeload.github.com/reujab/silver/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reujab%2Fsilver/sbom","scorecard":{"id":772501,"data":{"date":"2025-08-11","repo":{"name":"github.com/reujab/silver","commit":"68d2f014cdf9f659dc4355bf08af3d20a35e6d23"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.3,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":3,"reason":"Found 8/24 approved changesets -- score normalized to 3","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/rust.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/rust.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/reujab/silver/rust.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/rust.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/reujab/silver/rust.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/rust.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/reujab/silver/rust.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/rust.yml:32: update your workflow using https://app.stepsecurity.io/secureworkflow/reujab/silver/rust.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/rust.yml:33: update your workflow using https://app.stepsecurity.io/secureworkflow/reujab/silver/rust.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/rust.yml:39: update your workflow using https://app.stepsecurity.io/secureworkflow/reujab/silver/rust.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/rust.yml:48: update your workflow using https://app.stepsecurity.io/secureworkflow/reujab/silver/rust.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/rust.yml:49: update your workflow using https://app.stepsecurity.io/secureworkflow/reujab/silver/rust.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/rust.yml:55: update your workflow using https://app.stepsecurity.io/secureworkflow/reujab/silver/rust.yml/master?enable=pin","Info:   0 out of   3 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   6 third-party GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: license:0","Info: FSF or OSI recognized license: MIT License: license:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v2.0.0 not signed: https://api.github.com/repos/reujab/silver/releases/38456758","Warn: release artifact v1.1.0 not signed: https://api.github.com/repos/reujab/silver/releases/19929757","Warn: release artifact v1.0.8 not signed: https://api.github.com/repos/reujab/silver/releases/19352951","Warn: release artifact v1.0.7 not signed: https://api.github.com/repos/reujab/silver/releases/17253681","Warn: release artifact v1.0.6 not signed: https://api.github.com/repos/reujab/silver/releases/17159146","Warn: release artifact v2.0.0 does not have provenance: https://api.github.com/repos/reujab/silver/releases/38456758","Warn: release artifact v1.1.0 does not have provenance: https://api.github.com/repos/reujab/silver/releases/19929757","Warn: release artifact v1.0.8 does not have provenance: https://api.github.com/repos/reujab/silver/releases/19352951","Warn: release artifact v1.0.7 does not have provenance: https://api.github.com/repos/reujab/silver/releases/17253681","Warn: release artifact v1.0.6 does not have provenance: https://api.github.com/repos/reujab/silver/releases/17159146"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 15 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":9,"reason":"1 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: RUSTSEC-2024-0421 / GHSA-h97m-ww89-6jmq"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-23T02:34:08.023Z","repository_id":32717212,"created_at":"2025-08-23T02:34:08.023Z","updated_at":"2025-08-23T02:34:08.023Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31400460,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-04T10:20:44.708Z","status":"ssl_error","status_checked_at":"2026-04-04T10:20:06.846Z","response_time":60,"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":["agnoster","bash","fish","icons","powerline","prompt","shell","theme","zsh"],"created_at":"2024-07-31T19:01:16.001Z","updated_at":"2026-04-04T12:58:24.490Z","avatar_url":"https://github.com/reujab.png","language":"Rust","readme":"# silver\n\n[![Join the chat at https://gitter.im/reujab-silver/community](https://badges.gitter.im/reujab-silver/community.svg)](https://gitter.im/reujab-silver/community?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge)\n\n[![Packaging status](https://repology.org/badge/vertical-allrepos/silver.svg)](https://repology.org/project/silver/versions)\n\nA cross-shell customizable powerline-like prompt heavily inspired by [Agnoster](https://github.com/agnoster/agnoster-zsh-theme). The faster rust port of [bronze](https://github.com/reujab/bronze).\u003cbr/\u003e\n![](./sleep.png)\n\n## How does it work?\n\nUnlike most shell prompts, silver is not written in shell script, but entirely in Rust.\n\nWhen `silver init` is run, it outputs shell code that sets your left prompt to run `silver lprompt` and right prompt to `silver rprompt`, which output the actual prompt.\n\n## Getting started\n\nSince silver is not written in shell script, it should theoretically be compatible with any shell, but the supported shells are Powershell, Bash, Zsh, fish, Ion and Elvish.\n\n### Icons\n\nTo be able to use the custom icons (which are disabled by default), you must patch your font or install a pre-patched font from [Nerd Fonts](https://github.com/ryanoasis/nerd-fonts).\n\n### Installation\n\n#### From source\n\n- install and setup [Rust](https://www.rust-lang.org/)\n- run `cargo install --git https://github.com/reujab/silver`\n\n#### From pre-compiled binary\n\n- download a binary on the [releases page](https://github.com/reujab/silver/releases)\n- add binary to `PATH` environment variable\n\n#### macOS prerequisite\n\nOn macOS, you will have to do a bit more:\n\n- install [Homebrew](https://brew.sh/)\n- run `brew install coreutils`\n- run `brew install openssl`\n- add `alias date=\"gdate\"` to your shell config\n\n### Configuration\n\nNow that you have silver installed, you need to create `silver.toml` and put it in the following path: \n- **Linux:** `~/.config/silver/silver.toml` or `$XDG_CONFIG_HOME/silver/silver.toml`\n- **macOS:** `~/Library/Preferences/rs.silver/silver.toml`\n\nTo have your prompt look like the screenshot at the top of the readme, configure `silver.toml` with:\n\n```toml\n[[left]]\nname = \"dir\"\ncolor.background = \"blue\"\ncolor.foreground = \"black\"\n\n[[left]]\nname = \"git\"\ncolor.background = \"green\"\ncolor.foreground = \"black\"\n\n[[right]]\nname = \"status\"\ncolor.background = \"white\"\ncolor.foreground = \"black\"\n\n[[right]]\nname = \"cmdtime\"\ncolor.background = \"magenta\"\ncolor.foreground = \"black\"\n\n[[right]]\nname = \"shell\"\ncolor.background = \"green\"\ncolor.foreground = \"black\"\n```\n\nNow that silver is configured, you need to evaluate its bootstrap code.\n\n#### Bash\n\n`~/.bashrc`:\n\n```sh\nsource \u003c(silver init)\n```\n\n#### Ion\n\n`~/.config/ion/initrc`:\n\n```sh\neval $(silver init)\n```\n\n#### Powershell\n\n```ps1\nInvoke-Expression -Command $(silver init | Out-String)\n```\n\n#### Zsh\n\nSee [zsh plugin](https://github.com/silver-prompt/zsh#installation)\n\n#### Fish\n\nSee [fish plugin](https://github.com/silver-prompt/fish#installation)\n\n#### Elvish\n\nSee [elvish plugin](https://github.com/silver-prompt/elvish#installation)\n\n## Documentation\n\nDocumentation is available on [the wiki](https://github.com/reujab/silver/wiki).\n\n## Project structure\n\n- [`src/`](src)\n  - [`modules/`](src/modules)\n    - [`cmdtime.rs`](src/modules/cmdtime.rs)\n      - source code for the [`cmdtime`](https://github.com/reujab/silver/wiki/Command-Time) module\n    - [`dir.rs`](src/modules/dir.rs)\n      - source code for the [`dir`](https://github.com/reujab/silver/wiki/Directory) module\n    - [`env.rs`](src/modules/env.rs)\n      - source code for the [`env`](https://github.com/reujab/silver/wiki/Environment-Variable) module\n    - [`git.rs`](src/modules/git.rs)\n      - source code for the [`git`](https://github.com/reujab/silver/wiki/Git) module\n    - [`mod.rs`](src/modules/mod.rs)\n      - handles modules\n    - [`os.rs`](src/modules/os.rs)\n      - source code for the [`os`](https://github.com/reujab/silver/wiki/OS) module\n    - [`status.rs`](src/modules/status.rs)\n      - source code for the [`status`](https://github.com/reujab/silver/wiki/Status) module\n    - [`time.rs`](src/modules/time.rs)\n      - source code for the [`time`](https://github.com/reujab/silver/wiki/Time) module\n    - [`user.rs`](src/modules/user.rs)\n      - source code for the [`user`](https://github.com/reujab/silver/wiki/User) module\n    - [`virtualenv.rs`](src/modules/virtualenv.rs)\n      - source code for the [`virtualenv`](https://github.com/reujab/silver/wiki/virtualenv) module\n  - [`cli.rs`](src/cli.rs)\n    - parses command line arguments\n  - [`config.rs`](src/config.rs)\n    - parses TOML\n  - [`icons.rs`](src/icons.rs)\n    - processes icons, separators, and Unicode\n  - [`init.bash`](src/init.bash)\n    - bootstrap code for Bash\n  - [`init.ion`](src/init.ion)\n    - bootstrap code for Ion\n  - [`init.ps1`](src/init.ps1)\n    - bootstrap code for Powershell\n  - [`main.rs`](src/main.rs)\n    - does all the magic\n  - [`print.rs`](src/print.rs)\n    - prints prompt segments\n  - [`sh.rs`](src/sh.rs)\n    - shell-specific code\n","funding_links":[],"categories":["Themes","Rust","Packages"],"sub_categories":["ZSH on Windows","Zinit (née zplugin)","Prompts"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freujab%2Fsilver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freujab%2Fsilver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freujab%2Fsilver/lists"}