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

オープン 初心者向け
#2,675 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
1/5
見積もり時間
1時間未満
初心者へのやさしさ
82/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
c, json
領域
cli

調査の方向性

本文には完全なプリセットが含まれており、issue-report.jsonc として保存して fastfetch.exe -c issue-report.jsonc を実行するよう記されています。まず、リポジトリのプリセットまたは設定の例を確認し、コミュニティプリセットをどこに置くべきかを調べてください。プリセットがプロジェクトで想定されている形式で利用でき、コマンドで読み込めれば完了です。

索引モデルが issue の本文から書いたものです。

説明

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
主要言語
C
スター
25.4k
フォーク
947
平均マージ
1日 8時間
マージ済み PR(30日)
21

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

fastfetch-cli/fastfetch のほかの issue

fastfetch-cli/fastfetch の issue をすべて見る

似ている issue

C の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。