Loading repository data…
Loading repository data…
YukiCodepth / repository
A next-gen, AI-augmented Linux shell. Featuring autonomous LangGraph agents, persistent history, dynamic .yukirc aliases, and true-color terminal aesthetics. Built by an ECE mind at SRM.
YukiShell is a high-performance, custom C-based Linux shell environment engineered specifically for Electronics and Communication Engineering (ECE) workflows, embedded systems development, and hardware-accelerated terminal operations.
Developed by Yukino Labs, it bridges the gap between low-level system execution, bare-metal hardware telemetry, and integrated neural workflows natively within the terminal.
Real-time querying and system hardware diagnostics.
Root-level system override initiating an isolated, RAM-only /tmp container environment.
YukiShell is packed with native C-builtins and extended Python hardware hooks to streamline complex engineering tasks.
xls — Enhanced directory lister featuring rich metadata, sizing, and custom color-coded outputs.xcat <file> — Secure file stream with custom formatting headers, replacing standard cat.cd <path> — Robust directory traversal supporting relative paths, .., and ~ expansion.clear — Wipes the terminal buffer and re-renders the YukiShell HUD cleanly.neofetch — Instantly displays the Yuki ASCII logo, system resource usage, and live hardware specifications.ghostmode — Drops the user into an ephemeral, isolated namespace container. All files written inside exist only in RAM and vanish entirely upon exit.jobs — Monitors all background process IDs operating in the "Shadow Realm".xnet [host] — Lightning-fast asynchronous port scanner (100ms timeout per port) for local network auditing.dash — Launches a real-time hardware telemetry dashboard for system oversight.<command> & — Appending & detaches any process to background execution seamlessly.ask sub-engine)ask --gemini "prompt" — Directly queries the integrated LLM for ECE coding assistance, kernel debugging, or algorithmic logic.ask --plot <port> — Yuki Oscilloscope: Reads raw serial data (e.g., from /dev/ttyUSB0 at 9600 baud) and renders a live ANSI-based waveform graph directly in the terminal.ask --chip — Silicon Scanner: Activates the webcam, utilizes computer vision to read laser-etched IC markings, and fetches datasheet summaries and ASCII pinout diagrams automatically.ask --live — Visual Tutor: Initiates a real-time continuous video stream analysis agent.ask --voice — Parses acoustic input into executable terminal commands or text queries.Who is this for?
ghostmode).What makes it unique?
Unlike standard bash or zsh, YukiShell is domain-specific. It merges standard POSIX shell capabilities with bare-metal hardware analysis tools (like terminal oscilloscopes) and OpenCV-driven silicon scanning, creating an all-in-one workspace for hardware developers.
builtins.c, parser.c, executor.c) for superior memory management and linker efficiency.The diagram below maps the execution flow of YukiShell. It supports panning and zooming in compatible markdown environments.
graph TD
A([User Terminal Input]) --> B[Lexical Parser]
B --> C{Is C-Builtin?}
C -->|Yes| D[Native C Executor]
D --> D1[Filesystem: xls, xcat, cd]
D --> D2[System: ghostmode, xnet]
D --> D3[Shadow Realm: jobs, &]
C -->|No: 'ask' Hook?| E{Hardware/Neural Bridge}
E -->|No| F[Fork & Exec: /bin/]
E -->|Yes| G[yuki_ai.py Virtual Env]
G -->|--plot| H((PySerial: /dev/tty*))
G -->|--chip / --live| I((OpenCV Camera Stream))
G -->|--gemini| J((LLM Cloud API))
H --> K([Render to Yuki HUD])
I --> K
J --> K
Ensure your Linux distribution has gcc, core build utilities, and Python 3 installed.
sudo apt update
sudo apt install build-essential libreadline-dev python3 python3-venv python3-pip
git clone [https://github.com/yourusername/Yukishell.git](https://github.com/yourusername/Yukishell.git)
cd Yukishell
The AI and Hardware components require specific dependencies.
python3 -m venv venv
source venv/bin/activate
pip install google-generativeai opencv-python pyserial
Create a .env file in the root directory to authorize the neural engine:
GEMINI_API_KEY=your_api_key_here
Build the C-binaries utilizing the included headers:
gcc src/*.c -Iinclude -o yukishell -lreadline
./yukishell
YukiShell now includes a minimal Electron desktop app in desktop/. It wraps the native C core in a polished PTY-backed terminal window with clean chrome, branded icons, and packaging scripts for macOS, Linux, and Windows.
cd desktop
npm install
npm run dev
npm run dist:mac
npm run dist:linux
npm run dist:win
macOS and Linux package the current POSIX core directly. Windows packaging ships the desktop UI and uses yukishell.exe when a native Windows core is provided; otherwise it attempts to use WSL and then falls back to the system shell. A full native Windows shell core requires a dedicated port away from POSIX-only APIs such as fork, termios, readline, /proc, and Linux namespaces.
The desktop app does not bundle .env secrets into public release artifacts. Put API keys in one of these local-only files:
~/.yukishell/.env
# or on macOS
~/Library/Application Support/YukiShell/.env
GitHub release builds are handled by .github/workflows/release.yml. Push a tag such as v26d.0 to build macOS, Linux, and Windows artifacts and attach them to a GitHub Release automatically.
YukiShell thrives on community input, specifically from developers in the hardware, embedded systems, and Linux kernel spaces.
git checkout -b feature/NewHardwareHookgit commit -m 'Added native I2C bus scanning builtin'git push origin feature/NewHardwareHookgcc compilation checks without warnings.Development Standards:
src/ directory.valgrind before submitting a PR.Only V26c (Aegis-Edge) and newer releases receive active vulnerability monitoring and patches. Legacy V16.0 branches are deprecated.
If you discover a vulnerability—such as a namespace escape vector in ghostmode, buffer overflows in the xcat parser, or unauthorized execution contexts—please do not open a public issue.
Submit a detailed report to the Yukino Labs Security Team via private email. Ensure your report includes:
We commit to addressing and patching reported vulnerabilities prior to public disclosure.
This project is distributed under the MIT License. See the LICENSE file for full details.
Designed and Developed by Aman Kumar | ECE Core | Yukino Labs