2021-04-08 18:48:42 +00:00
|
|
|
<div align="center">
|
2021-10-12 20:01:17 +00:00
|
|
|
<img src="./assets/hilbish-flower.png" width=128><br>
|
2021-12-14 14:19:11 +00:00
|
|
|
<img src="./assets/hilbish-text.png" width=256><br>
|
2021-04-08 18:48:42 +00:00
|
|
|
<blockquote>
|
2021-10-12 20:01:17 +00:00
|
|
|
🌺 The flower shell. A comfy and nice little shell for Lua users and fans!
|
2021-12-20 02:19:36 +00:00
|
|
|
</blockquote>
|
2021-10-12 20:01:17 +00:00
|
|
|
<p align="center">
|
|
|
|
<img alt="GitHub commit activity" src="https://img.shields.io/github/commit-activity/m/Rosettea/Hilbish?style=flat-square">
|
|
|
|
<img alt="GitHub commits since latest release (by date)" src="https://img.shields.io/github/commits-since/Rosettea/Hilbish/latest?style=flat-square">
|
|
|
|
<img alt="GitHub contributors" src="https://img.shields.io/github/contributors/Rosettea/Hilbish?style=flat-square"><br>
|
|
|
|
<a href="https://github.com/Rosettea/Hilbish/issues?q=is%3Aissue+is%3Aopen+label%3A%22help+wanted%22"><img src="https://img.shields.io/github/issues/Hilbis/Hilbish/help%20wanted?style=flat-square&color=green" alt="help wanted"></a>
|
|
|
|
<a href="https://github.com/Rosettea/Hilbish/blob/master/LICENSE"><img alt="GitHub license" src="https://img.shields.io/github/license/Rosettea/Hilbish?style=flat-square"></a>
|
|
|
|
<a href="https://discord.gg/3PDdcQz"><img alt="Discord" src="https://img.shields.io/discord/732357621503229962?color=blue&style=flat-square"></a>
|
2021-04-08 18:55:37 +00:00
|
|
|
</p>
|
2021-04-08 18:48:42 +00:00
|
|
|
</div>
|
2021-03-20 05:45:17 +00:00
|
|
|
|
2021-12-14 14:19:11 +00:00
|
|
|
Hilbish is a Unix-y shell which uses Lua for scripting. Things like the prompt,
|
|
|
|
general configuration and such are done with Lua.
|
|
|
|
|
|
|
|
For interactive use, it uses a library to run sh which works on all
|
|
|
|
platforms Hilbish can be compiled for. It can also act as a Lua REPL if you want
|
|
|
|
it to be.
|
2021-04-08 18:48:42 +00:00
|
|
|
|
|
|
|
# Screenshots
|
|
|
|
<div align="center">
|
|
|
|
<img src="gallery/default.png"><br><br>
|
|
|
|
<img src="gallery/terminal.png"><br><br>
|
|
|
|
<img src="gallery/pillprompt.png">
|
|
|
|
</div>
|
2021-03-21 18:46:45 +00:00
|
|
|
|
2021-05-20 23:11:07 +00:00
|
|
|
# Installation
|
2021-03-20 05:45:17 +00:00
|
|
|
**NOTE:** Hilbish is currently only officially supported and tested on Linux
|
|
|
|
|
2021-05-20 23:11:07 +00:00
|
|
|
### Prebuilt binaries
|
|
|
|
Binaries are provided for the latest commit.
|
|
|
|
|
|
|
|
**Note that these use Hilbiline, not readline, and may be missing functionality
|
|
|
|
(moving the cursor, proper unicode support and backspace working properly)**
|
|
|
|
|
|
|
|
Click on the checkmark (or x) near the commit hash, then details for your platform
|
|
|
|
<br><img src="https://modeus.is-inside.me/dyr8UGGq.png"><br>
|
|
|
|
|
|
|
|
Then click on the artifacts drop down, and download artifact for your platform,
|
|
|
|
like what is highlighted in the screenshot.
|
|
|
|
<br><img src="https://modeus.is-inside.me/KJ0Puceb.png"><br>
|
|
|
|
|
2021-06-09 22:18:23 +00:00
|
|
|
### AUR
|
2021-10-12 20:01:17 +00:00
|
|
|
![AUR maintainer](https://img.shields.io/aur/maintainer/hilbish?logo=arch-linux&style=flat-square)
|
|
|
|
Arch Linux users can install Hilbish from the AUR with the following command:
|
2021-06-09 22:18:23 +00:00
|
|
|
```sh
|
|
|
|
yay -S hilbish
|
|
|
|
```
|
2021-10-12 20:01:17 +00:00
|
|
|
Or from the latest `master` commit with:
|
2021-06-09 22:18:23 +00:00
|
|
|
```sh
|
|
|
|
yay -S hilbish-git
|
|
|
|
```
|
|
|
|
|
2021-10-18 02:34:43 +00:00
|
|
|
### Nixpkgs
|
|
|
|
Nix/NixOS users can install Hilbish from the central repository, nixpkgs, through the usual ways.
|
|
|
|
|
2021-10-18 02:36:42 +00:00
|
|
|
If you're new to nix you should probably read up on how to do that [here](https://nixos.wiki/wiki/Cheatsheet).
|
2021-10-18 02:34:43 +00:00
|
|
|
|
2021-05-20 23:11:07 +00:00
|
|
|
### Manual Build
|
|
|
|
#### Prerequisites
|
2021-10-12 20:01:17 +00:00
|
|
|
- [Go 1.16+](https://go.dev)
|
2021-04-04 17:15:55 +00:00
|
|
|
- GNU Readline
|
2021-06-09 22:12:45 +00:00
|
|
|
|
2021-10-12 20:01:17 +00:00
|
|
|
On Fedora or other RPM based distros, readline can be installed with:
|
2021-04-04 17:15:55 +00:00
|
|
|
```
|
|
|
|
sudo dnf install readline-devel
|
|
|
|
```
|
|
|
|
|
|
|
|
On Debian/Ubuntu and distros based on them, it can be installed with:
|
|
|
|
```
|
|
|
|
sudo apt install libreadline-dev
|
|
|
|
```
|
2021-03-20 05:45:17 +00:00
|
|
|
|
2021-06-09 18:38:04 +00:00
|
|
|
On Arch Linux, it can be installed with:
|
|
|
|
```
|
2021-06-09 22:13:43 +00:00
|
|
|
sudo pacman -S readline
|
2021-06-09 18:38:04 +00:00
|
|
|
```
|
|
|
|
|
2021-05-20 23:21:28 +00:00
|
|
|
#### Build
|
2021-05-17 23:37:53 +00:00
|
|
|
First, clone Hilbish:
|
2021-03-22 21:23:24 +00:00
|
|
|
```sh
|
2021-10-12 20:01:17 +00:00
|
|
|
git clone --recursive https://github.com/Rosettea/Hilbish
|
2021-03-20 05:45:17 +00:00
|
|
|
cd Hilbish
|
2021-10-12 20:01:17 +00:00
|
|
|
go get -d ./...
|
|
|
|
```
|
2021-05-17 23:37:53 +00:00
|
|
|
|
2021-10-12 20:01:17 +00:00
|
|
|
To build, run:
|
2021-03-20 05:45:17 +00:00
|
|
|
```
|
2021-10-12 20:01:17 +00:00
|
|
|
make dev
|
|
|
|
```
|
2021-06-09 22:16:04 +00:00
|
|
|
|
2021-10-12 20:01:17 +00:00
|
|
|
Or, if you want a stable branch, run these commands:
|
2021-03-21 22:20:35 +00:00
|
|
|
```
|
2021-10-12 20:01:17 +00:00
|
|
|
git checkout $(git describe --tags `git rev-list --tags --max-count=1`)
|
|
|
|
make build
|
|
|
|
```
|
2021-03-20 05:45:17 +00:00
|
|
|
|
2021-10-12 20:01:17 +00:00
|
|
|
After you did all that, run `sudo make install` to install Hilbish globally.
|
2021-04-08 18:48:42 +00:00
|
|
|
|
2021-10-12 20:01:17 +00:00
|
|
|
# Contributing
|
|
|
|
Any kind of contributions to Hilbish are welcome!
|
|
|
|
Read [CONTRIBUTING.md](CONTRIBUTING.md) before getting started.
|
2021-05-01 17:05:54 +00:00
|
|
|
|
2021-12-14 14:19:11 +00:00
|
|
|
**Thanks to everyone below who's contributed!**
|
2021-04-08 18:48:42 +00:00
|
|
|
<a href="https://github.com/Hilbis/Hilbish/graphs/contributors">
|
|
|
|
<img src="https://contrib.rocks/image?repo=Hilbis/Hilbish" />
|
|
|
|
</a>
|
|
|
|
|
|
|
|
*Made with [contributors-img](https://contrib.rocks).*
|
|
|
|
|
2021-03-20 05:45:17 +00:00
|
|
|
# License
|
2021-12-14 14:19:11 +00:00
|
|
|
Hilbish is licensed under the [MIT license](LICENSE).
|
|
|
|
[Images and assets](assets/) are licensed under CC-BY-SA 4.0
|