{"id":16985071,"url":"https://github.com/hejsil/delay-line","last_synced_at":"2026-03-03T13:30:19.280Z","repository":{"id":43416947,"uuid":"304076930","full_name":"Hejsil/delay-line","owner":"Hejsil","description":"Delays lines comming from stdin","archived":true,"fork":false,"pushed_at":"2024-01-02T06:57:32.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-26T19:27:18.582Z","etag":null,"topics":["cli","command-line-tool","zig"],"latest_commit_sha":null,"homepage":"","language":"Zig","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/Hejsil.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":["Hejsil"]}},"created_at":"2020-10-14T16:42:52.000Z","updated_at":"2024-09-13T12:23:53.000Z","dependencies_parsed_at":"2024-01-02T08:02:15.597Z","dependency_job_id":"2df26632-ca65-47ac-9183-ef3c46aa011d","html_url":"https://github.com/Hejsil/delay-line","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/Hejsil%2Fdelay-line","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hejsil%2Fdelay-line/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hejsil%2Fdelay-line/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hejsil%2Fdelay-line/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Hejsil","download_url":"https://codeload.github.com/Hejsil/delay-line/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239882373,"owners_count":19712733,"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":["cli","command-line-tool","zig"],"created_at":"2024-10-14T02:36:48.666Z","updated_at":"2026-03-03T13:30:19.211Z","avatar_url":"https://github.com/Hejsil.png","language":"Zig","funding_links":["https://github.com/sponsors/Hejsil"],"categories":[],"sub_categories":[],"readme":"# delay-line\n\nA command line tool that prints all lines from stdin to stdout with\na fixed delay between each line.\n\n## Examples\n\nPrint the date+time every second:\n\n```sh\n# Notice, this pipeline only ever launches 5 processes. It is also a\n# a lot cleaner than the alternative \"run date every second in a loop\".\n# Clean and efficient!\nseq \"$(date +%s)\" 1 inf | sed 's/^/@/' | date -f - | delay-line 1s\n\n# You can get more efficient by raising the delay.\nseq \"$(date +%s)\" 10 inf | sed 's/^/@/' | date -f - | delay-line 10s\n\n# This is useful for making your own status bar script for bars\n# such as lemonbar.\n```\n\n## Build\n\nExternal dependencies:\n* [Zig `0.6.0`](https://ziglang.org/download/)\n\n\nAfter getting the dependencies just clone the repo and its submodules and run:\n```\nzig build\n```\n\nAll build artifacts will end up in `zig-cache/bin`.\nSee `zig build --help` for build options.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhejsil%2Fdelay-line","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhejsil%2Fdelay-line","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhejsil%2Fdelay-line/lists"}