{"id":20626655,"url":"https://github.com/tymekdev/freeze.nvim","last_synced_at":"2025-07-17T15:34:47.276Z","repository":{"id":248019912,"uuid":"827527418","full_name":"TymekDev/freeze.nvim","owner":"TymekDev","description":"Take code screenshots with freeze straight from Neovim","archived":false,"fork":false,"pushed_at":"2024-10-14T09:16:44.000Z","size":6,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-10T14:59:07.954Z","etag":null,"topics":["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/TymekDev.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}},"created_at":"2024-07-11T20:34:38.000Z","updated_at":"2024-10-14T09:16:48.000Z","dependencies_parsed_at":"2024-07-11T23:31:38.207Z","dependency_job_id":"baa7049d-7a51-4742-b120-19f90997b826","html_url":"https://github.com/TymekDev/freeze.nvim","commit_stats":null,"previous_names":["tymekdev/freeze.nvim"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/TymekDev/freeze.nvim","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TymekDev%2Ffreeze.nvim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TymekDev%2Ffreeze.nvim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TymekDev%2Ffreeze.nvim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TymekDev%2Ffreeze.nvim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TymekDev","download_url":"https://codeload.github.com/TymekDev/freeze.nvim/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TymekDev%2Ffreeze.nvim/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265622760,"owners_count":23800033,"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":["neovim","neovim-plugin","nvim"],"created_at":"2024-11-16T13:14:17.246Z","updated_at":"2025-07-17T15:34:46.961Z","avatar_url":"https://github.com/TymekDev.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"# freeze.nvim\n\nA plugin wrapping [`freeze`](https://github.com/charmbracelet/freeze) into a `:Freeze` command.\n\n## Requirements\n\n- Neovim \u003e= 0.10.0\n- MacOS and `osascript`\n- `freeze` \u003e= [`578e9d0`](https://github.com/charmbracelet/freeze/commit/578e9d05c3196241fa3c49ce857f9f4c8ae6a77b) (for tokyonight themes)\n- JetBrainsMono Nerd Font\n\n\u003e [!NOTE]\n\u003e These are specific requirements that work for me. I don't plan to work on lowering these requirements.\n\n## Setup\n\n### [lazy.nvim](https://github.com/folke/lazy.nvim)\n\n_Annotations are optional._\n\n```lua\n---@module \"lazy\"\n---@type LazySpec\n{\n  \"TymekDev/freeze.nvim\",\n  cmd = \"Freeze\",\n  ---@module \"freeze\"\n  ---@type freeze.Options\n  opts = {},\n}\n```\n\nOnce installed, you can run a health check with:\n\n```vim\n:Lazy load freeze.nvim | checkhealth freeze\n```\n\n\u003e [!TIP]\n\u003e Use [lazydev.nvim](https://github.com/folke/lazydev.nvim) to get completions based on the annotations.\n\n## Usage\n\n- `:Freeze` command works either on a selection or on a range\n- Use `:%Freeze` to screenshot an entire file\n- Use `:Freeze` to screenshot the current line\n- Provide an argument to change the theme: `:Freeze tokyonight_day`\n  - Valid values are keys of `require(\"freeze.themes\")`\n\n## Options\n\n\u003e [!IMPORTANT]\n\u003e The goal is to create screenshots with a MacOS feel. That's why customization options are limited.\n\n```lua\n{\n  config = \"full\",\n  [\"font.family\"] = \"JetBrainsMono Nerd Font\",\n  output = function()\n    return vim.fn.tempname() .. \".png\"\n  end,\n  theme = require(\"freeze.themes\").tokyonight_storm,\n}\n```\n\n## Motivation\n\nThere are a few plugins built around `freeze` already. However, the alternatives don't copy the PNG image into the clipboard properly. Namely, it cannot be pasted as an image (e.g. into a Slack message).\n\nI already had the core implemented in [my dotfiles](https://github.com/TymekDev/dotfiles), so I decided to turn it into a standalone plugin.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftymekdev%2Ffreeze.nvim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftymekdev%2Ffreeze.nvim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftymekdev%2Ffreeze.nvim/lists"}