{"id":13752447,"url":"https://github.com/mazznoer/lolcrab","last_synced_at":"2025-10-21T03:56:56.425Z","repository":{"id":40299612,"uuid":"370071916","full_name":"mazznoer/lolcrab","owner":"mazznoer","description":"Like lolcat but with noise and more colorful.","archived":false,"fork":false,"pushed_at":"2025-10-10T07:30:51.000Z","size":645,"stargazers_count":149,"open_issues_count":5,"forks_count":2,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-10-21T03:56:37.263Z","etag":null,"topics":["cli","lolcat","rainbow"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mazznoer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":"mazznoer","ko_fi":"mazznoer","liberapay":"mazznoer"}},"created_at":"2021-05-23T14:18:17.000Z","updated_at":"2025-10-16T21:37:49.000Z","dependencies_parsed_at":"2024-07-23T05:04:43.634Z","dependency_job_id":"7d2d751e-d4a9-4b7c-8fba-020eae176645","html_url":"https://github.com/mazznoer/lolcrab","commit_stats":{"total_commits":179,"total_committers":7,"mean_commits":"25.571428571428573","dds":0.5083798882681565,"last_synced_commit":"baea56bc5b6003c422ab9c8ef0feefdf289b816b"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/mazznoer/lolcrab","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mazznoer%2Flolcrab","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mazznoer%2Flolcrab/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mazznoer%2Flolcrab/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mazznoer%2Flolcrab/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mazznoer","download_url":"https://codeload.github.com/mazznoer/lolcrab/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mazznoer%2Flolcrab/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280200867,"owners_count":26289477,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-21T02:00:06.614Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","lolcat","rainbow"],"created_at":"2024-08-03T09:01:05.976Z","updated_at":"2025-10-21T03:56:56.395Z","avatar_url":"https://github.com/mazznoer.png","language":"Rust","funding_links":["https://github.com/sponsors/mazznoer","https://ko-fi.com/mazznoer","https://liberapay.com/mazznoer"],"categories":["Terminal"],"sub_categories":["Fancies"],"readme":"# `lolcrab` :crab:\n\n\u003e make your life more colorful, still boring but more colorful\n\n[![Build Status](https://github.com/mazznoer/lolcrab/actions/workflows/ci.yml/badge.svg)](https://github.com/mazznoer/lolcrab/actions)\n[![crates.io](https://img.shields.io/crates/v/lolcrab.svg)](https://crates.io/crates/lolcrab)\n[![docs.rs](https://docs.rs/lolcrab/badge.svg)](https://docs.rs/lolcrab)\n\nLike [`lolcat`](https://github.com/busyloop/lolcat) but with [noise](https://en.wikipedia.org/wiki/OpenSimplex_noise) and more colorful. This is a fork of [`lcat`](https://github.com/davidkna/lcat-rs).\n\n![lolcrab](docs/images/lolcrab.png)\n\n## Installation\n\nPre-compiled binaries for Linux, macOS and Windows is avaliable on [release page](https://github.com/mazznoer/lolcrab/releases).\n\n### Cargo\n\n`lolcrab` can be installed using [cargo](https://www.rust-lang.org/tools/install).\n\n```shell\ncargo install lolcrab\n```\n\n## Usage\n\n```text\nUsage: lolcrab [OPTIONS] [File]...\n\nArguments:\n  [File]...  Files to read [default: -]\n\nOptions:\n  -g, --gradient \u003cNAME\u003e        Sets color gradient [default: rainbow] [possible values: cividis, cool, cubehelix,\n                               fruits, inferno, magma, plasma, rainbow, rd-yl-gn, sinebow, spectral, turbo,\n                               viridis, warm]\n      --presets                Show all preset gradients\n  -c, --custom \u003cCSS Gradient\u003e  Custom gradient in CSS gradient format\n      --sharp \u003cNUM\u003e            Sharp gradient\n  -s, --scale \u003cFLOAT\u003e          Sets noise scale. Try value between 0.01 .. 0.2 [default: 0.034]\n  -S, --seed \u003cNUM\u003e             Sets seed [default: random]\n  -i, --invert                 Colorize the background\n  -r, --random-colors \u003cNUM\u003e    Use random colors as custom gradient [1 .. 100]\n  -a, --animate                Enable animation mode\n  -d, --duration \u003cNUM\u003e         Animation duration\n      --speed \u003cSPEED\u003e          Animation speed\n  -h, --help                   Print help\n  -V, --version                Print version\n```\n\n## Using `lolcrab` as a Library\n\nAdd this to your Cargo.toml\n\n```toml\nlolcrab = { version = \"0.4\", default-features = \"false\" }\n```\n\n### Example\n\n```rust\nuse lolcrab::Lolcrab;\nuse std::io;\n\nconst TEXT: \u0026str = \"\\\n•••••••••••••••••••••••••••••••••••••••••••\n••442463299144744830108724702438783348716••\n••665891426009540978622724448305819269356••\n••078289454141226451790882961903610719673••\n••56505384476•••••••••••••••••39761609699••\n••47928752907•• { lolcrab } ••33810561851••\n••51609982385•••••••••••••••••43459368213••\n••980457234663167653959566555465520046709••\n••677103598707232478714861999441705454744••\n••012721882924436718718457599087686681354••\n•••••••••••••••••••••••••••••••••••••••••••\n\";\n\nfn main() -\u003e Result\u003c(), Box\u003cdyn std::error::Error\u003e\u003e {\n    let stdout = io::stdout();\n    let mut stdout = stdout.lock();\n\n    // Initialize Lolcrab using default gradient and default noise\n    let mut lol = Lolcrab::new(None, None);\n\n    lol.colorize_str(TEXT, \u0026mut stdout)?;\n\n    lol.set_invert(true);\n    lol.randomize_position();\n    lol.colorize_str(TEXT, \u0026mut stdout)?;\n\n    lol.set_invert(false);\n    lol.reset_position();\n    lol.colorize_str(TEXT, \u0026mut stdout)?;\n\n    Ok(())\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmazznoer%2Flolcrab","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmazznoer%2Flolcrab","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmazznoer%2Flolcrab/lists"}