{"id":25654107,"url":"https://github.com/czfadmin/readonly.nvim","last_synced_at":"2026-06-23T09:31:09.802Z","repository":{"id":278681268,"uuid":"936411844","full_name":"czfadmin/readonly.nvim","owner":"czfadmin","description":"The file you open is in read-only mode, so it won't be accidentally modified, similar to the file read-only function in VSCODE","archived":false,"fork":false,"pushed_at":"2025-04-27T14:02:57.000Z","size":24,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-27T15:19:43.983Z","etag":null,"topics":[],"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/czfadmin.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":"2025-02-21T03:22:41.000Z","updated_at":"2025-04-27T14:03:00.000Z","dependencies_parsed_at":"2025-04-27T15:29:30.339Z","dependency_job_id":null,"html_url":"https://github.com/czfadmin/readonly.nvim","commit_stats":null,"previous_names":["czfadmin/readonly.nvim"],"tags_count":1,"template":false,"template_full_name":"ellisonleao/nvim-plugin-template","purl":"pkg:github/czfadmin/readonly.nvim","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/czfadmin%2Freadonly.nvim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/czfadmin%2Freadonly.nvim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/czfadmin%2Freadonly.nvim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/czfadmin%2Freadonly.nvim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/czfadmin","download_url":"https://codeload.github.com/czfadmin/readonly.nvim/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/czfadmin%2Freadonly.nvim/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34684671,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-23T02:00:07.161Z","response_time":65,"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":[],"created_at":"2025-02-23T20:17:34.844Z","updated_at":"2026-06-23T09:31:09.798Z","avatar_url":"https://github.com/czfadmin.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Readonly.nvim\n\nThe file you open is in read-only mode, so it won't be accidentally modified, similar to the file read-only function in VSCODE\n\n## HOW TO USE IT?\n\n- lazyvim\n\n```lua\nreturn {\n  \"czfadmin/readonly.nvim\",\n  event = \"BufReadPre\",\n  enabled = true,\n  opts = {\n    restricted_directories = {\n      \"/etc\",\n      \"/usr\",\n      \"/var\",\n      \"/tmp\",\n      \"/opt\",\n      \"*/node_modules/.*\"\n    },\n    exclude_directories = {},\n\n  },\n  config = function(_, opts)\n    require(\"readonly\").setup(opts)\n  end,\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fczfadmin%2Freadonly.nvim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fczfadmin%2Freadonly.nvim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fczfadmin%2Freadonly.nvim/lists"}