{"id":31978552,"url":"https://github.com/deinstapel/cursive-flexi-logger-view","last_synced_at":"2025-10-14T22:22:56.136Z","repository":{"id":45005526,"uuid":"206316913","full_name":"deinstapel/cursive-flexi-logger-view","owner":"deinstapel","description":"An alternative debug view for gyscos/cursive using emabee/flexi_logger 🖥️","archived":false,"fork":false,"pushed_at":"2024-08-12T16:50:16.000Z","size":88,"stargazers_count":10,"open_issues_count":5,"forks_count":10,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-09-20T02:36:57.079Z","etag":null,"topics":["cursive","cursive-views","debug","flexi-logger","logging","terminal","view"],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/deinstapel.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},"funding":{"github":["fin-ger","jwuensche"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2019-09-04T12:43:46.000Z","updated_at":"2024-08-12T16:50:19.000Z","dependencies_parsed_at":"2024-08-12T19:06:12.813Z","dependency_job_id":null,"html_url":"https://github.com/deinstapel/cursive-flexi-logger-view","commit_stats":{"total_commits":37,"total_committers":9,"mean_commits":4.111111111111111,"dds":0.7027027027027026,"last_synced_commit":"9f82caba1f0e4f273021809a8b81a0a6e4f29f29"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/deinstapel/cursive-flexi-logger-view","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deinstapel%2Fcursive-flexi-logger-view","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deinstapel%2Fcursive-flexi-logger-view/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deinstapel%2Fcursive-flexi-logger-view/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deinstapel%2Fcursive-flexi-logger-view/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deinstapel","download_url":"https://codeload.github.com/deinstapel/cursive-flexi-logger-view/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deinstapel%2Fcursive-flexi-logger-view/sbom","scorecard":{"id":332736,"data":{"date":"2025-08-11","repo":{"name":"github.com/deinstapel/cursive-flexi-logger-view","commit":"a1823277f7da131c9eaaeb4903615f9525befd1c"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.7,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/test_and_push.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: downloadThenRun not pinned by hash: .github/workflows/test_and_push.yml:18","Info:   0 out of   1 downloadThenRun dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Code-Review","score":3,"reason":"Found 6/18 approved changesets -- score normalized to 3","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: BSD 3-Clause \"New\" or \"Revised\" License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 18 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-18T03:58:29.959Z","repository_id":45005526,"created_at":"2025-08-18T03:58:29.959Z","updated_at":"2025-08-18T03:58:29.959Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279021779,"owners_count":26087055,"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-14T02:00:06.444Z","response_time":60,"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":["cursive","cursive-views","debug","flexi-logger","logging","terminal","view"],"created_at":"2025-10-14T22:22:54.107Z","updated_at":"2025-10-14T22:22:56.131Z","avatar_url":"https://github.com/deinstapel.png","language":"Rust","funding_links":["https://github.com/sponsors/fin-ger","https://github.com/sponsors/jwuensche"],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eWelcome to cursive-flexi-logger-view 👋\u003c/h1\u003e\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/deinstapel/cursive-flexi-logger-view/actions\"\u003e\n    \u003cimg src=\"https://img.shields.io/endpoint.svg?url=https%3A%2F%2Fdeinstapel.github.io%2Fcursive-flexi-logger-view%2Fstable-build.json\" alt=\"stable build\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/deinstapel/cursive-flexi-logger-view/actions\"\u003e\n    \u003cimg src=\"https://img.shields.io/endpoint.svg?url=https%3A%2F%2Fdeinstapel.github.io%2Fcursive-flexi-logger-view%2Fnightly-build.json\" alt=\"nightly build\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://crates.io/crates/cursive-flexi-logger-view\"\u003e\n    \u003cimg alt=\"crates.io\" src=\"https://img.shields.io/crates/v/cursive-flexi-logger-view.svg\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://docs.rs/cursive-flexi-logger-view\"\u003e\n    \u003cimg alt=\"Docs.rs\" src=\"https://docs.rs/cursive-flexi-logger-view/badge.svg\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/deinstapel/cursive-flexi-logger-view/blob/master/LICENSE\"\u003e\n    \u003cimg alt=\"GitHub\" src=\"https://img.shields.io/github/license/deinstapel/cursive-flexi-logger-view.svg\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"http://spacemacs.org\"\u003e\n    \u003cimg src=\"https://cdn.rawgit.com/syl20bnr/spacemacs/442d025779da2f62fc86c2082703697714db6514/assets/spacemacs-badge.svg\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"http://makeapullrequest.com\"\u003e\n    \u003cimg alt=\"PRs Welcome\" src=\"https://img.shields.io/badge/PRs-welcome-brightgreen.svg\"\u003e\n  \u003c/a\u003e\n  \u003cbr\u003e\n  \u003ci\u003eAn alternative debug view for\n  \u003ca href=\"https://github.com/gyscos/cursive\"\u003egyscos/cursive\u003c/a\u003e\n  using\n  \u003ca href=\"https://github.com/emabee/flexi_logger\"\u003eemabee/flexi_logger\u003c/a\u003e\n  \u003c/i\u003e\n\u003c/p\u003e\n\n---\n\nThis project provides a new debug view for [gyscos/cursive](https://github.com/gyscos/cursive) using the [emabee/flexi_logger](https://github.com/emabee/flexi_logger) crate. This enables the `FlexiLoggerView` to respect the `RUST_LOG` environment variable as well as the `flexi_logger` configuration file. Have a look at the `demo` below to see how it looks.\n\n## How does it look like? `demo` [![terminalizer](https://img.shields.io/badge/GIF-terminalizer-blueviolet.svg)](https://github.com/faressoft/terminalizer)\n\n\u003cdetails\u003e\n  \u003csummary\u003eExpand to view\u003c/summary\u003e\n  \u003cimg src=\"assets/demo.gif\" alt=\"flexi-logger-view demo\"\u003e\n\u003c/details\u003e\n\n## Usage\n\nSimply add to your `Cargo.toml`\n\n```toml\n[dependencies]\ncursive-flexi-logger-view = \"^0\"\n```\n\n### Using the `FlexiLoggerView`\n\nTo create a `FlexiLoggerView` you first have to register the `cursive_flexi_logger` as a `Writer` in `flexi_logger`. After the `flexi_logger` has started, you may create a `FlexiLoggerView` instance and add it to cursive.\n\n```rust\nuse cursive::Cursive;\nuse cursive_flexi_logger_view::FlexiLoggerView;\nuse flexi_logger::Logger;\n\nfn main() {\n    // we need to initialize cursive first, as the cursive-flexi-logger\n    // needs a cursive callback sink to notify cursive about screen refreshs\n    // when a new log message arrives\n    let mut siv = Cursive::default();\n\n    Logger::try_with_env_or_str(\"trace\")\n        .expect(\"Could not create Logger from environment :(\")\n        .log_to_file_and_writer(\n            flexi_logger::FileSpec::default()\n                .directory(\"logs\")\n                .suppress_timestamp(),\n            cursive_flexi_logger_view::cursive_flexi_logger(\u0026siv)\n            )\n        .format(flexi_logger::colored_with_thread)\n        .start()\n        .expect(\"failed to initialize logger!\");\n\n    siv.add_layer(FlexiLoggerView::scrollable()); // omit `scrollable` to remove scrollbars\n\n    log::info!(\"test log message\");\n    siv.run();\n}\n```\n\nLook into the [documentation](https://docs.rs/cursive-flexi-logger-view) for a detailed explanation on the API.\n\n## Troubleshooting\n\nIf you find any bugs/unexpected behaviour or you have a proposition for future changes open an issue describing the current behaviour and what you expected.\n\n## Development [![cargo test](https://img.shields.io/endpoint.svg?url=https%3A%2F%2Fdeinstapel.github.io%2Fcursive-flexi-logger-view%2Fcargo-test.json)](https://github.com/deinstapel/cursive-flexi-logger-view/actions)\n\n### Running the tests\n\nJust run\n\n```\n$ cargo test\n```\n\nto execute all available tests.\n\n#### shields.io endpoints\n\n[shields.io](https://shields.io) endpoints are generated inside the `./target/shields` folder. They are used in this README.\n\n## Authors\n\n**Fin Christensen**\n\n\u003e [:octocat: `@fin-ger`](https://github.com/fin-ger)  \n\u003e [:elephant: `@fin_ger@weirder.earth`](https://weirder.earth/@fin_ger)  \n\u003e [:bird: `@fin_ger_github`](https://twitter.com/fin_ger_github)  \n\n\u003cbr\u003e\n\n**Johannes Wünsche**\n\n\u003e [:octocat: `@jwuensche`](https://github.com/jwuensche)  \n\u003e [:elephant: `@fredowald@mastodon.social`](https://mastodon.social/web/accounts/843376)  \n\u003e [:bird: `@Fredowald`](https://twitter.com/fredowald)  \n\n## Show your support\n\nGive a :star: if this project helped you!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeinstapel%2Fcursive-flexi-logger-view","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeinstapel%2Fcursive-flexi-logger-view","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeinstapel%2Fcursive-flexi-logger-view/lists"}