{"id":18151303,"url":"https://github.com/msantos/prv","last_synced_at":"2025-07-26T20:37:45.097Z","repository":{"id":136621448,"uuid":"124541535","full_name":"msantos/prv","owner":"msantos","description":"pressure relief valve for Unix process pipelines","archived":false,"fork":false,"pushed_at":"2025-03-01T13:02:17.000Z","size":32,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-06T23:32:37.289Z","etag":null,"topics":["capsicum","flowcontrol","pledge","seccomp","setrlimit"],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/msantos.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":"2018-03-09T13:04:36.000Z","updated_at":"2025-03-01T13:02:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"6d87850f-5167-4284-89aa-4f606517a3cd","html_url":"https://github.com/msantos/prv","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/msantos/prv","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msantos%2Fprv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msantos%2Fprv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msantos%2Fprv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msantos%2Fprv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/msantos","download_url":"https://codeload.github.com/msantos/prv/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msantos%2Fprv/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267229101,"owners_count":24056376,"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","status":"online","status_checked_at":"2025-07-26T02:00:08.937Z","response_time":62,"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":["capsicum","flowcontrol","pledge","seccomp","setrlimit"],"created_at":"2024-11-02T01:07:17.939Z","updated_at":"2025-07-26T20:37:45.054Z","avatar_url":"https://github.com/msantos.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SYNOPSIS\n\nprv *option*\n\n# DESCRIPTION\n\nprv: pressure relief valve for Unix process pipelines\n\nprv flow controls standard input by sampling lines in a time window.\n\n# EXAMPLES\n\n```\nwhile :; do date; done | prv -l 1 -w 10\nFri Aug 26 00:05:45 EDT 2022\nFri Aug 26 00:05:54 EDT 2022\nFri Aug 26 00:06:04 EDT 2022\n^C\n```\n\n# BUILD\n\n```\nmake\n\n# build a static executable using musl\n## sudo apt install musl-dev musl-tools\n./musl-make clean all\n\n# select a different method for process restriction\nRESTRICT_PROCESS=null\n\n# musl: enabling seccomp process restriction might require downloading a\n# copy of linux kernel headers\nMUSL_INCLUDE=/tmp\n\ncd $MUSL_INCLUDE\ngit clone https://github.com/sabotage-linux/kernel-headers.git\n\n./musl-make\n```\n\n# OPTIONS\n\n-l, --limit *number*\n: message rate limit (default: 0 (no limit))\n\n-w, --window *seconds*\n: message rate window (default: 1 second)\n\n-W, --write-error *exit|drop|block*\n: behaviour if write buffer is full\n\n-v, --verbose\n: verbose mode\n\n-h, --help\n:  help\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmsantos%2Fprv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmsantos%2Fprv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmsantos%2Fprv/lists"}