{"id":13761266,"url":"https://github.com/tjdevries/luvjob.nvim","last_synced_at":"2025-10-29T08:32:27.338Z","repository":{"id":96939297,"uuid":"249461475","full_name":"tjdevries/luvjob.nvim","owner":"tjdevries","description":"LibUV Jobs for Nvim in Lua ","archived":false,"fork":false,"pushed_at":"2020-08-14T13:53:32.000Z","size":8,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-01T23:51:08.366Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/tjdevries.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":"tjdevries"}},"created_at":"2020-03-23T14:58:38.000Z","updated_at":"2024-07-01T07:19:03.000Z","dependencies_parsed_at":"2023-03-13T16:21:38.941Z","dependency_job_id":null,"html_url":"https://github.com/tjdevries/luvjob.nvim","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tjdevries%2Fluvjob.nvim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tjdevries%2Fluvjob.nvim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tjdevries%2Fluvjob.nvim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tjdevries%2Fluvjob.nvim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tjdevries","download_url":"https://codeload.github.com/tjdevries/luvjob.nvim/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238795367,"owners_count":19531726,"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-03T13:01:46.432Z","updated_at":"2025-10-29T08:32:22.020Z","avatar_url":"https://github.com/tjdevries.png","language":"Lua","funding_links":["https://github.com/sponsors/tjdevries"],"categories":["Lua"],"sub_categories":[],"readme":"# NOTE: THIS IS DEPRECATED. SEE github.com/nvim-lua/plenary.nvim\n\nI've decided to combine this with `plenary.nvim` going forward.\n\n# luvjob.nvim\n\nLibUV Jobs for Nvim in Lua.\n\nThe object of the plugin is to provide a compatible interface to `jobstart` and associated `job*` commands defined in Neovim in Lua, without having to move back and forth between Lua \u0026 VimL.\n\n\n## Example\n\n(More details to be added later)\n\nAn example of a plugin that uses it is: github.com/tjdevries/apyrori.nvim\n\n```lua\n\n-- Config not shown.\nlocal config = {}\n\nlocal on_read = function(err, data)\n    if err then\n      vim.api.nvim_err_writeln(\"APYRORI ERROR: \" .. vim.inspect(err))\n      return\n    end\n\n    if data == nil then\n      return\n    end\n\n    for _, line in ipairs(vim.fn.split(data, \"\\n\")) do\n      table.insert(results, line)\n    end\nend\n\nlocal grepper = luvjob:new({\n    command = config.command,\n    args = config.args(text),\n    cwd = directory,\n    on_stdout = on_read,\n    on_stderr = on_read,\n    on_exit = function(...)\n      config.parser(results, counts)\n    end,\n})\n\ngrepper:start()\ngrepper:wait()\n\n```\n\n\n## Acknowledgements\n\nShoutout to https://github.com/TravonteD/luajob/ for giving me the idea and some of the outline of the code, but I ended up going slightly different routes than that.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftjdevries%2Fluvjob.nvim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftjdevries%2Fluvjob.nvim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftjdevries%2Fluvjob.nvim/lists"}