Skip to content

Commit 8d368ab

Browse files
committed
Docs: enhance features page, add uninstall section, move layout controls, add contributors page, optimize image loading
1 parent b1b59c8 commit 8d368ab

File tree

6 files changed

+126
-43
lines changed

6 files changed

+126
-43
lines changed

docs/assets/css/custom-dark-moke.css

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
--jtd-accent: #8ab4f8; /* soft blue accent */
1616
--jtd-primary-text: #d6d7d9; /* light gray text */
1717
--jtd-muted-text: #9aa0a6; /* muted text */
18-
--jtd-border: rgba(255,255,255,0.06);
18+
--jtd-border: rgba(255, 255, 255, 0.06);
1919
}
2020

2121
body {
@@ -35,12 +35,15 @@ body {
3535
}
3636

3737
/* Links and accents */
38-
a, .btn, .site-header a {
38+
a,
39+
.btn,
40+
.site-header a {
3941
color: var(--jtd-accent);
4042
}
4143

4244
/* Make code blocks slightly warmer */
43-
.highlight, pre {
45+
.highlight,
46+
pre {
4447
background: #0b0c0d; /* dark */
4548
color: #e6e6e6;
4649
}

docs/configuration.md

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -58,15 +58,6 @@ muted = #586069
5858

5959
See the full list in the [colors documentation](colors.md).
6060

61-
## Layout Control
62-
63-
gitfetch automatically adapts to your terminal size, but you can control spacing:
64-
65-
```bash
66-
gitfetch --spaced # Enable spaced layout
67-
gitfetch --not-spaced # Disable spaced layout
68-
```
69-
7061
## Custom Dimensions and Coloring Accuracy
7162

7263
The coloring system uses GitHub's standard contribution levels:

docs/contributors.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
layout: default
3+
title: Contributors & Acknowledgements
4+
nav_order: 8
5+
---
6+
7+
# Contributors & Acknowledgements
8+
9+
## Contributors
10+
11+
We'd like to thank all the amazing contributors who have helped make gitfetch better:
12+
13+
- **ilonic23**: Added nix packaging
14+
- **quunarc**: Small code refactoring
15+
- **Zeviraty**: Small fixes, color configuration
16+
- **Vaishnav-Sabari-Girish**: Better installation instructions
17+
- **Noirbizzarre**: Added installation instructions using uv and pipx
18+
- **Fwtwoo**: README update
19+
- **Joeliscoding**: Added homebrew formula and fixed README
20+
21+
## Acknowledgements
22+
23+
gitfetch stands on the shoulders of giants. We're grateful for the inspiration and tools that made this project possible:
24+
25+
### Design Inspiration
26+
- **Kusa** by Ryu0118 - Beautiful contribution graph design that inspired our visual approach
27+
- **songfetch** by fwtwoo - The very cool and extremely fun tool that showed us the power of creative terminal displays
28+
29+
### Technical Inspiration
30+
- **gitfiti** by gelstudios - The `--text` and `--shape` contribution-graph simulation features take inspiration from and adapt ideas from this project. Credit to gelstudios for the concept of painting the contribution calendar (our implementation only simulates the appearance and does not modify git history).
31+
32+
### Community
33+
A special thanks to the open source community for creating the tools and libraries that power gitfetch, and to all our users for their feedback and support!

docs/features.md

Lines changed: 42 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -4,47 +4,59 @@ title: Features
44
nav_order: 2
55
---
66

7+
---
8+
layout: default
9+
title: Features
10+
nav_order: 2
11+
---
12+
713
# Features
814

9-
gitfetch provides a beautiful, neofetch-style display of your git hosting platform statistics with extensive customization options.
15+
gitfetch brings the magic of neofetch to your git hosting platforms, displaying your coding activity in a stunning, colorful terminal interface that's both beautiful and highly customizable.
16+
17+
## 🚀 Core Features
18+
19+
- **Neofetch-style display** with stunning ASCII art that brings your stats to life
20+
- **Comprehensive statistics** from GitHub, GitLab, Gitea, Forgejo, Codeberg, and Sourcehut
21+
- **Smart SQLite-based caching** system for lightning-fast subsequent runs
22+
- **Cross-platform support** (macOS and Linux) - works wherever you code
23+
- **View active pull requests and issues** - stay on top of your contributions
24+
- **Display commit streak information** - track your coding momentum
25+
- **Extensive customization** options that let you make it truly yours
1026

11-
## Core Features
27+
## 🎨 Visual Customization
1228

13-
- **Neofetch-style display** with ASCII art
14-
- **Comprehensive statistics** from multiple git hosting platforms
15-
- **Smart SQLite-based caching** system for faster subsequent runs
16-
- **Cross-platform support** (macOS and Linux)
17-
- **First-run initialization** with interactive provider selection
18-
- **Extensive customization** options for contribution characters, sections, and display elements
29+
Transform your gitfetch display with powerful visual options:
1930

20-
## Visual Customization
31+
- **Custom contribution characters** - use any symbol or emoji for your graph blocks
32+
- **Dynamic section control** - hide/show achievements, languages, issues, PRs, and more
33+
- **Flexible dimensions** - adjust width and height to fit your terminal perfectly
34+
- **ASCII art simulation** - create pixel art from text or use predefined shapes like kitty, cat, heart, and star
35+
- **Advanced color customization** with hex codes and predefined color schemes
2136

22-
- Customize contribution block characters
23-
- Hide/show specific sections (achievements, languages, issues, PRs, etc.)
24-
- Control display dimensions and layout
25-
- Simulate contribution-graph pixel art from text or predefined shapes
37+
## 🌐 Supported Platforms
2638

27-
## Supported Platforms
39+
Connect to all major git hosting platforms:
2840

29-
- **GitHub** - Uses GitHub CLI (gh) for authentication
30-
- **GitLab** - Uses GitLab CLI (glab) for authentication
31-
- **Gitea/Forgejo/Codeberg** - Uses personal access tokens
32-
- **Sourcehut** - Uses personal access tokens
41+
- **GitHub** - Seamless integration with GitHub CLI (gh) authentication
42+
- **GitLab** - Full support with GitLab CLI (glab) authentication
43+
- **Gitea/Forgejo/Codeberg** - Personal access token authentication for self-hosted instances
44+
- **Sourcehut** - OAuth2 personal access token support
3345

34-
## Advanced Options
46+
## Advanced Capabilities
3547

36-
- Repository-specific stats for local git repositories
37-
- Cache management (bypass, clear)
38-
- Provider switching
39-
- Custom graph dimensions
40-
- Layout control (spaced/not spaced)
48+
- **Repository-specific stats** - analyze local git repositories for detailed contribution graphs
49+
- **Intelligent cache management** - bypass or clear cache when needed
50+
- **Provider switching** - easily switch between different git platforms
51+
- **Custom graph dimensions** - fine-tune your display for any terminal size
52+
- **Layout control** - choose between spaced and compact layouts
4153

42-
## Intelligent Layout System
54+
## 🧠 Intelligent Layout System
4355

44-
gitfetch automatically adapts to your terminal size:
56+
gitfetch automatically adapts to your terminal environment:
4557

46-
- **Full Layout**: All sections when width ≥ 120 columns
47-
- **Compact Layout**: Graph and key info side-by-side for medium terminals
48-
- **Minimal Layout**: Contribution graph only for narrow terminals
58+
- **Full Layout**: Complete information display when you have 120+ columns
59+
- **Compact Layout**: Side-by-side graph and stats for medium terminals
60+
- **Minimal Layout**: Clean contribution graph for narrow screens
4961

50-
The system considers both terminal width and height for optimal display.
62+
The system intelligently considers both terminal width AND height to deliver the optimal viewing experience, no matter your setup.

docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ nav_order: 1
88

99
A neofetch-style CLI tool for GitHub, GitLab, Gitea, Forgejo, Codeberg, and Sourcehut statistics. Display your profile and stats from various git hosting platforms in a beautiful, colorful terminal interface with extensive customization options and intelligent layout adaptation.
1010

11-
![gitfetch screenshot](https://github.com/user-attachments/assets/bbb18d5d-4787-4998-a352-e8f4e59642c0)
11+
![gitfetch screenshot](https://github.com/user-attachments/assets/bbb18d5d-4787-4998-a352-e8f4e59642c0){: loading="lazy" width="800" height="520" }
1212

1313
## Quick Start
1414

docs/installation.md

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,3 +82,47 @@ When you run `gitfetch` for the first time, you'll be prompted to:
8282
4. **Configure access tokens** (if using Gitea/Forgejo/Codeberg or Sourcehut)
8383

8484
The setup process will provide helpful error messages and installation instructions if anything is missing.
85+
86+
## Uninstall
87+
88+
### Homebrew
89+
90+
```bash
91+
brew uninstall gitfetch # Uninstall gitfetch
92+
brew untap matars/gitfetch # Remove the tap
93+
```
94+
95+
### pip
96+
97+
```bash
98+
pip uninstall gitfetch
99+
```
100+
101+
### uv
102+
103+
```bash
104+
uv tool uninstall gitfetch
105+
```
106+
107+
### pipx
108+
109+
```bash
110+
pipx uninstall gitfetch
111+
```
112+
113+
### AUR (Arch Linux)
114+
115+
```bash
116+
yay -R gitfetch-python
117+
```
118+
119+
Or with other AUR helpers:
120+
121+
```bash
122+
paru -R gitfetch-python
123+
trizen -R gitfetch-python
124+
```
125+
126+
### NixOS
127+
128+
Remove the gitfetch input from your flake and remove it from `environment.systemPackages`.

0 commit comments

Comments
 (0)