[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
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • 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:

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • shrs

    The rusty shell toolkit for hackers

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

  • docopt

    This project is no longer maintained. Please see https://github.com/jazzband/docopt-ng

  • 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.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • 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