- JavaScript 96.1%
- CSS 2.4%
- PowerShell 1%
- HTML 0.3%
- Shell 0.2%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
|
||
| .github/workflows | ||
| .vscode | ||
| assets | ||
| docs | ||
| renderer | ||
| scripts | ||
| security | ||
| tests | ||
| .gitignore | ||
| .npmrc | ||
| .nvmrc | ||
| about.cjs | ||
| build.mjs | ||
| catalog.mjs | ||
| command-context.mjs | ||
| completion.mjs | ||
| custom-theme.mjs | ||
| discovery.mjs | ||
| editor-offsets.mjs | ||
| LICENSE | ||
| main.cjs | ||
| man-pages.mjs | ||
| menu.cjs | ||
| package-lock.json | ||
| package.json | ||
| pane-layout.mjs | ||
| path-completion.mjs | ||
| platform.cjs | ||
| popup-layout.mjs | ||
| preload.cjs | ||
| README.md | ||
| release-checksums.mjs | ||
| settings-menu.cjs | ||
| shell-metadata.cjs | ||
| themes.mjs | ||
| third-party-notices.mjs | ||
ShellSence
A desktop terminal with split panes, customizable themes, and context-aware command suggestions.
ShellSence hosts native shells with Electron, xterm.js and node-pty. Suggestions use installed commands, local files, project scripts and supported local docs; no AI model or paid service is required.
ShellSence supports Linux only. Windows and macOS builds, shell discovery, and installers are not supported.
Features
- Independent side-by-side or stacked panes, with up to eight panes per window.
- File and directory completion, nested paths, and directory-only suggestions for
cd. - Command/subcommand/option suggestions with descriptions and
sudocontext switching. - Current-project npm and Composer script suggestions, without running scripts.
- Linux isolated help discovery and a read-only local manual viewer when available.
- Installed-shell selection and persistent custom terminal executable entries.
- Native menus, custom/bundled themes, fonts, screen-reader mode and cursor controls.
- A brief logo intro with reduced-motion support.
Run From Source
Use Node.js 24, npm, Python 3 and native build tools. Linux desktop tests also need a graphical session and Electron's runtime libraries.
From the repository root, install dependencies once (and again after dependency changes), then run the checks in order:
node --version
npm ci
npm test
npm run test:production
npm run test:startup
npm run test:desktop
npm start builds and opens the app. Restart it after changing source or CSS;
there is no automatic live reload.
If using nvm, select Node in the same terminal first:
source "$HOME/.nvm/nvm.sh"
nvm use 24
Use nvm install 24 if needed. If npm ci failed under an older Node version,
select Node 24 and rerun it.
For Linux sandbox or runtime troubleshooting, see desktop documentation.
Suggestions
Ctrl+Space explicitly opens or reopens suggestions at an editable prompt, including an empty line, and selects the first result. Automatic suggestions require typing. Enter on a selected completion inserts it and hides the list; with no selection, Enter submits the command.
| Input | Behavior |
|---|---|
cd |
Directories in the current location and applicable shell options |
cd Desktop/ |
Subdirectories inside Desktop |
cat Desktop/ |
Matching files and directories |
npm run te |
Matching scripts from the current package manifest |
composer run-script ch |
Matching Composer scripts |
sudo apt |
Apt command suggestions, not sudo suggestions |
nping |
Installed options and manual action when Linux discovery is available |
Down/Up selects; Tab, Right Arrow and clicking insert without executing. Manual actions open a viewer. Escape clears selection but keeps the list visible. Ctrl+C hides it until new non-whitespace text is typed. Foreground programs retain native input.
Completion is best effort, not a full grammar for every program. APT package-name database completion is not implemented.
Terminal Types
Typing exit closes that shell's pane. If it is the window's last pane, the window
closes; other windows stay open. Exiting the last shell in the final window quits
ShellSence. Explicitly restarting a pane still starts a fresh shell in place.
Choose Settings > Terminal > Terminal Type (Next Session), then open a new pane or restart the active pane. Existing processes are not replaced by selection.
| Linux shell candidates |
|---|
Login shell from SHELL, Bash, Zsh, PowerShell 7, Fish, Nushell, POSIX sh, Dash, KornShell, Tcsh, C shell, and /etc/shells entries |
Add Custom Terminal... selects and saves a trusted executable path. Unknown shells run with no extra arguments. Bash, Zsh and PowerShell have suggestion integration; other shells run as plain terminals without ShellSence suggestions or prompt tracking. Discovery is not a guarantee that every installed shell has been tested. See desktop documentation.
Development
See testing instructions for Linux prerequisites, test details and diagnostics. The application and its commands are at the repository root.
npm run test:ci
npm run licenses:audit
npm run test:ci runs Linux checks and an unpacked package build. Production
builds minify first-party code; npm run build:development includes source maps.
See production size notes.
Installers
Build installers on Linux.
Native Builds
Use Node.js 24 and Python 3, install the native tools, run npm ci, then build:
| Host | Command | Outputs |
|---|---|---|
| Linux | npm run dist:linux |
AppImage and Debian package |
On Ubuntu/Debian, install the native compiler and Debian packaging tools:
sudo apt update
sudo apt install build-essential python3 dpkg fakeroot
Packages and checksums are written to release/. See installer documentation.
Security And License
The renderer uses context isolation and restricted IPC. Project manifests are parsed as data; suggestions do not install packages or run project scripts. Linux dynamic help runs in isolation.
Original code is MIT licensed. Third-party components, fonts and Chromium retain their own licenses and notices; the desktop distribution is not exclusively MIT. See the dependency audit.
Created by Abdullah Khdir. Built with assistance from AI under his supervision, notes and instructions; this acknowledgment also appears under Help > About.
Contributing
Include reproducible steps and tests. Linux-specific changes should state the distribution, architecture and shell tested. Discuss changes to shell integration, native session ownership and project-data access before implementation.