{"id":15431111,"url":"https://github.com/mrusme/cexec","last_synced_at":"2025-04-19T17:10:30.133Z","repository":{"id":61627109,"uuid":"486759713","full_name":"mrusme/cexec","owner":"mrusme","description":"Execute any command, cache its output and get cached output on subsequent execution","archived":false,"fork":false,"pushed_at":"2024-03-30T18:36:25.000Z","size":29,"stargazers_count":17,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-18T06:35:52.946Z","etag":null,"topics":["cache","cached","caching","command","command-line","command-line-tool","exec","execution","timeout"],"latest_commit_sha":null,"homepage":"https://xn--gckvb8fzb.com","language":"Go","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/mrusme.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,"dei":null,"publiccode":null,"codemeta":null},"funding":{"custom":["https://github.com/mrusme#support"]}},"created_at":"2022-04-28T21:57:37.000Z","updated_at":"2024-10-09T23:19:39.000Z","dependencies_parsed_at":"2024-03-30T19:46:23.973Z","dependency_job_id":null,"html_url":"https://github.com/mrusme/cexec","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrusme%2Fcexec","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrusme%2Fcexec/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrusme%2Fcexec/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrusme%2Fcexec/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mrusme","download_url":"https://codeload.github.com/mrusme/cexec/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":231254756,"owners_count":18348520,"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":["cache","cached","caching","command","command-line","command-line-tool","exec","execution","timeout"],"created_at":"2024-10-01T18:20:34.297Z","updated_at":"2024-12-26T18:52:26.383Z","avatar_url":"https://github.com/mrusme.png","language":"Go","funding_links":["https://github.com/mrusme#support"],"categories":[],"sub_categories":[],"readme":"cexec\n-----\n\n**Cached Exec**\n\n\n`cexec` allows to run commands and cache their output for a specific amount of\ntime, so that re-running the command won't actually run it but instead return\nthe cached output.\n\n`cexec` will use the path specified in `XDG_CACHE_HOME` to store its cache.\nPlease make sure it is exported in your ENV.\n\n\n## Examples\n\nRun a program and cache its output for 60 seconds (default setting):\n\n```sh\ncexec echo Hello World\n```\n\nRun a program and cache its output for 120 seconds:\n\n```sh\ncexec -t 120 echo Hello World\n```\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrusme%2Fcexec","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmrusme%2Fcexec","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrusme%2Fcexec/lists"}