{"id":43309989,"url":"https://github.com/nikolaiser/brichka.nvim","last_synced_at":"2026-02-01T21:01:20.469Z","repository":{"id":334602704,"uuid":"1141832990","full_name":"nikolaiser/brichka.nvim","owner":"nikolaiser","description":"Run code on Databricks from Neovim","archived":false,"fork":false,"pushed_at":"2026-01-25T20:36:00.000Z","size":5,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-26T11:51:01.061Z","etag":null,"topics":["databricks","neovim","plugin","python","scala","sql"],"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/nikolaiser.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-01-25T14:09:13.000Z","updated_at":"2026-01-26T05:58:49.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/nikolaiser/brichka.nvim","commit_stats":null,"previous_names":["nikolaiser/brichka.nvim"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/nikolaiser/brichka.nvim","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikolaiser%2Fbrichka.nvim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikolaiser%2Fbrichka.nvim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikolaiser%2Fbrichka.nvim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikolaiser%2Fbrichka.nvim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nikolaiser","download_url":"https://codeload.github.com/nikolaiser/brichka.nvim/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikolaiser%2Fbrichka.nvim/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28990683,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-01T20:57:35.821Z","status":"ssl_error","status_checked_at":"2026-02-01T20:57:29.580Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["databricks","neovim","plugin","python","scala","sql"],"created_at":"2026-02-01T21:01:19.800Z","updated_at":"2026-02-01T21:01:20.444Z","avatar_url":"https://github.com/nikolaiser.png","language":"Lua","readme":"# brichka.nvim\n\nNeovim plugin for [brichka](https://github.com/nikolaiser/brichka) - run code on Databricks clusters directly from your editor.\n\n## Prerequisites\n\n* [brichka CLI](https://github.com/nikolaiser/brichka) installed\n* [visidata](https://www.visidata.org/) installed (default table rendering)\n* Authenticated [databricks-cli](https://github.com/databricks/cli)\n\n## Installation\n\n### Lazy.nvim\n\n```lua\n{\n    \"nikolaiser/brichka.nvim\",\n    dependencies = {\n        \"folke/snacks.nvim\", -- Used for the default renderers\n    },\n    opts = {},\n    keys = {\n        {\n            \"\u003cleader\u003ebs\",\n            function()\n                require(\"brichka.cluster\").select()\n            end,\n            desc = \"Brichka select cluster\",\n        },\n        {\n            \"\u003cleader\u003ebr\",\n            function()\n                require(\"brichka.run\").run(vim.api.nvim_buf_get_lines(0, 0, -1, false), vim.bo.filetype)\n            end,\n            desc = \"Brichka run current buffer\",\n        },\n    },\n}\n```\n\n## Usage\n\n1. **Select a cluster for the current working directory**: `\u003cleader\u003ebs` - Opens a list of available Databricks clusters\n2. **Run code**: `\u003cleader\u003ebr` - Executes the current buffer on the selected cluster\n\nThe plugin automatically detects the file type and runs it with the appropriate language (SQL, Scala, Python, R).\n\n## Configuration\n\nDefault configuration:\n\n```lua\n{\n    cmd = {\n        brichka = \"brichka\", -- Path to brichka executable\n    },\n    ui = {\n        icons = {\n            cluster = {\n                running = \"🟢\",\n                pending = \"🔵\",\n                restarting = \"♻️\",\n                resizing = \"⚙️\",\n                terminating = \"🔻\",\n                terminated = \"🔴\",\n                error = \"⚠️\",\n                unknown = \"❔\",\n            },\n        },\n        render = {\n            table = function(path)\n                Snacks.terminal(\"vd --wrap \" .. path, { win = { position = \"bottom\" } })\n            end,\n            text = function(value)\n                Snacks.win({ text = value, width = 0.6, height = 0.6 })\n            end,\n            error = function(message, cause)\n                Snacks.win({ text = message, width = 0.6, height = 0.6 })\n            end,\n        },\n    },\n    run = {\n        start = false,  -- Auto-start cluster if stopped\n        init = false,   -- Auto create shared execution context (notebook mode)\n        spinner = true, -- Show spinner while executing\n    },\n}\n```\n\nOverride any options in your `opts` table.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnikolaiser%2Fbrichka.nvim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnikolaiser%2Fbrichka.nvim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnikolaiser%2Fbrichka.nvim/lists"}