[Preset Share] Tree-Structured Preset tailored for GitHub Bug Reports

Abierto Apto para principiantes
#2,675 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
1/5
Tiempo estimado
Menos de una hora
Aptitud para principiantes
82/100
Tipo de issue
Nueva funcionalidad
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
c, json
Área
cli

Línea de trabajo

El texto incluye un preset completo e indica que se guarde como issue-report.jsonc y se ejecute fastfetch.exe -c issue-report.jsonc. Empieza por revisar los ejemplos de presets o configuración del repositorio para ver dónde deben colocarse los presets de la comunidad. La tarea estará terminada cuando el preset esté disponible en el formato previsto por el proyecto y el comando pueda cargarlo.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Hey team,

Not a bug report or a feature request, just dropping a custom preset here since I wanted to share it with the community without going through the hassle of opening a formal PR.

I needed a fastfetch preset specifically designed to be pasted into GitHub issues and bug reports. The default templates are visually great for rice setups, but they seem too noisy for technical debugging—they expose local IPs, UI themes, window managers, and real-time metrics like uptime or used RAM that aren't relevant for static issue tracking.

This preset tries to fix that by offering:

  • Strict Separation: Hardware and Environment are isolated into two distinct blocks with ANSI-highlighted headers.

  • Zero PII & Noise: Stripped of IPs, uptime, theming things, dynamic percentages, etc.

  • Precise Storage Metrics: Separates physical drives (SSD/HDD, Fixed/Removable) from logical OS volumes and the Pagefile.

  • Tree Structure: Uses a fixed-width ASCII tree layout that renders fine inside GitHub markdown code blocks without alignment collision.

  • Future-Proof: Built using nominal variables instead of positional indexes.

Save it as issue-report.jsonc and run it with fastfetch.exe -c issue-report.jsonc.

{
    "$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
    "logo": {
        "source": "",
        "padding": {
            "top": 1,
            "right": 3
        }
    },
    "display": {
        "separator": ":  ",
        "key": {
            "width": 16
        },
        "color": {
            "keys": "38;5;39",
            "separator": "38;5;240"
        },
        "size": {
            "binaryPrefix": "jedec"
        }
    },
    "modules": [
        {
            "type": "custom",
            "format": "\u001b[1;38;5;45m┌── \u001b[1;38;5;16;48;5;45m HARDWARE \u001b[0m\u001b[1;38;5;45m ───────────────\u001b[0m"
        },
        {
            "type": "board",
            "key": "├─ Board"
        },
        {
            "type": "bios",
            "key": "├─ BIOS"
        },
        {
            "type": "cpu",
            "key": "├─ CPU",
            "format": "{name} ({cores-physical} Cores / {cores-logical} Threads) @ {freq-max}"
        },
        {
            "type": "gpu",
            "key": "├─ GPU",
            "format": "{name} @ {frequency} GHz"
        },
        {
            "type": "physicalmemory",
            "key": "├─ RAM"
        },
        {
            "type": "physicaldisk",
            "key": "├─ Storage",
            "format": "{name} - {size} [{physical-type}, {removable-type}]"
        },
        {
            "type": "monitor",
            "key": "├─ Monitor",
            "format": "{name} - {width}x{height} px @ {refresh-rate} Hz - {physical-width}x{physical-height} mm"
        },
        {
            "type": "mouse",
            "key": "├─ Mouse"
        },
        {
            "type": "keyboard",
            "key": "└─ Keyboard"
        },
        "break",
        {
            "type": "custom",
            "format": "\u001b[1;38;5;45m┌── \u001b[1;38;5;16;48;5;45m ENVIRONMENT \u001b[0m\u001b[1;38;5;45m ────────────\u001b[0m"
        },
        {
            "type": "os",
            "key": "├─ OS"
        },
        {
            "type": "kernel",
            "key": "├─ Kernel"
        },
        {
            "type": "title",
            "key": "├─ User",
            "format": "{user-name}@{host-name}"
        },
        {
            "type": "locale",
            "key": "├─ Locale"
        },
        {
            "type": "disk",
            "key": "├─ Volume",
            "format": "[{mountpoint}] {size-total} - {filesystem}"
        },
        {
            "type": "swap",
            "key": "├─ Pagefile",
            "format": "{total}"
        },
        {
            "type": "shell",
            "key": "├─ Shell"
        },
        {
            "type": "terminal",
            "key": "├─ Terminal"
        },
        {
            "type": "vulkan",
            "key": "├─ Vulkan"
        },
        {
            "type": "opengl",
            "key": "├─ OpenGL"
        },
        {
            "type": "opencl",
            "key": "└─ OpenCL"
        },
        "break"
    ]
}

EDIT: I made a few updates to include additional information, which are not shown in the screenshots below.

Screenshots

Image Image
Lenguaje dominante
C
Estrellas
25.4k
Forks
947
Merge medio
1 d 8 h
PR fusionados (30 d)
21

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de fastfetch-cli/fastfetch

Todos los issues de fastfetch-cli/fastfetch

Issues similares

Más issues de C

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.