An open API service indexing awesome lists of open source software.

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

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.

![Preview](/asmfetch.png)

## 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`.