1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
|
# Build
Rust 1.94 or newer, Python 3, Git, and Bash are required. Linux also needs a Vulkan-capable graphics driver; macOS uses Metal. Install the dependencies for your system below, then follow **Build and install**.
## Ubuntu / Debian / Linux Mint / Pop!_OS
```sh
sudo apt install build-essential git curl python3 pkg-config cmake clang libclang-dev \
libfontconfig1-dev libfreetype-dev libxkbcommon-dev libxkbcommon-x11-dev \
libwayland-dev libssl-dev libzstd-dev libxcb1-dev vulkan-tools
```
## Arch Linux / EndeavourOS / Manjaro
```sh
sudo pacman -Syu --needed base-devel git curl python pkgconf cmake clang \
fontconfig freetype2 libxkbcommon libxkbcommon-x11 wayland openssl zstd \
libxcb vulkan-icd-loader vulkan-tools ttf-jetbrains-mono-nerd
```
Install your GPU's Vulkan driver as well: `vulkan-radeon` for AMD, `vulkan-intel` for Intel, or the appropriate NVIDIA driver for your GPU. Manjaro users should use their distribution's driver tools.
## Fedora
```sh
sudo dnf install gcc gcc-c++ make git curl python3 pkgconf-pkg-config cmake \
clang clang-devel fontconfig-devel freetype-devel libxkbcommon-devel \
libxkbcommon-x11-devel wayland-devel openssl-devel libzstd-devel \
libxcb-devel vulkan-loader vulkan-tools
```
## openSUSE Tumbleweed
```sh
sudo zypper install gcc gcc-c++ make git curl python3 pkg-config cmake clang \
clang-devel fontconfig-devel freetype2-devel libxkbcommon-devel \
libxkbcommon-x11-devel wayland-devel libopenssl-3-devel libzstd-devel \
libxcb-devel vulkan-tools
```
## macOS (Apple Silicon or Intel)
Install and open [Xcode](https://developer.apple.com/xcode/) with the macOS components, then select its developer tools:
```sh
xcode-select --install
sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer
sudo xcodebuild -license accept
```
With [Homebrew](https://brew.sh/) installed:
```sh
brew install cmake pkgconf python git
```
If Xcode reports that the Metal toolchain is missing, run `xcodebuild -downloadComponent MetalToolchain` before building. Build on the Mac you will run Ducky on; the script builds for the host architecture.
## Build and install
Install Rust using [rustup](https://rustup.rs/) if needed:
```sh
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
. "$HOME/.cargo/env"
rustup update stable
```
Clone the repository and run the installer:
```sh
git clone https://github.com/OrielProject/ducky.git
cd ducky
./build.sh
```
`./build.sh` builds the release binary, installs `~/.local/bin/ducky`, and adds that directory to your shell's PATH. Open a new terminal to use `ducky`.
- **Linux:** installs **Ducky Shell** in your desktop app launcher. Configuration is in `~/.config/ducky/`.
- **macOS:** installs `~/Applications/Ducky.app` for Finder or Spotlight. Configuration is in `~/Library/Application Support/ducky/`. You can launch it with `open "$HOME/Applications/Ducky.app"`.
- Set `XDG_CONFIG_HOME` to override the configuration root on either platform. Existing configuration files are preserved.
- Use `./build.sh --debug` for a development build, or `cargo build --locked` to build without installing.
- For the default appearance, install **JetBrainsMono Nerd Font Mono** from [Nerd Fonts](https://www.nerdfonts.com/font-downloads), or set `font` in `config.lua` to an installed monospace font. Arch's command above includes the font.
# Screenshots


# Features
- Default violet theme, JetBrainsMono Nerd Font Mono, and a two-line Bash prompt with Git branch and exit status. Install the font for the matching appearance.
- Native Rust + GPUI rendering; PTY-backed login shell, ANSI/256/truecolor, alternate screen, Unicode and IME input.
- Integrated draggable tab bar with window controls and resize edges.
- `Ctrl+Shift+B` hides or restores the bottom bar; set `show_status_bar = false` in Lua to keep it hidden at launch. Change `status_bar_toggle` to customize the shortcut.
- Tabs: `Ctrl+Shift+T` opens, `Ctrl+Shift+W` closes, `Ctrl+Tab` cycles.
- Mouse selection, `Ctrl+Shift+C` copies selection (or visible screen), `Ctrl+Shift+V` pastes with bracketed-paste support.
- Mouse-wheel scrollback and `Shift+PageUp` / `Shift+PageDown`.
- Lua 5.4 configuration in your platform's config directory under `ducky/config.lua` (paths above), created on first launch. Lua modules can live alongside it.
- Customize fonts, spacing, colors, ANSI palette, window dimensions, shell arguments, environment, startup commands, and shortcuts. The generated config contains examples. Lua scripts run with your user permissions.
- `Ctrl+Shift+R` reloads appearance and bindings; new tabs pick up shell/environment changes. `Ctrl+Shift++` / `Ctrl+Shift+-` changes font size.
- `ducky --check-config` validates Lua; `ducky --config-dir` prints its location.
|