What is Rinku?
Rinku is a CLI tool that finds equivalent libraries across programming languages. It helps when translating a project from one language to another - for example, converting a Go project to Rust.
Given a GitHub URL of a library in one language, rinku returns the equivalent library in another language.
Installation
go install github.com/marvai-dev/rinku@latest
Or build from source:
git clone https://github.com/marvai-dev/rinku
cd rinku
make build
Usage
rinku <github-url> <target-language>
Examples
Find the Rust equivalent of a Go CLI framework:
rinku https://github.com/spf13/cobra rust
# Output: https://github.com/clap-rs/clap
Find the Go equivalent of a Rust image library:
rinku https://github.com/image-rs/image go
# Output: https://github.com/golang/image
Supported Languages
- Go (
go,golang) - Rust (
rust,rs)