Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality. Learn more →
Top 18 Go Fish Projects
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
murex
A smarter shell and scripting environment with advanced features designed for usability, safety and productivity (eg smarter DevOps tooling)
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
ggg
Good Git Getter is a simple git "clone" assistant featuring recursive subdirectory creation and updating the users CWD after getting the code (by starkers)
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
fzf : https://github.com/junegunn/fzf
# Download the correct binary for Linux (replace the URL with the latest version if needed) wget https://github.com/JanDeDobbeleer/oh-my-posh/releases/latest/download/posh-linux-amd64 -O oh-my-posh # Make the binary executable chmod +x oh-my-posh # Move the binary to a directory in your PATH sudo mv oh-my-posh /usr/local/bin/
I also made the export diff configurable, motivated by this post: https://github.com/direnv/direnv/pull/1233
Project mention: Show HN: Inshellisense – IDE style shell autocomplete | news.ycombinator.com | 2023-11-06If you're more used to ctrl+r, you could try hiSHtory (https://github.com/ddworken/hishtory)
Heavy user of `z` for many years that is until it dropped its database one final time. There's nothing more frustrating then a dropped or corrupted directory database just as you've got the damn thing to remember all your favourite spots on the disk.
These days I use https://github.com/gsamokovarov/jump which I've mapped to `z`. Happy days.
Project mention: Show HN: a Rust Based CLI tool 'imgcatr' for displaying images | news.ycombinator.com | 2024-04-16This is how murex works too https://github.com/lmorg/murex/blob/master/config/defaults/p...
Project mention: Carapace: A multi-shell completion library and binary | news.ycombinator.com | 2024-04-22
Project mention: [Media] shrs: a shell that is configurable and extensible in rust | /r/rust | 2023-05-01I haven't looked too deeply into this but, carapace seems to be able to output a yaml spec and it will be much easier to convert from this to the shrs format.
> TERM is already used for determining color support.
It's one of many ways to determine colour support. And arguably the worst of all of the ways too.
- $TERM
This isn't intended to contain colour information, yet that's how it's often abused. Meaning a lot of applications are broken in non-xterm terminals if they happen to use the $TERM variable correctly
- ANSI code: CSI 22 c (Send Device Attributes, ANSI color)
This is the correct way to check for a device capability. But it requires more effort and knowledge of terminals than your average developer has. So is rarely supported by console applications.
- $COLORTERM
This is the modern day equivalent to the device capability API. But also isn't used often
- $COLORFGBG
This was the original env var intended to be used like $COLORTERM, but fell out of favour because, well, nobody bothered to read any docs.
- $FORCE_COLOR
This is an often used standard. Christ only knows why this one exists when we already have 3 other env vars being used this way. Another example of nobody bothering to read any docs
- $NO_COLOR
This is intended to do the opposite of the others and tell applications not to use colour. However even this is often ignored.
----
That's 6 different ways to check whether to colour output or not. Only one actual standard method and everything is only partially supported (if at all) in applications. Hence why applications then need a `--color` flag, which even that differs in support and syntax across different command line tools. And the "default" method you described, $TERM, actually breaks applications on alternative terminal emulators and hardware terminals -- that is unless they decide to announce themselves as `xterm` and in that case that environmental variable becomes entirely useless.
----
> Not sure what terminals do without color support with color escape codes.
They ignore them.
ANSI escape codes are a pain in the arse to parse but there is at least a documented standard way to parse them. Anything that is a CSI (Control Sequence Introducer) sequence, and that includes SGR (Select Graphic Rendition) parameters like colour codes, start with `{ESC}[` and terminate with a character in the range of 0x40 to 0x7E. It's actually a little more complicated than that[1] but that's the gist of it.
So you know what to print and what to ignore.
There are other escape sequences too, the other big one being OSC (Operating System Command) and they're terminated `{ESC}\`, which is usually referred to as ST (String Terminator). That is unless you're xterm, and then you terminate OSC sequences with either ST or BELL (char 0x07).
A lot of this makes more sense if you look at code rather than documentation. So I've made an effort to ensure my own terminal emulator's source code is as self-documenting as possible:
https://github.com/lmorg/mxtty/blob/main/virtualterm/ansi_c1...
[1] https://en.wikipedia.org/wiki/ANSI_escape_code#CSI_(Control_...
Go Fish related posts
- Show HN: Inshellisense – IDE style shell autocomplete
- Carapace-bin: multi-shell multi-command argument completer
- Starship prompt: Show warning if `direnv allow` is needed.
- I made a small program that makes it easier to run commands inside containers
- How to achieve the function of the Mac app Hookmark in the terminal?
- My 2023 Terminal, Shell and Command-Line Toolbox
- Conoha VPS: OpenBSD 7.3 - インストール・メディアを VM にアタッチ
-
A note from our sponsor - InfluxDB
www.influxdata.com | 24 Apr 2024
Index
What are some of the best open-source Fish projects in Go? This list will help you:
Project | Stars | |
---|---|---|
1 | fzf | 59,462 |
2 | oh-my-posh | 14,144 |
3 | direnv | 11,675 |
4 | powerline-go | 2,704 |
5 | hishtory | 2,356 |
6 | jump | 1,731 |
7 | murex | 1,364 |
8 | virtualgo | 1,316 |
9 | kafkactl | 748 |
10 | carapace-bin | 619 |
11 | gitmux | 534 |
12 | carapace | 195 |
13 | fzshell | 73 |
14 | tii | 40 |
15 | carapace-spec | 15 |
16 | mxtty | 8 |
17 | go-starfish | 8 |
18 | ggg | 1 |
Sponsored