{"id":16370725,"url":"https://github.com/integralist/bash-headers","last_synced_at":"2025-10-26T07:32:02.190Z","repository":{"id":140160449,"uuid":"83884838","full_name":"Integralist/Bash-Headers","owner":"Integralist","description":"A CLI HTTP Headers Filtering Tool (written in Bash)","archived":false,"fork":false,"pushed_at":"2017-04-07T13:54:31.000Z","size":4,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-07T17:21:14.568Z","etag":null,"topics":["bash","bash-script","bashrc","cli","cli-toolkit","http","http-client","http-header","http-response","response","tool"],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/Integralist.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}},"created_at":"2017-03-04T10:16:31.000Z","updated_at":"2022-08-24T04:23:04.000Z","dependencies_parsed_at":"2023-05-16T12:16:20.354Z","dependency_job_id":null,"html_url":"https://github.com/Integralist/Bash-Headers","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Integralist/Bash-Headers","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Integralist%2FBash-Headers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Integralist%2FBash-Headers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Integralist%2FBash-Headers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Integralist%2FBash-Headers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Integralist","download_url":"https://codeload.github.com/Integralist/Bash-Headers/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Integralist%2FBash-Headers/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281074244,"owners_count":26439422,"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-10-26T02:00:06.575Z","response_time":61,"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":["bash","bash-script","bashrc","cli","cli-toolkit","http","http-client","http-header","http-response","response","tool"],"created_at":"2024-10-11T03:05:48.987Z","updated_at":"2025-10-26T07:32:01.902Z","avatar_url":"https://github.com/Integralist.png","language":"Shell","readme":"# Bash Headers\n\nA CLI HTTP Headers Filtering Tool (written in Bash)\n\n\u003e Note: before this I had built a Go version called \"[carbon](https://github.com/Integralist/carbon)\"\n\n## Install\n\nEither source this script within your `.bashrc` or copy/paste it directly\n\n## Usage\n\nSet endpoint and filter out specific HTTP response headers:\n\n```bash\n$ headers http://www.integralist.co.uk/ 'x-cache|x-timer'\n\nHTTP/1.1 200 OK\n\nX-Cache-Hits: 1\nX-Cache: HIT\nX-Timer: S1488622963.657342,VS0,VE0\n```\n\nSet endpoint but default to showing all the available HTTP response headers (sorted alphabetically):\n\n```bash\n$ headers http://www.integralist.co.uk/\n\nHTTP/1.1 200 OK\n\nAccess-Control-Allow-Origin: *\nAge: 9\nCache-Control: max-age=600\nConnection: keep-alive\nContent-Length: 8165\nContent-Type: text/html; charset=utf-8\nDate: Sat, 04 Mar 2017 10:21:37 GMT\nExpires: Sat, 04 Mar 2017 10:31:28 GMT\nFastly-Debug-Digest: 8e24d54087128488953c21c63c67485d543224e740f857d4e799563fb18db6fa\nFastly-Debug-Path: (D cache-lcy1120-LCY 1488622897) (F cache-lcy1137-LCY 1488622888)\nFastly-Debug-TTL: (H cache-lcy1120-LCY - - 9)\nHTTP/1.1 200 OK\nLast-Modified: Fri, 03 Mar 2017 08:33:36 GMT\nServer: GitHub.com\nSurrogate-Key: www_integralist_co_uk\nVary: Accept-Encoding\nVia: 1.1 varnish\nX-Cache-Hits: 1\nX-Cache: HIT\nX-Fastly-Request-ID: f44a92925b0203579bb51431f431ad056177a6d8\nX-GitHub-Request-Id: 6564:04D4:2D3D0E:3D7C1C:58BA9525\nX-Served-By: cache-lcy1120-LCY\nX-Timer: S1488622897.811340,VS0,VE0\n```\n\nNo parameters will display general usage examples:\n\n```bash\n$ headers\n\n        Examples:\n                headers https://www.buzzfeed.com/?country=us 'x-cache|x-timer|device' '-H User-Agent:iphone'\n                headers https://www.buzzfeed.com/?country=us '' '-H User-Agent:iphone -H X-Foo:bar'\n\n        Help:   headers -h\n                headers -help\n```\n\nHelp flag (`-h` or `-help`):\n\n```bash\n$ headers -h\n\n        1st param: URL\n        2nd param: regex\n        3rd param: http request header\n\n        if you have no need for a regex\n        but need a http header\n        then just use an empty string ''\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fintegralist%2Fbash-headers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fintegralist%2Fbash-headers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fintegralist%2Fbash-headers/lists"}