{"id":25583722,"url":"https://github.com/0xtadash1/bat-into-tokyonight","last_synced_at":"2025-06-25T13:03:54.149Z","repository":{"id":218591679,"uuid":"599209206","full_name":"0xTadash1/bat-into-tokyonight","owner":"0xTadash1","description":"🦇 Bat into Tokyo Night 🌃","archived":false,"fork":false,"pushed_at":"2024-07-28T15:55:25.000Z","size":20,"stargazers_count":16,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-12T19:40:05.872Z","etag":null,"topics":["bat","tokyonight"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/0xTadash1.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":"2023-02-08T17:17:10.000Z","updated_at":"2025-04-09T10:24:06.000Z","dependencies_parsed_at":"2024-01-22T23:26:09.486Z","dependency_job_id":"4f032aca-400d-4cca-a3f1-f86b22104f2f","html_url":"https://github.com/0xTadash1/bat-into-tokyonight","commit_stats":null,"previous_names":["0xtadash1/bat-into-tokyonight"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/0xTadash1/bat-into-tokyonight","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xTadash1%2Fbat-into-tokyonight","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xTadash1%2Fbat-into-tokyonight/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xTadash1%2Fbat-into-tokyonight/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xTadash1%2Fbat-into-tokyonight/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/0xTadash1","download_url":"https://codeload.github.com/0xTadash1/bat-into-tokyonight/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xTadash1%2Fbat-into-tokyonight/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261879271,"owners_count":23223736,"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":["bat","tokyonight"],"created_at":"2025-02-21T06:18:13.895Z","updated_at":"2025-06-25T13:03:54.128Z","avatar_url":"https://github.com/0xTadash1.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🦇 [Bat][sharkdp/bat] into [Tokyo Night][folke/tokyonight.nvim] 🌃\n\n[sharkdp/bat]: https://github.com/sharkdp/bat\n[folke/tokyonight.nvim]: https://github.com/folke/tokyonight.nvim\n\n\u003e Install / Update Tokyo Night syntax highlight theme for `bat`.\n\n`bat` supports Sublime Text theme and syntax highlighting definition files.\nSo we can use `*.tmTheme` files in `extras/sublime/` directory at\n[folke/tokyonight.nvim] repository. This is delightful for some, like me!\n\n## ℹ About\n\nHere is the script that adds Folke's edition of Tokyo Night theme to `bat`.\nIt automates the tedious **install** (`git clone`), **update** (`git pull`)\nand **build** (`bat cache --build`) process.\n\nThe installation is not a simple clone. In here, there are only a few files in\n[folke/tokyonight.nvim] that are actually needed for us.\nThe majority of files should be ignored and not saved.\nFor instance, `README.md`, `lua/`, `colors/`, etc. \\\nSimilarly, for updates, superfluous files should not be checked.\n\nAnd the build is executed only when there are updates.\n\n## ✨ Features\n\n- Install if not installed\n  - `tokyonight_day`\n  - `tokyonight_moon`\n  - `tokyonight_night`\n  - `tokyonight_storm`\n- Update if there are updates\n- Build a cache if the themes are expired\n\n## 🚀 How to use\n\n### To Install or Update the themes\n\n```sh\ngit clone https://github.com/0xTadash1/bat-into-tokyonight\ncd bat-into-tokyonight\n./bat-into-tokyonight\n```\n\nI recommend you to do `(./bat-into-tokyonight \u003e/dev/null 2\u003e\u00261 \u0026)` in a file such as `.bashrc` or `.zshrc`.\n\n### 3 ways to switch theme for `bat`\n\n- Use a environment variable: i.e. `export BAT_THEME=\"tokyonight_night\"`\n- Use a option with `bat`: i.e. `bat --theme=\"tokyonight_storm\"`\n- [Use a option in a config file for `bat`][sharkdp/bat#configuration-file]\n\n[sharkdp/bat#configuration-file]:\n  https://github.com/sharkdp/bat#configuration-file\n  \"sharkdp/bat # Configuration file\"\n\n## Uninstall / Cleanup themes\n\nRemove this plugin directory, and then:\n\n```sh\ncommand rm -rf \"$(command bat --config-dir)/themes/tokyonight.nvim/\"\ncommand bat cache --build\n```\n\n## ❓ Why bring a Neovim theme?\n\nI prefer the colors of Folke flavored Tokyo Night theme.\n\nEnkia, probably the original creator of Tokyo Night, also makes\n[a Sublime Text theme](https://github.com/enkia/enki-theme).\nIf you prefer the original author's, you should use that. It's much stable.\n\n## 💕 Thanks\n\n- [sharkdp/bat]\n- [folke/tokyonight.nvim]\n- [enkia/tokyo-night-vscode-theme][original]\n- [enkia/enki-theme](https://github.com/enkia/enki-theme)\n\n[original]: https://github.com/enkia/tokyo-night-vscode-theme\n\n## 📃 License\n\n[MIT](https://github.com/0xTadash1/bat-into-tokyonight/blob/main/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0xtadash1%2Fbat-into-tokyonight","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F0xtadash1%2Fbat-into-tokyonight","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0xtadash1%2Fbat-into-tokyonight/lists"}