https://github.com/errornointernet/asmfetch
A fetch tool written in x86-64 assembly for Linux
https://github.com/errornointernet/asmfetch
asm fetch linux ricing unixporn x86 x86-64
Last synced: 9 months ago
JSON representation
A fetch tool written in x86-64 assembly for Linux
- Host: GitHub
- URL: https://github.com/errornointernet/asmfetch
- Owner: ErrorNoInternet
- License: lgpl-3.0
- Created: 2024-08-20T13:39:40.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-11-28T22:33:01.000Z (over 1 year ago)
- Last Synced: 2024-11-28T23:25:55.012Z (over 1 year ago)
- Topics: asm, fetch, linux, ricing, unixporn, x86, x86-64
- Language: Assembly
- Homepage:
- Size: 152 KB
- Stars: 9
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# asmfetch
A fetch tool written in x86-64 assembly for Linux.
Runs in under 150 microseconds and has zero dependencies.

## Detections
- username (`$USER`)
- hostname
- os name from `/etc/os-release`
- kernel
- name
- version
- architecture
- shell (`$SHELL`)
- uptime
- desktop (`$XDG_CURRENT_DESKTOP`)
- display backend (`$XDG_SESSION_TYPE`)
- memory usage
- disk usage for `/`
## Usage
```shell
$ gcc -nostdlib -no-pie asmfetch.S -o asmfetch
$ ./asmfetch
```
## Customization
asmfetch wasn't designed to be very customizable or dynamic; tons of
values (e.g. the logo, symbols, format, colors) are hardcoded. The
only way to change them is by modifying the source code, specifically
the `include`ed files in `asmfetch.S` and symbols in `symbols.S`.