{"id":13430715,"url":"https://github.com/noriah/catnip","last_synced_at":"2026-01-12T03:03:46.063Z","repository":{"id":43111773,"uuid":"295935284","full_name":"noriah/catnip","owner":"noriah","description":"terminal audio visualizer for linux/unix/macOS/windblows*","archived":false,"fork":false,"pushed_at":"2025-07-01T22:09:59.000Z","size":2735,"stargazers_count":257,"open_issues_count":1,"forks_count":13,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-01T23:20:30.594Z","etag":null,"topics":["audio","audio-visualizer","catnip","ffmpeg","go","golang","music","music-visualizer","pipewire","portaudio","pulseaudio","sound","sound-visualizer","terminal","visualization","visualizer"],"latest_commit_sha":null,"homepage":"","language":"Go","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/noriah.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"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}},"created_at":"2020-09-16T05:46:29.000Z","updated_at":"2025-07-01T22:06:01.000Z","dependencies_parsed_at":"2023-02-18T14:30:50.467Z","dependency_job_id":"b23ec540-d3ec-423c-94e3-ad869d3c4764","html_url":"https://github.com/noriah/catnip","commit_stats":null,"previous_names":["noriah/tavis"],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/noriah/catnip","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noriah%2Fcatnip","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noriah%2Fcatnip/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noriah%2Fcatnip/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noriah%2Fcatnip/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/noriah","download_url":"https://codeload.github.com/noriah/catnip/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noriah%2Fcatnip/sbom","scorecard":{"id":694278,"data":{"date":"2025-08-11","repo":{"name":"github.com/noriah/catnip","commit":"c49041921a157f1359d1c0c5f3ffd36a40c27c92"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.4,"checks":[{"name":"Maintained","score":2,"reason":"2 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 2","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"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":"Code-Review","score":1,"reason":"Found 3/27 approved changesets -- score normalized to 1","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":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"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":"Dangerous-Workflow","score":-1,"reason":"no workflows found","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":"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":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"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":"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT 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":"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":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"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 7 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"}},{"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"}}]},"last_synced_at":"2025-08-22T03:12:40.940Z","repository_id":43111773,"created_at":"2025-08-22T03:12:40.940Z","updated_at":"2025-08-22T03:12:40.940Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28332858,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T00:36:25.062Z","status":"online","status_checked_at":"2026-01-12T02:00:08.677Z","response_time":98,"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":["audio","audio-visualizer","catnip","ffmpeg","go","golang","music","music-visualizer","pipewire","portaudio","pulseaudio","sound","sound-visualizer","terminal","visualization","visualizer"],"created_at":"2024-07-31T02:00:57.056Z","updated_at":"2026-01-12T03:03:46.058Z","avatar_url":"https://github.com/noriah.png","language":"Go","funding_links":[],"categories":["Go","Packages"],"sub_categories":["CLI Tools"],"readme":"# catnip\n\n[![love][withlove]][noriah-dev]\n[![made-with-go][withgo]][go-dev]\n[![betamax-was-a-thing][betamax]][betawhat]\n\n\u003e terminal audio visualizer for linux/unix/macOS/windows*\n\n\u003cp align=\"center\"\u003e\n\t\u003ca href=\"https://www.youtube.com/watch?v=S0LJCGOsq-4\"\u003e\n\t\t\u003cimg src=\"../media/preview0.gif\" /\u003e\n\t\u003c/a\u003e\n\u003c/p\u003e\n^ click for a fun video\n\n[![A visualization of catnip over time](https://img.youtube.com/vi/sU3fkOB5HZ8/0.jpg)](https://youtu.be/sU3fkOB5HZ8)\n\n## it supports audio backends\n- ALSA (linux FFmpeg)\n- AVFoundation (macOS FFmpeg)\n- DirectShow (windblows FFmpeg)\n- Pipewire (pw-cat)\n- PortAudio (linux/macOS/windblows (maybe))\n- PulseAudio (parec/FFmpeg)\n\n## it depends on\n\n- go modules\n\t- github.com/nsf/termbox-go\n\t- github.com/integrii/flaggy\n\t- github.com/pkg/errors\n\t- github.com/noisetorch/pulseaudio\n\t- gonum.org/v1/gonum\n\n- binaries\n\t- ffmpeg (required for FFmpeg backends)\n\t- parec (required for PulseAudio backend with parec)\n  - pw-cat, pw-link (required for Pipewire backend)\n\n- c libraries (optional, requires CGO - `CGO_ENABLED=1`)\n\t- fftw (fftw3) (enable with `-tags fftw`)\n\t- portaudio (portaudio-2.0) (enable with `-tags portaudio`)\n\n## get it\n\n```sh\n# get source\ngit clone https://github.com/noriah/catnip.git\n\n# cd to dir\ncd catnip\n\n# build and install catnip\ngo install ./cmd/catnip\n\n# with portaudio\ngo install ./cmd/catnip -tags portaudio\n\n# with fftw3\ngo install ./cmd/catnip -tags fftw\n\n# with both portaudio and fftw3\ngo install ./cmd/catnip -tags portaudio,fftw\n```\n\n## run it\n\n- use `catnip list-backends` to show available backends\n- use `catnip -b {backend} list-devices` to show available devices\n- use `catnip -b {backend} -d {device}` to run - use the full device name\n- use `catnip -h` for information on several more customizations\n\n## question it\n### catnip?\n[long story, short explanation][speakers]\n\n[update][speakers-2]\n\n\u003c!-- Links --\u003e\n[noriah-dev]: https://noriah.dev\n[go-dev]: https://go.dev\n[betawhat]: https://en.wikipedia.org/wiki/Betamax\n[speakers]: https://github.com/noriah/catnip/commit/b1dc3840fa0ed583eba40dbaaa2c0c34c425e26e\n[speakers-2]: https://github.com/noriah/catnip/commit/d3c13fb16742184d7c506a567b938045f3be1c1a\n\n\u003c!-- Images --\u003e\n[withlove]: https://forthebadge.com/images/badges/built-with-love.svg\n[withgo]: https://forthebadge.com/images/badges/made-with-go.svg\n[betamax]: https://forthebadge.com/images/badges/compatibility-betamax.svg\n[preview-0]: https://i.imgur.com/TfMrNpe.gifv\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoriah%2Fcatnip","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnoriah%2Fcatnip","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoriah%2Fcatnip/lists"}