{"id":23699741,"url":"https://github.com/aesy/xpanda","last_synced_at":"2025-07-15T19:18:42.715Z","repository":{"id":60637542,"uuid":"532924257","full_name":"aesy/xpanda","owner":"aesy","description":"Safe Unix shell-like parameter expansion/variable substitution via cross-platform CLI or Rust API","archived":false,"fork":false,"pushed_at":"2022-12-19T23:55:06.000Z","size":1248,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-04T22:45:16.078Z","etag":null,"topics":["cli","envsubst","eval","rust"],"latest_commit_sha":null,"homepage":"","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/aesy.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}},"created_at":"2022-09-05T13:57:05.000Z","updated_at":"2024-07-27T00:07:21.000Z","dependencies_parsed_at":"2023-01-29T23:15:14.757Z","dependency_job_id":null,"html_url":"https://github.com/aesy/xpanda","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/aesy/xpanda","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aesy%2Fxpanda","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aesy%2Fxpanda/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aesy%2Fxpanda/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aesy%2Fxpanda/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aesy","download_url":"https://codeload.github.com/aesy/xpanda/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aesy%2Fxpanda/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264752601,"owners_count":23658666,"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":["cli","envsubst","eval","rust"],"created_at":"2024-12-30T08:15:36.929Z","updated_at":"2025-07-15T19:18:42.662Z","avatar_url":"https://github.com/aesy.png","language":"Rust","readme":"\u003cimg height=\"140\" src=\"./img/icon.png\"\u003e\n\n[![Crate][crate-image]][crate-url]\n[![Downloads][downloads-image]][downloads-url]\n[![Documentation][docs-image]][docs-url]\n[![Build Status][github-actions-image]][github-actions-url]\n[![Test coverage][codecov-image]][codecov-url]\n[![MIT license][license-image]][license-url]\n\n[crate-image]: https://img.shields.io/crates/v/xpanda?style=flat-square\n\n[crate-url]: https://crates.io/crates/xpanda\n\n[downloads-image]: https://img.shields.io/crates/d/xpanda?style=flat-square\n\n[downloads-url]: https://crates.io/crates/xpanda\n\n[docs-image]: https://img.shields.io/docsrs/xpanda?style=flat-square\n\n[docs-url]: https://docs.rs/xpanda\n\n[github-actions-image]: https://img.shields.io/github/actions/workflow/status/aesy/xpanda/ci.yml?branch=master\u0026style=flat-square\n\n[github-actions-url]: https://github.com/aesy/xpanda/actions\n\n[codecov-image]: https://img.shields.io/codecov/c/github/aesy/xpanda?style=flat-square\n\n[codecov-url]: https://codecov.io/github/aesy/xpanda\n\n[license-image]: https://img.shields.io/github/license/aesy/xpanda?style=flat-square\n\n[license-url]: https://github.com/aesy/xpanda/blob/master/LICENSE\n\nSafe Unix shell-like parameter expansion/variable substitution for those who need a more powerful alternative to \n[`envsubst`](https://www.gnu.org/software/gettext/manual/html_node/envsubst-Invocation.html) but don't want to resort \nto using Bash's [`eval`](https://www.gnu.org/software/bash/manual/html_node/Bourne-Shell-Builtins.html), while also not\nwanting to use a full-on templating engine. `Xpanda` is available as a native single-binary Windows/Linux CLI tool and \na Rust library.\n\n[See how it compares to other programs](./docs/COMPARISON.md).\n\n## Usage\n\nCheck out which [patterns](./docs/PATTERNS.md) `Xpanda` will recognize and expand. \n\nAlso check out the readme of the submodule that you are interested in:\n\n* [CLI](./xpanda-cli/README.md) \n* [LIB](./xpanda/README.md)\n\n## Development\n\n#### Prerequisites\n\n* [Rust Stable 1.60.0+](https://www.rust-lang.org/tools/install)\n* [Cargo](https://doc.rust-lang.org/cargo/getting-started/installation.html)\n\n#### Build\n\nTo compile the project, simply issue the following command:\n\n```sh\n$ cargo build\n```\n\n#### Test\n\n##### Linting\n\nThis project uses [rustfmt](https://github.com/rust-lang/rustfmt) for formatting and \n[clippy](https://github.com/rust-lang/rust-clippy) for linting. Run them with:\n\n```sh\n$ cargo fmt \n$ cargo clippy\n```\n\n##### Unit/Integration/Doc Testing \n\nAll code that goes into master must pass all tests. To run all tests, use:\n\n```sh\n$ cargo test\n```\n\n##### Benchmarking \n\nBenchmarks can be ran using:\n\n```sh\n$ cargo bench\n```\n\n##### Fuzz Testing \n\nAnd fuzz testing, located in the `xpanda-fuzz` directory, can be ran using the \n[cargo-fuzz](https://github.com/rust-fuzz/cargo-fuzz) tool, which has to be installed first:\n\n```sh\n$ cargo install cargo-fuzz \n```\n\nIt must then be ran using the [nightly channel](https://rust-lang.github.io/rustup/concepts/channels.html):  \n\n```sh\n$ cargo +nightly fuzz run fuzz_input --fuzz-dir xpanda-fuzz\n```\n\n## Contribute\n\nUse the [issue tracker](https://github.com/aesy/xpanda/issues) to report bugs or make feature requests. Pull requests \nare welcome, but it may be a good idea to create an issue to discuss any changes beforehand.\n\n## License\n\nMIT, see [LICENSE](/LICENSE) file.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faesy%2Fxpanda","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faesy%2Fxpanda","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faesy%2Fxpanda/lists"}