{"id":17736583,"url":"https://github.com/toshimaru/nyan","last_synced_at":"2025-04-09T14:08:53.117Z","repository":{"id":35366850,"uuid":"195893425","full_name":"toshimaru/nyan","owner":"toshimaru","description":"Colored `cat` command.","archived":false,"fork":false,"pushed_at":"2024-07-12T09:42:29.000Z","size":214,"stargazers_count":210,"open_issues_count":5,"forks_count":12,"subscribers_count":8,"default_branch":"main","last_synced_at":"2024-07-12T11:11:59.797Z","etag":null,"topics":["cat","go","goreleaser"],"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/toshimaru.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":"toshimaru"}},"created_at":"2019-07-08T22:19:09.000Z","updated_at":"2024-07-12T09:42:31.000Z","dependencies_parsed_at":"2024-02-19T01:47:27.571Z","dependency_job_id":"c0fbd7a4-d6f3-4632-8cab-5f4e2fc6191f","html_url":"https://github.com/toshimaru/nyan","commit_stats":null,"previous_names":[],"tags_count":56,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toshimaru%2Fnyan","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toshimaru%2Fnyan/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toshimaru%2Fnyan/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toshimaru%2Fnyan/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/toshimaru","download_url":"https://codeload.github.com/toshimaru/nyan/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248054201,"owners_count":21039952,"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","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":["cat","go","goreleaser"],"created_at":"2024-10-26T00:23:33.351Z","updated_at":"2025-04-09T14:08:53.083Z","avatar_url":"https://github.com/toshimaru.png","language":"Go","funding_links":["https://github.com/sponsors/toshimaru"],"categories":["Go"],"sub_categories":[],"readme":"[![Release](https://img.shields.io/github/release/toshimaru/nyan.svg)](https://github.com/toshimaru/nyan/releases/latest)\n![Go Build \u0026 Test](https://github.com/toshimaru/nyan/workflows/Go%20Build%20\u0026%20Test/badge.svg)\n![Release with goreleaser](https://github.com/toshimaru/nyan/workflows/Release%20with%20goreleaser/badge.svg)\n[![Maintainability](https://api.codeclimate.com/v1/badges/f5063da42c2e2b00e625/maintainability)](https://codeclimate.com/github/toshimaru/nyan/maintainability)\n[![Test Coverage](https://api.codeclimate.com/v1/badges/f5063da42c2e2b00e625/test_coverage)](https://codeclimate.com/github/toshimaru/nyan/test_coverage)\n\n# nyan\n\nColored `cat` command which supports syntax highlighting.\n\n![OG image for nyan command](https://repository-images.githubusercontent.com/195893425/0a7e7dfc-3a80-49d5-8193-5482fe2e7848)\n\n## Installation\n\n### Homebrew\n\n```console\n$ brew install toshimaru/nyan/nyan\n```\n\n### go get\n\n```console\n$ go get github.com/toshimaru/nyan\n```\n\n### go install (requires Go 1.16+)\n\n```console\n$ go install github.com/toshimaru/nyan@latest\n```\n\n## Usage\n\n```console\n$ nyan FILE\n```\n\n### Available Options\n\n| Option | Description |\n| --- | --- |\n| `-h`, `--help` | Show help |\n| `-l`, `--language` lang | Specify language for syntax highlighting |\n| `-T`, `--list-themes` | List available color themes |\n| `-n`, `--number` | Output with line numbers |\n| `-t`, `--theme` theme | Set color theme for syntax highlighting |\n\n## Available Color Themes\n\n- abap\n- dracula\n- emacs\n- monokai (default)\n- monokailight\n- pygments\n- solarized-dark\n- solarized-light\n- swapoff\n- vim\n\nYou can list and preview available color themes with the command:\n\n```console\n$ nyan --list-themes\n```\n\n![Available Themes](https://user-images.githubusercontent.com/803398/67260792-42a91000-f4d8-11e9-9b92-19c0072987e3.png)\n\n## What is nyan?\n\n`nyan` originates from [Nyan Cat](https://www.nyan.cat/) (Music by [daniwell](https://aidn.jp/about/)).\n\n![nyancat](https://giphygifs.s3.amazonaws.com/media/sIIhZliB2McAo/giphy.gif)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoshimaru%2Fnyan","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftoshimaru%2Fnyan","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoshimaru%2Fnyan/lists"}