Skip to content

Logo (Builtin): add Tiny Core Linux - #2655

Merged
CarterLi merged 2 commits into
fastfetch-cli:devfrom
UnixUserDev:logo/tinycore
Oct 16, 2026
Merged

CarterLi merged 2 commits into
fastfetch-cli:devfrom
UnixUserDev:logo/tinycore

Conversation

@UnixUserDev

@UnixUserDev UnixUserDev commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Adds a built-in ASCII logo for Tiny Core Linux (visual size 21 x 10), so the distro stops falling back to the generic Linux penguin. Based on the project's own logo, where the "o" of core is a sphere split diagonally and labelled tiny / micro.

Related issue (required for new logos for new distros)

Closes #2654

Changes

  • src/logo/ascii/t/tinycore.txt — new logo.
    • $1 = FF_COLOR_FG_BLUE (the distro's own os-release ships ANSI_COLOR="0;34"), $2 = FF_COLOR_FG_LIGHT_WHITE.
    • No hardcoded ANSI sequences, no trailing whitespace, 10 lines, 21 columns visible.
  • src/logo/ascii/t.inc — registers it under the single name TinyCore, in alphabetical position between TileOS and Torizon OS.
    • One name is sufficient: matching is case-insensitive, so TinyCore covers both ID=tinycore and NAME=TinyCore from os-release.
    • An earlier revision of this PR also listed Tiny Core Linux / Tiny Core / MicroCore; those were removed per review.

Screenshots

fastfetch --logo tinycore -s title:os:kernel:shell:cpu:

      .-~~~~~~~-.         unixuser@SpaceCachyOS
    .'   tiny    '.       OS: CachyOS x86_64
   /       /       \      Kernel: Linux 7.2.9-2-cachyos
  ;       /         ;     Shell: bash 5.3.20
 |       /           |    CPU: 13th Gen Intel(R) Core(TM) i5-13400F (12+4) @ 4.60 GHz
 |      /            |
  ;    /    micro   ;
   \  /            /
    '.           .'
      '-.......-'

Auto-detection with a real Tiny Core os-release and no --logo flag (the check that actually matters):

      .-~~~~~~~-.         OS: TinyCoreLinux 17.1 x86_64
    .'   tiny    '.       Kernel: Linux 7.2.9-2-cachyos
   /       /       \
  ;       /         ;
 |       /           |
 |      /            |
  ;    /    micro   ;
   \  /            /
    '.           .'
      '-.......-'

Confirmation that the name is registered and resolvable:

$ fastfetch --list-logos | grep -i tinycore
476) "TinyCore"

Checklist

  • I have tested my changes locally.

Verification performed on this branch:

  • Configured and built from source: cmake -B build -DCMAKE_BUILD_TYPE=Release followed by cmake --build build. Builds clean with no new warnings.
  • --list-logos lists the new entry; --logo tinycore resolves; auto-detection via ID=tinycore picks it up with no flag (see output above).
  • Art is 21 x 10 visible (well under 50 x 20), uses $1/$2 placeholders only, and has no trailing spaces.

Revision

  • Applied review feedback (inline comment on t.inc:91): the logo now registers a single name, TinyCore, instead of four aliases. Rebuilt and re-verified afterwards — --list-logos reports 476) "TinyCore", and auto-detection against the real 17.1 os-release still resolves it with no --logo flag.

One note for reviewers: this is a logo addition only, so logo_builtin.h is regenerated by CMake from the file glob as usual — no generator changes were needed.


AI-generated with OpenCode — primary model: DeepSeek V4.1 Flash.

Comment thread src/logo/ascii/t.inc Outdated
#ifdef FASTFETCH_DATATEXT_LOGO_TINYCORE
// Tiny Core
{
.names = { "Tiny Core Linux", "TinyCore", "Tiny Core", "MicroCore" },

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only one entry is allowed here. The ID TinyCore (case insensitive) should only be used

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in 878aff4 — the list is now just { "TinyCore" }.

You're right that the case-insensitive match already covers both ID=tinycore and NAME=TinyCore, so the extra aliases were unnecessary (and MicroCore was speculative on my part — it isn't in the os-release of the ISO I tested).

Re-verified after the change: --list-logos reports 476) "TinyCore", and auto-detection against the real 17.1 os-release still picks the logo up with no --logo flag.

@CarterLi
CarterLi merged commit 99785f5 into fastfetch-cli:dev Oct 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[LOGO] Tiny Core Linux

2 participants