[Media] shrs: a shell that is configurable and extensible in rust

This page summarizes the projects mentioned and recommended in the original post on /r/rust

Our great sponsors
  • InfluxDB - Collect and Analyze Billions of Data Points in Real Time
  • Mergify - Updating dependencies is time-consuming.
  • SonarQube - Static code analysis for 29 languages.
  • penrose

    A library for writing an X11 tiling window manager (by sminez)

    Hey everyone 👋 ! I'm currently working on a rust library for building and configuring your own shell! It's inspired by projects like xmonad and penrose where the configuration of the program is done in code. This means that for example, instead of using Bash's arcane syntax for configuring the prompt, it can be configured instead using a rust builder pattern! The project itself is still at a very young stage, so there are plenty of bugs and unimplemented features. However, some things that are (partially) implemented are:

  • xmonad

    The core of xmonad, a small but functional ICCCM-compliant tiling window manager

    Hey everyone 👋 ! I'm currently working on a rust library for building and configuring your own shell! It's inspired by projects like xmonad and penrose where the configuration of the program is done in code. This means that for example, instead of using Bash's arcane syntax for configuring the prompt, it can be configured instead using a rust builder pattern! The project itself is still at a very young stage, so there are plenty of bugs and unimplemented features. However, some things that are (partially) implemented are:

  • InfluxDB

    Collect and Analyze Billions of Data Points in Real Time. Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.

  • shrs

    The rusty POSIX shell library for hackers

    You can keep up with development status and try out the shell on here: https://github.com/MrPicklePinosaur/shrs

  • docopt

    Pythonic command line arguments parser, that will make you smile

    The current completion system has a list of rules of which completions to use at which time. It's purposely simple to make it as flexible as possible. The current things I'm planning is a derive macro like what clap has to generate these rules. I'm also considering introducing a plugin that let's you write rules in the format of docopt

  • carapace-spec

    define simple completions using a spec file

    I haven't looked too deeply into this but, carapace seems to be able to output a yaml spec and it will be much easier to convert from this to the shrs format.

  • autocomplete

    IDE-style autocomplete for your existing terminal & shell

    I'd suggest taking a look at Fig.io's completion stuff: https://github.com/withfig/autocomplete The structure might be useful, and you may be able to import/adapt the data from that repo to bootstrap your own

  • wzsh

    Wez's Shell

    Ambitious! https://github.com/wez/wzsh is something I started a while back that has different goals, but for which I did a lot of ground work for a posix-y shell. It is MIT licensed and you're welcome to draw from it.

  • Mergify

    Updating dependencies is time-consuming.. Solutions like Dependabot or Renovate update but don't merge dependencies. You need to do it manually while it could be fully automated! Add a Merge Queue to your workflow and stop caring about PR management & merging. Try Mergify for free.

  • RuSh

    RuSh aims to be a bash compatible shell with candies, written in Rust. (by lwandrebeck)

  • nushell

    A new type of shell

    Hey OP, figured out you might want to take a look at Nushell: https://github.com/nushell/nushell

  • rush

    A user-focused shell, implemented in Rust.

    I'm already making a shell called Rush 😅 you can check it out at https://github.com/Eyesonjune18/rush

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts