Alacpretty

Alacritty is a cross-platform GPU-accelerated terminal emulator. Make it pretty without having to edit your yaml file 🌈
Alternatives To Alacpretty
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Alacritty48,752316 hours ago6March 24, 2023312apache-2.0Rust
A cross-platform, OpenGL terminal emulator.
Kitty19,958
13 hours ago19August 17, 202127gpl-3.0Python
Cross-platform, fast, feature-rich, GPU based terminal
Wezterm10,4451148 hours ago22February 12, 2023593otherRust
A GPU-accelerated cross-platform terminal emulator and multiplexer written by @wez and implemented in Rust
Galacritty145
5 years agon,ullunlicenseRust
[Abandoned experiment] GTK terminal emulator based on Alacritty [USE WEZTERM!]
Alacpretty124
2 years ago5mitGo
Alacritty is a cross-platform GPU-accelerated terminal emulator. Make it pretty without having to edit your yaml file 🌈
Docker4deeplabcut2.046
2 years ago1Jupyter Notebook
Docker container for running DeepLabCut 2.0, 2.1 (linux support only). Now, DLC main supports 2.2+
Simulator41
2 years ago3apache-2.0Python
ROS & Gazebo F1/10 Autonomous Racecar Simulator
Ai 4 Clinical Workflow14
a year agomitPython
Integrating AI to Clinical Workflow
Os.py13
2 months agobsd-3-clauseC
os.py - Python library to read and manipulate machine information 💻
Docker4deeplabcut11
3 years ago1Shell
Dockercontainer to run DeepLabCut http://www.mousemotorlab.org/deeplabcut/
Alternatives To Alacpretty
Select To Compare


Alternative Project Comparisons
Readme

Alacpretty ‎️‍🌈

Alacritty is a GPU-enhanced terminal emulator; Alacpretty is a Go program that leverages termui to provide Alacritty users the ability to edit their Alacritty configurations via a terminal user-interface.

How it works

Alacpretty components are ready to plug into your Alacritty configurations. Assuming your alacritty.yml file is in the appropriate location as specified in the Alacritty documentation, all you'll need to do is grab the components you need from internal/ui, and drop them into WidgetsController like it is done in cmd/alacpretty/main.go.

package main

import (
	aui "github.com/solidiquis/alacpretty/internal/ui"
	"github.com/solidiquis/alacpretty/internal/yamlconf"
)

func main() {
  // Reads the contents of alacritty.yml to a string
  content := yamlconf.ReadFileToString()
  
  // Set the position of each widget, and arrange in however
  // many rows you need.
  row1 := []aui.UIWidget{
    aui.NewThemeShuffler(0, 0, 25, 10),
    aui.NewFontsizeAdjuster(26, 0, 51, 10),
  }
  row2 := []aui.UIWidget{
    aui.NewOpacityGauge(0, 11, 51, 14),
  }

  // Controller handles rendering and navigating between widgets.
  aui.WidgetsController(
    &content,
    row1,
    row2,
  )
}

Here is how you navigate the UI:

  • h, j, k, l and , , , are equivalent and are used to navigate inside the widget or change its appearance.
  • H, J, K, L are used to navigate across widgets, as only one can be focused on at a time.

They way in which the focus shifts between widgets is dependent upon the way you arrange your widgets in rows.

How to use

There are a couple ways in which you can use Alacpretty: The simplest way would be to have Go installed, clone this repo, and run go run cmd/alacpretty/main.go - or you can clone this repo, compile the code into binary, and stick it somewhere in your path.

Stable widgets

  1. ThemeShuffler
  2. OpacityGauge
  3. FontsizeAdjuster

Work-in-progress widgets

  1. FontShuffler
  2. FontSearchbar
  3. ThemeSearchbar
  4. HelpBox
  5. YamlDisplay

Licence

MIT

Note from author

Thank you to everyone who has taken an interest in this little pet project of mine — I honestly didn't expect it to get so many stars! And with that said, I also apologize for how slowly I am moving as work has been keeping me extraordinarily busy. If you have any questions, concerns, or would like to contribute, don't hesitate to write up an issue or submit a PR!

Popular Terminal Projects
Popular Gpu Projects
Popular Command Line Interface Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Go
Terminal
Gpu
Terminal Emulators