{"id":13816648,"url":"https://github.com/pritchett/neorg-capture","last_synced_at":"2026-01-12T11:46:30.940Z","repository":{"id":204189272,"uuid":"711281714","full_name":"pritchett/neorg-capture","owner":"pritchett","description":"A capture implementation for Neorg","archived":false,"fork":false,"pushed_at":"2024-12-30T15:53:03.000Z","size":29,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-30T16:34:15.852Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pritchett.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":"2023-10-28T18:55:47.000Z","updated_at":"2024-12-30T15:53:07.000Z","dependencies_parsed_at":null,"dependency_job_id":"60cdaf7c-9dab-46e3-bb76-5a2470f12989","html_url":"https://github.com/pritchett/neorg-capture","commit_stats":null,"previous_names":["pritchett/neorg-capture"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pritchett%2Fneorg-capture","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pritchett%2Fneorg-capture/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pritchett%2Fneorg-capture/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pritchett%2Fneorg-capture/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pritchett","download_url":"https://codeload.github.com/pritchett/neorg-capture/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254367710,"owners_count":22059558,"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":[],"created_at":"2024-08-04T05:00:48.656Z","updated_at":"2026-01-12T11:46:30.931Z","avatar_url":"https://github.com/pritchett.png","language":null,"funding_links":[],"categories":["Neorg Modules"],"sub_categories":[],"readme":"\n\n\n\n# Neorg Capture\n\n\\* **This README is generated from [./README.norg](./README.norg).**\n\n\n## Usage\n\nSet up a template with [neorg-templates](https://github.com/pysan3/neorg-templates)\n\n\n## Installation\n\n- [lazy.nvim](https://github.com/folke/lazy.nvim) installation\n```lua\n-- neorg.lua\nlocal M = {\n  \"nvim-neorg/neorg\",\n  ft = \"norg\",\n  dependencies = {\n    { \"pysan3/neorg-templates\", dependencies = { \"L3MON4D3/LuaSnip\" } }, -- ADD THIS LINE\n    { \"pritchett/neorg-capture\"},                                        -- ADD THIS LINE\n  },\n}\n```\n\n\n## Configuration\n\n```lua\nM.config = function ()\n  require(\"neorg\").setup({\n    load = {\n      [\"external.templates\"] = {\n        ...\n      },\n      [\"external.capture\"] = {\n        templates = {\n          {\n            description = \"Example\",   -- What will be shown when invoked\n            name = \"example\",          -- Name of the neorg-templates template.\n            file = \"example\",          -- Name of the target file for the caputure. With or without `.norg` suffix\n                                       -- Can be a function. If a full filepath is given, thats where it will be save.\n                                       -- If just a filename, it will be saved into your workspace.\n\n            enabled = function()       -- Either a function or boolean value. Default is true.\n              return true              -- If false, it will not be shown in the list when invoked.\n            end,\n\n            datetree = true,           -- Save the capture into a datetree. Default is false\n\n            headline = \"Example\"       -- If set, will save the caputure under this headline\n            path = { \"Save\", \"Here\" }  -- List of headlines to traverse, then save the capture under\n            query =                    -- A query for where to place the capture. Must be named neorg-capture-target\n              \"(headline1) @neorg-capture-target\"\n\n          },\n          ...\n        }\n      },\n    }\n  })\nend\n```\n\n- Headlines take precedence over paths. If neither is set, the capture is set at the bottom of the target file.\n- Datetrees can be combined with headlines or paths. \n\n\n## Contribution\n\n- PRs are welcome\n- Please follow code style defined in [./stylua.toml](./stylua.toml) using [StyLua](https://github.com/johnnymorganz/stylua).\n\n\n## LICENSE\n\nAll files in this repository without annotation are licensed under the **GPL-3.0 license** as detailed in [LICENSE](LICENSE).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpritchett%2Fneorg-capture","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpritchett%2Fneorg-capture","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpritchett%2Fneorg-capture/lists"}