go-mtree
bimg
go-mtree | bimg | |
---|---|---|
7 | 5 | |
74 | 2,549 | |
- | - | |
5.5 | 3.9 | |
about 2 months ago | 13 days ago | |
Go | Go | |
BSD 3-clause "New" or "Revised" License | MIT License |
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.
go-mtree
-
File Integrity and checksums
go-mtree can take care about it. It calculates files hashes and you can use it to compare it later.
-
Monitoring files for changes and corruption
There is old unix utility called 'mtree' (there also is fully binary static compatible with mtree version on github go-mtree ) to check integrity of files. Another solution is - ZFS that do it dynamically
-
Creating a file with the name as the hash of another file
There is FreeBSD utility called mtree that also ported to Linux systems, that walk specified filesystem and creates hashes for all found content which later can be used to check integrity against corruption/modification. If your distribution of choice doesn't have ported version of mtree, you can use multiplatform version go-mtree that replicate the same workflow
-
What is the coolest Go open source projects you have seen?
go-mtree # Integrity
-
[App Discovery] Favorite and Underrated Self Hosted App
go-mtree: portable implementation of well known utility mtree) that can be used to save/test file's integrity as well directory structures. Open source, portable across most popular operation systems, no dependencies, single executable file.
-
Checking backup integrity
There is standard utility for integrity testing mtree) that ported to linux too. Also there is multi platform version of upstream written in Go (read works everywhere from one single file) that called go-mtree
-
Apart from using exec.Command, is there a better way to check version of any external system app in /usr/local/bin like fzf or nodejs using go?
SHA1 is dead, and there is a better dedicated tool mtree(8) for such tasks (which by the way exists as implementation in Go as go-mtree ) but I believe OP wants to check versions (like fzf --version) not an integrity of files
bimg
-
Go Image Converting
h2non/bimg can handle both if the underlying libvips is compiled with support for both formats.
-
What is the coolest Go open source projects you have seen?
bimg
-
WASM instead of C Dependencies?
I have web applications written in Rust and Go that need some basic image processing (reading JPEGs, PNGs, writing JPEGs, WebPs, AVIFs and resizing). This is something I always struggle with, because most libraries for image processing are written in C (libpng, libwebp, mozjpeg; or higher-level ones like vips). While there are usually dependencies in each language build on top of those C dependencies, like bimg for Go, I don’t like having C dependencies in a Rust, Go or even Node.js projects.
- Image manipulation with Go
-
Image Compression with Golang
For image processing, I will use the bimg library because in my opinion it has a very intuitive API and is easy to use, in addition to being very fast.
What are some alternatives?
gluetun - VPN client in a thin Docker container for multiple VPN providers, written in Go, and using OpenVPN or Wireguard, DNS over TLS, with a few proxy servers built-in.
govips - A lightning fast image processing and resizing library for Go
HedgeDoc - HedgeDoc - Ideas grow better together
imaginary - Fast, simple, scalable, Docker-ready HTTP microservice for high-level image processing
go-tarfs - Read a tar file contents using go1.16 io/fs abstraction
imaging - Imaging is a simple image processing package for Go
Kavita - Kavita is a fast, feature rich, cross platform reading server. Built with the goal of being a full solution for all your reading needs. Setup your own server and share your reading collection with your friends and family.
bild - Image processing algorithms in pure Go
goimagehash - Go Perceptual image hashing package
fastimage - Finds the type and/or size of a remote image given its uri, by fetching as little as needed.
svgo - Go Language Library for SVG generation
gocv - Go package for computer vision using OpenCV 4 and beyond. Includes support for DNN, CUDA, and OpenCV Contrib.