Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
fcddb4c
style: add prewiew of available packages to install
damachine Sep 18, 2025
323023f
docs: add dependency management section to README
damachine Sep 18, 2025
022222a
style: preview 60% of terminal width
damachine Sep 18, 2025
db5ccbf
style: editor preview-window
damachine Sep 18, 2025
636186c
style: add number to bat command for better readability in config pre…
damachine Sep 18, 2025
9976422
Update README to include command mode in description
damachine Sep 18, 2025
aa0a354
Merge pull request #4 from damachine/damachine-patch-1
damachine Sep 18, 2025
9c6b3d6
docs: update README.md with new screenshots and demo video
damachine Sep 18, 2025
5c84883
Merge branch 'master' of https://github.com/damachine/tkginstaller
damachine Sep 18, 2025
a975dca
add: gif video-demo
damachine Sep 18, 2025
b0a703b
style: fix spaces in echo statements
damachine Sep 19, 2025
2399d3c
chore: rename choice selection
damachine Sep 19, 2025
c14daf9
refactor: improve fzf menue texts
damachine Sep 19, 2025
84f0692
style: update banner image
damachine Sep 19, 2025
eccdc75
feat: Add Markdown preview with glow for fzf menu and installer
damachine Sep 19, 2025
64ce1d2
style: fix space in preview window
damachine Sep 19, 2025
e1f0d7f
style: refactor
damachine Sep 19, 2025
887f1f7
style: fix
damachine Sep 19, 2025
a29d3b4
style: improved exit message
damachine Sep 19, 2025
0b2de4a
docs: Revise optional tools section in README
damachine Sep 19, 2025
77e5b43
Merge pull request #6 from damachine/damachine-patch-1
damachine Sep 19, 2025
a450808
feat: Improve fzf preview formatting and static content display
damachine Sep 20, 2025
1816c0b
Merge branch 'master' of https://github.com/damachine/tkginstaller
damachine Sep 20, 2025
9dedd42
fix: remove double staticc preview
damachine Sep 20, 2025
420afb4
refactor: improve code readability and structure
damachine Sep 20, 2025
4c73318
Revise README description for TKG Installer
damachine Sep 20, 2025
7d5c7f0
Merge pull request #7 from damachine/damachine-patch-1
damachine Sep 20, 2025
03c5e36
Simplify README title for TKG Installer
damachine Sep 20, 2025
ef36480
Merge pull request #8 from damachine/damachine-patch-1
damachine Sep 20, 2025
21ba424
Enhance README description for package management
damachine Sep 20, 2025
7eb36b3
Merge pull request #9 from damachine/damachine-patch-1
damachine Sep 20, 2025
0a1c65f
Fix formatting in README description
damachine Sep 20, 2025
d9cf962
Merge pull request #10 from damachine/damachine-patch-1
damachine Sep 20, 2025
8d93964
refactor: improve code structure and readability
damachine Sep 20, 2025
a57e90e
Merge branch 'master' of https://github.com/damachine/tkginstaller
damachine Sep 20, 2025
bd022a9
refactor: improve preview structure and readability
damachine Sep 20, 2025
d053cd1
docs: refactor README.md
damachine Sep 20, 2025
a1b48f7
Fix formatting and improve clarity in README.md
damachine Sep 20, 2025
f6ffedc
Merge pull request #11 from damachine/damachine-patch-1
damachine Sep 20, 2025
93504a2
Update README for AUR helper recommendation and note
damachine Sep 21, 2025
e9b86a9
Merge pull request #12 from damachine/damachine-patch-1
damachine Sep 21, 2025
108f543
docs: update README
damachine Sep 21, 2025
9223967
Merge branch 'master' of https://github.com/damachine/tkginstaller
damachine Sep 21, 2025
ebd607b
docs: README
damachine Sep 21, 2025
b55d60b
docs: update README.md
damachine Sep 21, 2025
11c6666
docs: fix links
damachine Sep 21, 2025
eb849d3
Update link format for Frogging-Family repositories
damachine Sep 21, 2025
5c683ae
Merge pull request #13 from damachine/damachine-patch-1
damachine Sep 21, 2025
b1427e1
Remove duplicate TKG Installer banner image
damachine Sep 21, 2025
f39cd64
Merge pull request #14 from damachine/damachine-patch-1
damachine Sep 21, 2025
2abfb13
docs: README
damachine Sep 21, 2025
154fd1e
README
damachine Sep 21, 2025
4fb7b49
docs: style adjustments
damachine Sep 21, 2025
5b17dc6
ddocs: fix badges and images in README.md
damachine Sep 21, 2025
4b42df4
tkginstaller
damachine Sep 21, 2025
0551e8a
Merge pull request #15 from damachine/210925
damachine Sep 21, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
173 changes: 105 additions & 68 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,54 +1,71 @@
# TKG Installer - A user-friendly script for all TKG packages from the Frogging-Family. 🐸

[![MIT License](https://img.shields.io/badge/License-MIT-green.svg)](https://opensource.org/licenses/MIT)
[![Arch Linux](https://img.shields.io/badge/platform-arch--linux-blue?logo=arch-linux&logoColor=white)](https://archlinux.org/)
[![AUR](https://img.shields.io/aur/version/tkginstaller-git?color=1793d1&label=AUR&logo=arch-linux)](https://aur.archlinux.org/packages/tkginstaller-git)
![Bash](https://img.shields.io/badge/language-bash-blue?logo=gnu-bash)
[![Issues](https://img.shields.io/github/issues/damachine/tkginstaller)](https://github.com/damachine/tkginstaller/issues)
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/5736b4b014ca45e1877fc0c75a200c21)](https://app.codacy.com/gh/damachine/tkginstaller/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade)
[![Sponsor](https://img.shields.io/badge/Sponsor-GitHub-blue?logo=github-sponsors)](https://github.com/sponsors/damachine)
# TKG Installer 🐸

<p align="center">
<a href="https://opensource.org/licenses/MIT"><img src="https://img.shields.io/badge/License-MIT-green.svg"></a>
<img src="https://img.shields.io/badge/language-bash-blue?logo=gnu-bash">
<a href="https://archlinux.org/"><img src="https://img.shields.io/badge/platform-arch--linux-blue?logo=arch-linux&logoColor=white"></a>
<a href="https://aur.archlinux.org/packages/tkginstaller-git"><img src="https://img.shields.io/aur/version/tkginstaller-git?color=1793d1&label=AUR&logo=arch-linux"></a>
<a href="https://github.com/damachine/tkginstaller/issues"><img src="https://img.shields.io/github/issues/damachine/tkginstaller"></a>
<a href="https://app.codacy.com/gh/damachine/tkginstaller/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade"><img src="https://app.codacy.com/project/badge/Grade/5736b4b014ca45e1877fc0c75a200c21"></a>
<a href="https://github.com/sponsors/damachine"><img src="https://img.shields.io/badge/Sponsor-GitHub-blue?logo=github-sponsors"></a>
</p>

---

#### This wrapper script makes it easy to manage packages from the [Frogging-Family](https://github.com/Frogging-Family) repository. It provides both an interactive mode and a command-line mode for building and installing various TKG packages such as Kernel, Nvidia, Mesa, Wine, Proton. Users also have the option to directly edit the package configuration before building.

## Description
<div align="center">
<img src="images/tkginstaller.png" alt="TKG Installer Screenshot" />
</div>

This wrapper script makes it easy to install packages from the [Frogging-Family](https://github.com/Frogging-Family) repository. It provides an interactive menu system for building and installing various TKG packages:
[🎬 Demo-Video](images/tkginstaller.gif)

![TKG Installer Screenshot](images/banner.jpg)
---

## 📝 Prerequisites

#### The script automatically checks for the following core dependencies:

## Prerequisites
- **`fzf`** - Fuzzy finder for the interactive menu.
- **`gcc`** - Compiler for building packages.
- **`git`** - Version control system.

The script automatically checks for the following core dependencies:
- `fzf` - Fuzzy finder for the interactive menu
- `gcc` - Compiler for building packages
- `git` - Version control system
#### ⭐ Optional tools (very useful!):

Optional tools (used if available):
- Any text editor for configuration files (the script respects the $EDITOR environment variable and falls back to `nano` if not set) — examples: `nano`, `vim`, `code`.
- `bat` - Alternative for "cat" with syntax highlighting
- `onefetch` - Git repository information display (optional)
- **`bat`** - Alternative for "cat" with syntax highlighting.
- **`curl`, `wget`** - Fetching preview content.
- **`glow`** - Converts Markdown in terminal.
- **`llvm`** - Useful for building and debugging some TKG packages.
- **`nano`, `vim`** - An text editor for configuration files (the script respects the $EDITOR environment variable and falls back to **`nano`** if not set).
- **`onefetch`** - Git repository information display.

## Installation
---

### Install TKG Installer
## 🛠️ Installation

#### Arch Linux (Recommended)

[![AUR](https://img.shields.io/aur/version/tkginstaller-git?color=1793d1&label=AUR&logo=arch-linux)](https://aur.archlinux.org/packages/tkginstaller-git)

- **Using an AUR helper (recommended):**
- Using an AUR helper:

```bash
# STEP 1: Install
yay -S tkginstaller-git
#OR any other AUR helper

# STEP 2: After installation, you can simply run:
# After installation, you can simply run:
tkginstaller

# Show all available commands and shortcuts (very useful!)
tkginstaller help
```

#### Alternative Installation
1. Download only the script (no git required):
#### Manual Installation

- Download only the script:

```bash
# STEP 1: Pre install
mkdir -p /patch/to/tkginstaller && cd /patch/to/tkginstaller
Expand All @@ -57,64 +74,84 @@ Optional tools (used if available):
wget https://raw.githubusercontent.com/damachine/tkginstaller/master/tkginstaller.sh
chmod +x tkginstaller.sh

# OR STEP 2: Download with curl and make script executable
# OR: Download with curl and make script executable
curl -O https://raw.githubusercontent.com/damachine/tkginstaller/master/tkginstaller.sh
chmod +x tkginstaller.sh
```

## Usage
---

## 🚀 Usage

You can run the script in two ways:
> [!IMPORTANT]
> You can run the script in two ways:

### Interactive Mode (Menu)
#### Interactive (Menu-mode)
```bash
tkginstaller
```

### Command Mode (Direct)
Skip the menu and run specific actions directly:
#### Commandline (Direct-mode)

- Skip the menu and run specific actions directly:

```bash
# Show all available commands and shortcuts (very useful!)
Usage: tkginstaller [linux|l|nvidia|n|mesa|m|wine|w|proton|p|linuxnvidia|ln|nl|linux+nvidia|config|clean|exit]
Shortcuts: l=linux, n=nvidia, m=mesa, w=wine, p=proton, ln/linux+nvidia=Linux+Nvidia combo
Examples:
tkginstaller linux # Install Linux-TKG
tkginstaller nvidia # Install Nvidia-TKG
tkginstaller mesa # Install Mesa-TKG
tkginstaller wine # Install Wine-TKG
tkginstaller proton # Install Proton-TKG

# Show all available commands and shortcuts (useful!)
tkginstaller help
```

### Configuration-Menue

The **Config** option provides an interactive editor for TKG configuration files:
- Edit all relevant TKG configuration files (e.g. for Linux-TKG, Nvidia-TKG, Mesa-TKG, Wine-TKG, Proton-TKG)
- Preview the relevant TKG configuration files
- Uses your preferred editor via `$EDITOR`

### Quick Alias
---

If you installed manually (not via AUR), add this to your `~/.bashrc` or `~/.zshrc` for easy access:
```bash
# Examples
tkginstaller() {
bash -c '/path/to/tkginstaller.sh'
}
# OR
alias tkginstaller="bash -c '/path/to/tkginstaller.sh'"
### ⚙️ Configuration

# System link (optional)
# To make the installer available system-wide, create a symlink:
sudo ln -s /path/to/tkginstaller.sh /usr/bin/tkginstaller
- The **`Config-TKG`** option provides an interactive editor for TKG configuration files.
- Edit all relevant TKG configuration files (e.g. for Linux-TKG, Nvidia-TKG, Mesa-TKG, Wine-TKG, Proton-TKG).
- Preview the relevant TKG configuration files.
- Uses your preferred editor via `$EDITOR`.

# Now you can run 'tkginstaller' from anywhere.
---

```
> [!TIP]
> Quick access:
> - If you installed manually (not via AUR), add this to your `~/.bashrc` or `~/.zshrc` for easy access:

## Notes
```bash
# Examples
tkginstaller() {
bash -c '/path/to/tkginstaller.sh'
}
# OR
alias tkginstaller="bash -c '/path/to/tkginstaller.sh'"

# System link
# To make the installer available system-wide, create a symlink and skip alias:
sudo ln -s /path/to/tkginstaller.sh /usr/bin/tkginstaller

# Now you can run 'tkginstaller' from anywhere.
```

The script:
---

- is specifically designed for Arch Linux and its derivatives
- uses `makepkg` to compile packages
- performs automatic system updates before installation
- deletes the downloaded files after use
- supports only one concurrent execution
> [!NOTE]
> TKG Installer:
> - is specifically designed for Arch Linux and its derivatives.
> - uses for now only `makepkg` to compile packages.
> - performs automatic system updates before installation.
> - deletes the downloaded files after use.
> - supports only one concurrent execution.
> - download missing config files.

If you need help, open an issue at https://github.com/damachine/tkginstaller/issues
> [!TIP]
> If you need help, open an issue at https://github.com/damachine/tkginstaller/issues.

---

Expand All @@ -124,25 +161,25 @@ I do not guarantee that it will work as intended on your system.

---

## License
## 📄 License

This installer script is released under the **MIT License**.

[![MIT License](https://img.shields.io/badge/License-MIT-green.svg)](https://opensource.org/licenses/MIT)

Individual TKG packages have their own licenses:
- See respective repositories at https://github.com/Frogging-Family
- See respective repositories at [https://github.com/Frogging-Family](https://github.com/Frogging-Family)

---

## 💝 Support the Project

If you find CoolerDash useful and want to support its development:

- ⭐ **Star this repository** on GitHub
- 🐛 **Report bugs** and suggest improvements
- 🔄 **Share** the project with others
- 📝 **Contribute** code or documentation
- ⭐ **Star this repository** on GitHub.
- 🐛 **Report bugs** and suggest improvements.
- 🔄 **Share** the project with others.
- 📝 **Contribute** code or documentation.
- [![Sponsor](https://img.shields.io/badge/Sponsor-GitHub-blue?logo=github-sponsors)](https://github.com/sponsors/damachine)

> *🙏 Your support keeps this project alive and improving — thank you!.*
Expand Down
Binary file modified images/banner.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/banner.xcf
Binary file not shown.
2,539 changes: 0 additions & 2,539 deletions images/demo.cast

This file was deleted.

Binary file removed images/screenshot.png
Binary file not shown.
Binary file added images/tkginstaller.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/tkginstaller.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading