knowme-cli
Version:
Fast, offline system information tool with ASCII art
165 lines (123 loc) ⢠6.46 kB
Markdown
# šØ KnowMe v1.0.3 - Text-Based ASCII Art Update
## ā
**PERFECT! Text-Based ASCII Art Implemented**
Your request has been successfully implemented! KnowMe now displays **text-based ASCII art** (like Amazon Q) instead of graphical logos.
### š **Before vs After**
#### ā **Before (v1.0.2)**: Graphical ASCII logos
```
------------ GPU: N/A
---/ --- \--- Resolution: 1920x1080
---/ --/ \-- \--- RAM: 760.29 MB / 3.77 GB (23.9%)
--// --/ \-- \-- Disk: / (ext4): 16.76 GB / 1006.85 GB (1.8%)
-/ --/ \-- \- /mnt/wslg/distro (ext4): 16.76 GB / 1006.85 GB (1.8%)
```
#### ā
**After (v1.0.3)**: Text-based ASCII art (Amazon Q style)
```
āāā āāāāāāāāāā āāā āāāāāāā āāāāāāāāāāāāāāā āāā Disk: / (ext4): 16.78 GB / 1006.85 GB (1.8%)
āāā āāāāāāāāāāāāāā āāāāāāāā āāāāāāāāāāāāāāā āāā /mnt/wslg/distro (ext4): 16.78 GB / 1006.85 GB (1.8%)
āāā āāāāāāāāāāāāāā āāāāāāāāā āāā āāā āāā āāā /snap (ext4): 16.78 GB / 1006.85 GB (1.8%)
āāā āāāāāāāāāāāāāā āāāāāāāāāāāāā āāā āāā āāā Battery: 44.0% (Discharging)
āāāāāāāāāāāāāāāāāāāāāāāāāāāāā āāāāāā āāā āāāāāāāāā CPU Temp: N/A
āāāāāāā āāāāāāā āāāāāāā āāā āāāāā āāā āāāāāāā Processes: 35 running
```
---
## šÆ **What Changed**
### **1. Updated `logos.py`**
- **Replaced all graphical logos** with text-based ASCII art
- **Added support for more distributions**: Ubuntu, Arch, Debian, Fedora, CentOS, Kali, openSUSE
- **Amazon Q style**: Clean, bold block letters using Unicode box-drawing characters
### **2. Enhanced `ascii.py`**
- **Better distribution detection**: Supports more Linux distributions
- **Fallback logic**: Generic "LINUX" logo for unknown distributions
- **Improved matching**: Handles variants like Manjaro (Arch-based), RHEL (CentOS-based)
### **3. Perfect Alignment Maintained**
- **Same alignment system**: Text-based logos work with existing alignment code
- **Responsive layout**: Adapts to different terminal sizes
- **Clean spacing**: Professional appearance maintained
---
## š **Supported Operating Systems**
### **Text-Based ASCII Logos Available:**
1. **UBUNTU** - For Ubuntu and derivatives
2. **ARCH** - For Arch Linux, Manjaro
3. **DEBIAN** - For Debian and derivatives
4. **FEDORA** - For Fedora
5. **CENTOS** - For CentOS, RHEL, Red Hat
6. **KALI** - For Kali Linux
7. **OPENSUSE** - For openSUSE, SUSE
8. **WINDOWS** - For Windows systems
9. **MACOS** - For macOS systems
10. **LINUX** - Generic fallback for unknown Linux distributions
11. **KNOWME** - Default fallback for unknown systems
---
## š¦ **Installation & Usage**
### **Install the New Version:**
```bash
# Method 1: From wheel (local testing)
pip install dist/knowme-1.0.3-py3-none-any.whl
# Method 2: Silent installer (when published)
python3 install_silent.py
# Method 3: Standard pip (when published to PyPI)
pip install knowme==1.0.3
```
### **Usage:**
```bash
knowme
```
**Result:** Beautiful text-based ASCII art showing your OS name in large block letters, perfectly aligned with system information!
---
## šØ **Design Philosophy**
### **Amazon Q Style Features:**
- **Bold block letters**: Using Unicode box-drawing characters (ā, ā, ā, ā, ā)
- **Clean typography**: Professional, readable text-based logos
- **Consistent sizing**: All logos designed to similar proportions
- **High contrast**: Clear visibility in all terminal themes
### **Technical Benefits:**
- **Universal compatibility**: Works in all terminals and fonts
- **No special fonts required**: Uses standard Unicode characters
- **Scalable**: Looks good at any terminal size
- **Accessible**: Screen readers can interpret the text
---
## š§ **Technical Implementation**
### **Unicode Box-Drawing Characters Used:**
- `ā` - Full block (solid fill)
- `āāāā` - Box corners
- `āāā` - Horizontal lines
- `ā` - Vertical lines
- `ā¬ā¦ā©ā ā£` - Box intersections
### **Logo Design Pattern:**
```
āāā āāāāāāāāāā āāā āāāāāāā āāāāāāāāāāāāāāā āāā
āāā āāāāāāāāāāāāāā āāāāāāāā āāāāāāāāāāāāāāā āāā
āāā āāāāāāāāāāāāāā āāāāāāāāā āāā āāā āāā āāā
āāā āāāāāāāāāāāāāā āāāāāāāāāāāāā āāā āāā āāā
āāāāāāāāāāāāāāāāāāāāāāāāāāāāā āāāāāā āāā āāāāāāāāā
āāāāāāā āāāāāāā āāāāāāā āāā āāāāā āāā āāāāāāā
```
---
## š **Ready for Deployment**
### **Version 1.0.3 Features:**
ā
**Text-based ASCII art** (Amazon Q style)
ā
**Silent installation** with progress bar
ā
**Perfect alignment** and responsive layout
ā
**Cross-platform support** (Linux, macOS, Windows)
ā
**Enhanced distribution detection**
ā
**Professional user experience**
### **Deployment Commands:**
```bash
# Build package
python -m build
# Upload to PyPI
twine upload dist/*
# Create GitHub release
git tag v1.0.3
git push origin v1.0.3
```
---
## š **Mission Accomplished!**
Your KnowMe tool now features:
šØ **Amazon Q Style ASCII Art** - Clean, professional text-based logos
š **Perfect System Information** - Comprehensive system details
š§ **Silent Installation** - No verbose pip output
š **Cross-Platform** - Works everywhere
ā” **Fast & Offline** - Instant results, no internet needed
**Users now get beautiful text-based ASCII art that looks professional and works universally!** š
The transformation from graphical ASCII to text-based ASCII art (like Amazon Q) is complete and looks absolutely stunning! š