themayoras / cratuity Goto Github PK
View Code? Open in Web Editor NEWA TUI for quickly searching Crates.io
License: GNU Affero General Public License v3.0
A TUI for quickly searching Crates.io
License: GNU Affero General Public License v3.0
I'd like to be able to have a denser layout with all information appearing in one line in a tabular fashion, as it would make it easier to compare relevant features across crates (eg. which one is newer or has more downloads), and find crates when you might need to examine multiple crates - eg.
crate name | creation date | max version | newest_version | updated | downloads | recent downloads | description
hello 11/22/14 1.0.4 1.0.4 12/11/15 15:53 3262 37 hello world
...
Alternatively, there seems to be a fair bit of wasted space when the terminal height is large enough - making the current card-layout fit more items into a single page if the page is taller might also be nice.
crates.io provides a lot of useful links in the search interface (to Homepage, Documentation, and Repository, and the actual page, which displays the README.md) - being able to immediately open these pages in the native browser, from the CLI, via a hotkey, would be very convenient. I'd imagine the hotkeys could be something like c for the crates.io page, h for the crate homepage, d for its documentation, and r for the repository.
It would also be really nice to be able to open the README.md (as in what crates.io displays) inside the terminal (eg. via the Enter key), since it would make it easier to check if a particular crate provides the functionality you need. This repo (https://github.com/Canop/termimad) seems like it would make the rendering portion easier to implement.
At the moment, finding results requires launching the app and then typing in the crate to find and then search options. It would be nice if you could do
cratuity -f "crate name" -s relevance
and immediately see the results for crate name
sorted by relevance without having to do any further typing.
Research the possibility of integrating with cargo-edit to be able to edit a project's Cargo.toml file while still in the TUI.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.