Our great sponsors
color | tabby | |
---|---|---|
8 | 24 | |
7,027 | 17,192 | |
- | 6.2% | |
6.6 | 9.9 | |
18 days ago | 3 days ago | |
Go | Rust | |
MIT License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
color
-
Cli colors disappear when piping into a text file
So i have a cli tool thats outputting some text to the cli stdout, i would like the output to be colored, so i used a library called color (github.com/fatih/color), basically the problem is when i output to stdout its fine but when i do something like ./tool | tee -a file.txt the colors disappear from terminal and also not in the output file, why is that and how do i prevent that ?
-
Snob - Dev Log (How it's done)
printer.go - Handles printing (showing) information to the user. This is where fatih/color is being used, so we can print pretty information with colors.
-
Simple CLI Colorizing in Go
Note, you also need to handle piping to other programs or sending output to a file. See the logic in https://github.com/fatih/color/blob/master/color.go, https://github.com/mattn/go-colorable and https://github.com/mattn/go-isatty.
-
Platform agnostic way to delete a line in the console?
The platform I'm using is Windows, and I found that prior to Win10 there was no support for ANSI escape codes in the command line, but I have Win10 and am pretty sure my version is up-to-date enough to have this support. I have also been successfully using Fatih's color package, so I had assumed that the escape codes were working. But they are not working when I do it manually, so fmt.Print("\033[F") does not work.
-
How to write idempotent Bash scripts
same person that wrote this module i use all the time. https://github.com/fatih/color ???
-
Go mod tidy problem.
I am using github.com/fatih/color as an example because it is a very simple library to test this problem out with.
-
First Go program - would love criticism: a small program that outputs VPN status, IP and emoji-flag
I would use bytes.Contains instead of string.Contains and I would use github.com/fatih/color for ansi colours rather than re-implienting it yourself. Best not to call log.Fatal in functions other than main - it makes testing hard. Instead they should return an error after their main return value.
-
ColorStyle is a library of styles for command-line text.
What’s the benefit over a well established library such as https://github.com/fatih/color ?
tabby
- Google CodeGemma: Open Code Models Based on Gemma [pdf]
-
What AI assistants are already bundled for Linux?
NixOS just got tabbyml[1] which is built on llama-cpp. Working on systemsd services the weekend and updating latest tabbyml release which supports rocm in addition to cuda
[1] https://github.com/TabbyML/tabby
[2] https://github.com/NixOS/nixpkgs/pull/291744
- FLaNK Stack Weekly 19 Feb 2024
-
Show HN: Tabby back end in 20 Python lines (self-hosted AI coding assistant)
Nice implementation! It should serve as a great reference for a minimal Tabby's backend API. Thank you for sharing it!
Yeah - ultimately, it won't be as performant or feature-rich compared to https://github.com/TabbyML/tabby, but it's still perfect for educational purposes!
- Stable Code 3B: Coding on the Edge
-
Show HN: I built local copilot alternative using Codellama
Looks interesting! What are the main differences between this and https://github.com/TabbyML/tabby ?
-
Ask HN: Who is hiring? (October 2023)
TabbyML | Software Engineer (Rust) | REMOTE
Self-hosted AI coding assistant. An opensource / on-prem alternative to GitHub Copilot.
Project: https://github.com/TabbyML/tabby
Tabby is seeking a Software Engineer proficient in Rust to join our core engineering team. In this role, you will be responsible for developing the following features:
- Show HN: Tabby – AI Coding Assistant Runs on Apple M1/M2 GPU
-
Meta: Code Llama, an AI Tool for Coding
There are a bunch of VSCode extensions that make use of local models. Tabby seems to be the most friendly right now, but I admittedly haven't tried it myself: https://tabbyml.github.io/tabby/
-
CodeCompose: Meta’s AI Coding Assistant
Check out https://github.com/TabbyML/tabby, which is fully self-hostable and comes with niche features. On M1/M2, it offers a convenient single binary deployment, thanks to Rust. You can find the latest release at https://github.com/TabbyML/tabby/releases/tag/latest.
(Disclaimer: I am the author)
What are some alternatives?
chalk - Intuitive package for prettifying terminal/console output. http://godoc.org/github.com/ttacon/chalk
fauxpilot - FauxPilot - an open-source alternative to GitHub Copilot server
gocui - Minimalist Go package aimed at creating Console User Interfaces.
turbopilot - Turbopilot is an open source large-language-model based code completion engine that runs locally on CPU
aurora - Golang ultimate ANSI-colors that supports Printf/Sprintf methods
refact - WebUI for Fine-Tuning and Self-hosting of Open-Source Large Language Models for Coding
termbox-go - Pure Go termbox implementation
text-generation-webui - A Gradio web UI for Large Language Models. Supports transformers, GPTQ, AWQ, EXL2, llama.cpp (GGUF), Llama models.
termui - Golang terminal dashboard
aider - aider is AI pair programming in your terminal
tcell - Tcell is an alternate terminal package, similar in some ways to termbox, but better in others.
ollama-ui - Simple HTML UI for Ollama