imaging
chroma
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.
imaging
-
Seeking advice on monetizing an open-source Golang-based video transcoding project developed during university
There are a number of projects using manipulation libraries like https://github.com/disintegration/imaging which is already MIT licensed, and then there are various transcoders which I am unfamiliar with, but you will want to consider if you add enough value to make use of those unimportant to the decision to pay.
-
io.Pipe vs bytes.Buffer
Sorry for not putting this code in my post. The input isn't from an *os.File, but rather from HTTP request captured by gin and it's on MultipartForm.File. The reason being why I had to do all these shenanigans is because I have to preprocess the image using this module: https://github.com/disintegration/imaging
-
Tran - 🖥 Securely transfer and send anything between computers with TUI.
Imaging
- Image manipulation with Go
- Image filters / image editing
chroma
- Alternative to Pygments
-
Sweeter searches with Pagefind
In Hugo and its built-in Chroma syntax highlighting, a code block begins with:
-
The strongest principle of the blog's growth lies in the human choice to deploy it
Hugo -> goldmark -> goldmark-highlighting -> chroma
- How to make code samples like this on the website?
-
Virgil: A Fast and Lightweight Programming Language That Compiles to WASM
I've used a markdown to html converter to convert my blog posts into HTML with very nice and customizable code samples... in my case I used Go's Blackfriday library with bfchroma[1] doing syntax highlighting with Chroma[2]. To add your language to Chroma you have to provide a lexer, which in turn is written in Pygments[3] syntax.
[1] https://github.com/Depado/bfchroma/
[2] https://github.com/alecthomas/chroma#supported-languages
[3] https://pygments.org/docs/lexerdevelopment/
-
Generating HMTL and MD files from .TXT in GO
quick for generating Html and syntax highlighting code blocks
-
Tran - 🖥 Securely transfer and send anything between computers with TUI.
Chroma
- Chroma takes source code and other structured text and converts it into syntax highlighted HTML, ANSI-coloured text, etc.
-
Screenshot Sunday: What does your Emacs look like today?
For books from other publishers, I am just hardcoding language directly on an ad hoc basis. I briefly considered off-loading language detection to a library like chroma, but that might be too much work for little benefit.
-
🐻 Go data validation and filtering with gookit/validate
Great blog, you should definitely do research on how you could implement a syntax highlighter for the code parts. Go Hugo for example, uses Chroma. Nice work 👍
What are some alternatives?
imaginary - Fast, simple, scalable, Docker-ready HTTP microservice for high-level image processing
golang-ical - A ICS / ICal parser and serialiser for Golang.
gocv - Go package for computer vision using OpenCV 4 and beyond. Includes support for DNN, CUDA, and OpenCV Contrib.
prism.el - Disperse Lisp forms (and other languages) into a spectrum of colors by depth
bimg - Go package for fast high-level image processing powered by libvips C library
Pake - 🤱🏻 Turn any webpage into a desktop app with Rust. 🤱🏻 利用 Rust 轻松构建轻量级多端桌面应用
fastimage - Finds the type and/or size of a remote image given its uri, by fetching as little as needed.
doom-modeline - A fancy and fast mode-line inspired by minimalism design.
Primitive Pictures - Reproducing images with geometric primitives.
colorize - A Syntax Highlighting library
bild - Image processing algorithms in pure Go
home - my linux home settings