{"id":51902188,"url":"https://github.com/yukimemi/lumiris.nvim","last_synced_at":"2026-07-26T17:01:21.643Z","repository":{"id":362198528,"uuid":"1254845622","full_name":"yukimemi/lumiris.nvim","owner":"yukimemi","description":"Automatically rotate Neovim colorschemes with persistent like/hate preferences","archived":false,"fork":false,"pushed_at":"2026-06-20T05:25:35.000Z","size":33,"stargazers_count":1,"open_issues_count":3,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-07-01T14:41:45.818Z","etag":null,"topics":["lua","neovim","neovim-plugin","nvim"],"latest_commit_sha":null,"homepage":"","language":"Lua","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/yukimemi.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-05-31T04:21:04.000Z","updated_at":"2026-06-20T05:24:55.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/yukimemi/lumiris.nvim","commit_stats":null,"previous_names":["yukimemi/lumiris.nvim"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/yukimemi/lumiris.nvim","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yukimemi%2Flumiris.nvim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yukimemi%2Flumiris.nvim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yukimemi%2Flumiris.nvim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yukimemi%2Flumiris.nvim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yukimemi","download_url":"https://codeload.github.com/yukimemi/lumiris.nvim/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yukimemi%2Flumiris.nvim/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35920983,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-07-20T02:08:10.276Z","status":"online","status_checked_at":"2026-07-26T02:00:06.503Z","response_time":89,"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":["lua","neovim","neovim-plugin","nvim"],"created_at":"2026-07-26T17:01:21.006Z","updated_at":"2026-07-26T17:01:21.637Z","avatar_url":"https://github.com/yukimemi.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n\u003cpicture\u003e\n  \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"https://raw.githubusercontent.com/yukimemi/lumiris.nvim/main/assets/logo-dark.svg\"\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com/yukimemi/lumiris.nvim/main/assets/logo.svg\" alt=\"lumiris — auto-rotate your Neovim colorschemes\" width=\"520\"\u003e\n\u003c/picture\u003e\n\n\u003cp\u003e\u003cem\u003eauto-rotate your Neovim colorschemes.\u003c/em\u003e\u003c/p\u003e\n\n[![CI](https://github.com/yukimemi/lumiris.nvim/actions/workflows/ci.yml/badge.svg)](https://github.com/yukimemi/lumiris.nvim/actions/workflows/ci.yml)\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/yukimemi/lumiris.nvim/blob/main/LICENSE)\n[![Neovim 0.10+](https://img.shields.io/badge/Neovim-0.10+-57A143?logo=neovim\u0026logoColor=white)](https://neovim.io)\n\n\u003c/div\u003e\n\nAutomatically rotate through your installed colorschemes, with per-scheme\nlike/hate preferences that persist across sessions. A pure-Lua, Neovim-only\nrewrite of [lumiris.vim](https://github.com/yukimemi/lumiris.vim) (no Deno /\ndenops dependency).\n\n## Requirements\n\n- Neovim \u003e= 0.10 (`vim.uv`, `vim.health.start`)\n\n## Install\n\nWith [rvpm](https://github.com/yukimemi/rvpm) (recommended):\n\n```sh\nrvpm add yukimemi/lumiris.nvim --on-event CursorHold --on-cmd '/^Lumiris.*$/'\n```\n\nOr in `config.toml`:\n\n```toml\n[[plugins]]\nurl = \"https://github.com/yukimemi/lumiris.nvim\"\non_event = \"CursorHold\"\non_cmd = [\"/^Lumiris.*$/\"]\n```\n\n\u003e rvpm doesn't auto-run `setup()` — when you pass options, call `require(\"lumiris\").setup({ ... })` from a hook file (`plugins/github.com/yukimemi/lumiris.nvim/after.lua`).\n\nOr with [lazy.nvim](https://github.com/folke/lazy.nvim):\n\n```lua\n{\n  \"yukimemi/lumiris.nvim\",\n  event = \"VeryLazy\",\n  opts = {\n    interval = 3600, -- seconds between automatic switches (0 = on every event)\n  },\n}\n```\n\n`opts` is passed straight to `require(\"lumiris\").setup()`.\n\n## Configuration\n\nDefaults:\n\n```lua\nrequire(\"lumiris\").setup({\n  notify = false,                          -- vim.notify for background events (gated by log_level)\n  log_level = \"warn\",                      -- \"trace\"|\"debug\"|\"info\"|\"warn\"|\"error\"\n  interval = 3600,                         -- seconds; 0 = switch on every event\n  events = { \"FocusLost\", \"CursorHold\" },  -- events that may trigger a switch (rate-limited by interval)\n  background = nil,                        -- \"dark\"|\"light\"|nil (force \u0026background before applying)\n  include = {},                            -- allowlist of colorscheme names (empty = all installed)\n  exclude = {},                            -- denylist of colorscheme names\n  state_path = vim.fn.stdpath(\"state\") .. \"/lumiris/prefs.json\",\n})\n```\n\n`interval` rate-limits switching: events fire often (e.g. `CursorHold`) but the\ncolorscheme only changes once `interval` seconds have elapsed. Set `interval = 0`\nto switch on *every* event instead.\n\n`setup()` picks a colorscheme immediately when none is active yet, so a fresh\nsession never sits on `default` waiting for the first `interval` to elapse. If\nyour config already set a colorscheme, it is left untouched.\n\n## Commands\n\n| Command | Action |\n| --- | --- |\n| `:LumirisChange` | Switch to a new colorscheme now (ignores the interval) |\n| `:LumirisLike` | Boost the current colorscheme (picked more often) |\n| `:LumirisHate` | Exclude the current colorscheme and switch away |\n| `:LumirisEnable` / `:LumirisDisable` / `:LumirisToggle` | Control automatic switching |\n\nThe commands are available without calling `setup()`; only the automatic\nrotation needs `setup()`.\n\n## Lua API\n\n```lua\nlocal lumiris = require(\"lumiris\")\nlumiris.change()         -- == :LumirisChange\nlumiris.like(\"habamax\")  -- defaults to current colorscheme\nlumiris.hate(\"blue\")\nlumiris.enable()\nlumiris.disable()\nlumiris.candidates()     -- string[] of eligible colorschemes\n```\n\nPreferences are stored as JSON at `state_path`.\n\n## Health\n\n```vim\n:checkhealth lumiris\n```\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyukimemi%2Flumiris.nvim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyukimemi%2Flumiris.nvim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyukimemi%2Flumiris.nvim/lists"}