Skip to content
/ cyon Public

Lightweight hacker-themed GTK and CLI toolbox built in C and Python.

Notifications You must be signed in to change notification settings

Cruxible/cyon

Repository files navigation

🌀 Cyon

Cyon is a hybrid GTK and CLI-based desktop tool built in C, designed to provide fast and simple utilities like file downloading (MP3, MP4, general files), custom tools, and a styled terminal interface for extended control. It is lightweight, hacker-themed, and extensible.

Currently under active development.


✨ Features

  • ✅ GTK 3 GUI with buttons, dialogs, and download functionality
  • ✅ MP3/MP4 and file downloading using yt-dlp and curl
  • ✅ Standalone CLI with styled shell prompt
  • ✅ Modular design for extending tools and utilities
  • ✅ Cross-platform (Linux-focused)
  • ✅ Pyra tool launcher — launches pyra_toolz directly from the Programs menu
  • ✅ pyra_lib — a collection of Python utility tools powered by pyra_env
  • ✅ Editor Tools — GTK-based audio and video editing suite launched from the Programs menu

📦 Dependencies (Installed automatically in compile_cyon)

C / GTK (required for Cyon desktop and CLI)

sudo apt update
sudo apt install build-essential libgtk-3-dev pkg-config curl yt-dlp ffmpeg

Python / GTK bindings (required for pyra_lib tools)

These must be installed via apt — they cannot be installed with pip:

sudo apt install python3-gi python3-gi-cairo gir1.2-gtk-3.0

🛠️ Building shell file (compile_cyon)

Use the provided build script for all compilation and environment setup:

chmod +x compile_cyon
./compile_cyon

Build Menu Options

Option Description
1 Compile cyon desktop (GTK + CLI + watcher)
2 Setup pyra_env (creates ~/pyra_env and installs pyra_lib dependencies)
3 Compile pyra_toolz (Linux binary)
4 Compile pyra_termux (Termux binary)
5 Compile all
6 Uninstall Cyon
7 Exit

Manual Compilation

Compile Cyon Desktop:

gcc -Iinclude src/*.c -o bin/main_cyon `pkg-config --cflags --libs gtk+-3.0`

Compile Cyon CLI:

gcc -Iinclude cli/cyon_cli.c -o bin/cyon_cli
gcc -Iinclude -o bin/watcher cli/watcher.c
gcc -Iinclude cli/cyon_netscan.c -o bin/cyon_netscan

🗑️ Uninstalling

To fully remove Cyon from your system, select option 6 from the compile_cyon menu. The uninstaller will remove:

  • ~/.local/share/applications/cyon.desktop — the desktop launcher entry
  • ~/pyra_env — the Python virtual environment
  • The entire Cyon source and binary directory

⚠️ This is a complete removal and cannot be undone. You will be asked to confirm once before anything is deleted. Note: apt packages installed as dependencies (build-essential, libgtk-3-dev, yt-dlp, etc.) are not removed, as they may be used by other software on your system. To remove them manually:

sudo apt remove build-essential libgtk-3-dev pkg-config yt-dlp ffmpeg

🐍 pyra_lib

pyra_lib is a collection of Python utility tools that live at ~/cyon/pyra_lib and are called from the Pyra launcher. They run inside a dedicated virtual environment at ~/pyra_env.

Setting up pyra_env

Run option 2 from compile_cyon or manually:

sudo apt install python3-gi python3-gi-cairo gir1.2-gtk-3.0
python3 -m venv --system-site-packages ~/pyra_env
source ~/pyra_env/bin/activate
pip3 install pyfiglet moviepy rich pillow cryptography pyautogui tarfile
deactivate

pyra_lib Tools

Tool Description
pyra_shared.py Shared utilities, input helpers, and logos used across pyra_lib
figlet_tools.py ASCII font generator using pyfiglet
convert_mvk.py Converts MKV files to MP4
tarmaker.py Creates, encrypts, and decrypts tarballs
binary_tools.py Binary file utilities
convertcsv.py CSV conversion tool
csv2json.py Converts CSV files to JSON
net_stress.py Network stress testing tool
moon.py Moon phase utilities
theban.py Theban alphabet encoder/decoder
find_duplicates.py Finds duplicate files in a directory
file_encryptor.py File encryption and decryption
ascii_art.py ASCII art generator
image_converter.py Image format conversion tool
shift_image.py Image shifting and manipulation
conversions.py General unit and data conversions
gtk_convert.py GTK-based conversion interface
pyra_repeater.py Auto-messenger using pyautogui (Be careful)

🎬 gtk_lib — Editor Tools

gtk_lib lives at ~/cyon/pyra_lib/gtk_lib and contains GTK-based GUI tools launched directly from the Cyon Programs menu under Tools → Editor Tools. All tools use Gtk.Application for clean lifecycle management and run inside pyra_env.

Tool Description
cut_video.py Trim a video file between a start and end time, output as MP4
extract_audio.py Extract audio from a video file and save as MP3
cut_audio.py Trim an audio file between a start and end time, output as MP3
merge_aud_vid.py Merge a separate audio file into a video file, output as MP4
adjust_volume.py Adjust the volume level of an MP3 file using a slider
concat_vid.py Stitch two video files together into a single MP4
concat_aud.py Stitch two audio files together into a single MP3
pyra_downloader.py GTK YouTube downloader — audio and video via yt-dlp (standalone, not in menu)

Notes

  • All editor tools require moviepy (v2+) installed in pyra_env
  • subclip was renamed to subclipped, set_audio to with_audio, and volume fx now use MultiplyVolume in MoviePy v2 — all tools reflect this
  • Tools are launched via python3 calls from main.c and run as background processes
  • pyra_downloader.py includes the main.c function and menu item snippet in its file comments for easy wiring if needed later

▶️ Running

GUI (Main Application):

./bin/main_cyon

CLI:

./bin/cyon_cli

Pyra Launcher:

~/cyon/pyra_tool/pyra_toolz
~/cyon/pyra_tool/pyra_termux

🗂️ Programs Menu

The GUI Programs menu provides quick access to the following:

Entry Description
CLI Terminal Launches cyon_cli in a terminal window
Pyra Launches pyra_toolz from ~/cyon/pyra_tool/
Downloader Opens the MP3/MP4/file download dialog
Tools → Editor Tools → Cut Video Trim a video file to a start/end time
Tools → Editor Tools → Extract Audio Extract MP3 audio from a video file
Tools → Editor Tools → Cut Audio Trim an MP3 audio file to a start/end time
Tools → Editor Tools → Merge Audio/Video Merge an audio file into a video file
Tools → Editor Tools → Adjust Volume Adjust the volume of an MP3 file
Tools → Editor Tools → Stitch Videos Concatenate two video files into one
Tools → Editor Tools → Stitch Audio Concatenate two audio files into one
Tools → Convert Pics GTK image format converter
Tools → Create Tarfile GTK tarball creator and encryptor
Security → Defense Firewall and Watcher toggle
Security → Offense Port Scanner and DNS Lookup

👤 Author

Ioannes Cruxibulum

About

Lightweight hacker-themed GTK and CLI toolbox built in C and Python.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published