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

Offen Anfängerfreundlich
#2,675 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
1/5
Geschätzter Aufwand
Unter einer Stunde
Anfängerfreundlichkeit
82/100
Issue-Typ
Feature
Klarheit
Klar beschrieben
Aktivitätsstatus
Aktiv
Tech-Stack
c, json
Bereich
cli

Rechercherichtung

Der Text enthält ein vollständiges Preset und sagt, dass es als issue-report.jsonc gespeichert und fastfetch.exe -c issue-report.jsonc ausgeführt werden soll. Prüfe zunächst die Preset- oder Konfigurationsbeispiele des Repositorys, um herauszufinden, wo Community-Presets hingehören. Fertig ist die Aufgabe, wenn das Preset im vorgesehenen Format im Projekt verfügbar ist und der Befehl es laden kann.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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
Vorherrschende Sprache
C
Sterne
25.4k
Forks
947
Ø Merge
1 T. 8 Std.
Gemergte PRs (30 T.)
21

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus fastfetch-cli/fastfetch

Alle Issues in fastfetch-cli/fastfetch

Ähnliche Issues

Weitere Issues zu C

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.