@yacosta738/refranero
v0.7.2
Published
A Rust CLI for traditional proverbs and Cervantes sources
Readme
Refranero
Refranero is an offline-first command-line reader for Spanish proverbs (refranes) and related sayings. It stores its catalog in a local SQLite database and can refresh entries from the Biblioteca Virtual Miguel de Cervantes and historical Centro Virtual Cervantes records in the Wayback Machine.
Requirements
- Node.js 18 or newer
- macOS, Windows, or Linux with glibc on a supported x64 or arm64 platform
Run without installing
Use npx:
npx --yes @yacosta738/refranero@latestOr use pnpm:
pnpm dlx @yacosta738/refranero@latestIn an interactive terminal, Refranero opens a reader with a random saying. To print one saying and
exit, use --plain:
npx --yes @yacosta738/refranero@latest --plainCommon commands
refranero # Open the interactive reader
refranero --offline # Read from the local catalog without refreshing online
refranero --count 3 # Print three random sayings
refranero --json # Print JSON output
refranero stats # Show catalog entry countsThe reader supports keyboard navigation, language and category selection, and opening a saying's source in a browser. See the project README for the full command reference and data provenance and terms.
License
The Refranero source code is available under the MIT License. Third-party source content and compilations may have separate terms; review the project's source and data terms before redistributing catalog data.
