{"id":13762797,"url":"https://github.com/hahwul/gee","last_synced_at":"2025-04-06T23:17:29.280Z","repository":{"id":45500903,"uuid":"337082297","full_name":"hahwul/gee","owner":"hahwul","description":"🏵 Gee is tool of stdin to each files and stdout. It is similar to the tee command, but there are more functions for convenience. In addition, it was written as go","archived":false,"fork":false,"pushed_at":"2024-11-28T07:36:01.000Z","size":755,"stargazers_count":80,"open_issues_count":3,"forks_count":14,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-03-30T21:11:17.717Z","etag":null,"topics":["bugbounty-tool","command-line-tool","golang","pipelines","security-tools","tee","utility"],"latest_commit_sha":null,"homepage":"https://gee.hahwul.com","language":"Go","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/hahwul.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"custom":["https://paypal.me/hahwul","https://www.buymeacoffee.com/hahwul"]}},"created_at":"2021-02-08T13:18:59.000Z","updated_at":"2025-03-28T22:02:56.000Z","dependencies_parsed_at":"2023-11-26T15:04:47.757Z","dependency_job_id":"5ae4e22e-7b57-46fa-b3bb-b49a4a964d77","html_url":"https://github.com/hahwul/gee","commit_stats":{"total_commits":151,"total_committers":4,"mean_commits":37.75,"dds":0.07947019867549665,"last_synced_commit":"e19d5fd66fd24cb8e469c154216430ca2df7624b"},"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hahwul%2Fgee","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hahwul%2Fgee/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hahwul%2Fgee/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hahwul%2Fgee/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hahwul","download_url":"https://codeload.github.com/hahwul/gee/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247563940,"owners_count":20958971,"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":["bugbounty-tool","command-line-tool","golang","pipelines","security-tools","tee","utility"],"created_at":"2024-08-03T14:00:57.648Z","updated_at":"2025-04-06T23:17:29.252Z","avatar_url":"https://github.com/hahwul.png","language":"Go","funding_links":["https://paypal.me/hahwul","https://www.buymeacoffee.com/hahwul"],"categories":["Weapons","Go"],"sub_categories":["Tools"],"readme":"\u003cp align=\"center\"\u003e\n  \u003cbr\u003e\n  \u003cimg src=\"https://user-images.githubusercontent.com/13212227/107406554-e72ae780-6b4b-11eb-8f66-2f7e0d925f78.png\" alt=\"gee\" width=\"160px;\"\u003e\n  \u003cbr\u003e\n  Standard input to each files and stdout. similar to tee, But there's a little bit more and Write in go\n  \u003cbr\u003e\u003cbr\u003e\n  \u003c!--\n  \u003cimg src=\"https://img.shields.io/github/v/release/hahwul/dalfox?style=flat\"\u003e \n  \u003ca href=\"https://snapcraft.io/dalfox\"\u003e\u003cimg alt=\"dalfox\" src=\"https://snapcraft.io/dalfox/badge.svg\" /\u003e\u003c/a\u003e\n  \u003cimg src=\"https://img.shields.io/github/languages/top/hahwul/dalfox?style=flat\"\u003e \n  \u003cimg src=\"https://api.codacy.com/project/badge/Grade/17cac7b8d1e849a688577f2bbdd6ecd0\"\u003e \n  \u003ca href=\"https://goreportcard.com/report/github.com/hahwul/dalfox\"\u003e\u003cimg src=\"https://goreportcard.com/badge/github.com/hahwul/dalfox\"\u003e\u003c/a\u003e \n    --\u003e\n  \u003ca href=\"https://goreportcard.com/report/github.com/hahwul/gee\"\u003e\u003cimg src=\"https://goreportcard.com/badge/github.com/hahwul/gee\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://app.codacy.com/gh/hahwul/gee?utm_source=github.com\u0026utm_medium=referral\u0026utm_content=hahwul/gee\u0026utm_campaign=Badge_Grade\"\u003e\u003cimg src=\"https://api.codacy.com/project/badge/Grade/fac8a4d4755a4fb481432f7ed14db3ca\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://codecov.io/gh/hahwul/gee\"\u003e\u003cimg src=\"https://codecov.io/gh/hahwul/gee/branch/main/graph/badge.svg\"/\u003e\u003c/a\u003e\n  \u003cimg src=\"https://github.com/hahwul/gee/workflows/Build/badge.svg\"\u003e\n  \u003ca href=\"https://twitter.com/intent/follow?screen_name=hahwul\"\u003e\u003cimg src=\"https://img.shields.io/twitter/follow/hahwul?style=flat\u0026logo=twitter\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n## 🔖 Introduction\nGee is tool of stdin to each files and stdout. It is similar to the tee command, but there are more functions for convenience. In addition, it was written as go. which provides output to stdout and files. In this process, it has various processing functions for lines such as replace, prefix, and suffix, so it can be used as a pipeline configuration or as a utility for testing. For more information, see the usage and case of study below!\n\n## 🚀 Installation\n### From source\n```\ngo install -v github.com/hahwul/gee@latest\n```\n\n### With homebrew (only macos)\n```\nbrew tap hahwul/gee\nbrew install gee\n```\n### Download from [release](https://github.com/hahwul/gee/releases) page. (macos,linux,freebsd,windows)\n```\nwget https://github.com/hahwul/gee/releases/download/v1.0.4/gee_1.0.4_linux_amd64.tar.gz\ntar -xvf gee_1.0.4_linux_amd64.tar.gz\ncp ./gee /usr/bin\n```\n\n## ☄️ Usage\n```\n▶ ~/go/bin/gee -h (if you install from source)\n▶ gee -h\n```\n```\nUsage: ./gee [flags] [file1] [file2] ...\n(If you do not specify a file, only stdout is output)\n\nFlags:\n  -append\n        Append mode for files\n  -chunked int\n        Chuked files from line (e.g output / output_1 / output_2)\n  -debug\n        Show debug message!\n  -distribute\n        Distribution to files\n  -find string\n        Find string in line (colorize red)\n  -format string\n        Change output format (json, md-table, html-table) (default \"line\")\n  -grep string\n        Greping with Regular Expression (like grep)\n  -grepv string\n        Inverse greping with Regular Expression (like grep -v)\n  -inject string\n        Inject stdin into the format of the factor value (e.g: -inject='This is %%INJECT%% line!')\n  -prefix string\n        Prefix string\n  -replace string\n        Replace string in line with '-find' option\n  -reverse\n        Reverse string in line\n  -rmnl\n        Remove newline(\\r\\n)\n  -split string\n        Split string within line. (to line , to table, to md-table)\n  -suffix string\n        Suffix string\n  -uncolor\n        Uncolorize stdout\n  -uniq\n        Remove duplicated line\n  -version\n        Version of gee\n  -with-lc\n        With letters count (colorize magenta)\n  -with-line\n        With line number (colorize blue)\n  -with-time\n        With timestamp (colorize green)\n```\n\n### Github action\n```yaml\n- name: Gee env\n  uses: hahwul/gee@v1.1.2-action\n  with:\n    input: this is blue\n    flags: '-prefix \"+prefix+\" -suffix \"+suffix+\"'\n```\n\n## 📚 Case of Study\n### gee with prefix and suffix\n```\n▶ cat urls | gee -prefix \"curl -i -k \" -suffix \" -H 'Auth: abcd'\" curls.sh\n```\n```\ncurl -i -k https://www.hahwul.com/?q=123 -H 'Auth: abcd'\ncurl -i -k http://testphp.vulnweb.com/listproducts.php?cat=asdf\u0026ff=1 -H 'Auth: abcd'\ncurl -i -k https://xss-game.appspot.com/level1/frame  -H 'Auth: abcd'\n```\n### Find and replace\n```\n▶ cat raw.txt | gee -find keep-alive\n▶ cat raw.txt | gee -find keep-alive -replace close\n```\nhttps://twitter.com/hahwul/status/1360495560843689989\n\n### Specify the maximum length of the file and save it in multiple files.\n```\n▶ wc -l http.txt\n2278\n\n▶ cat http.txt | gee -chunked 500 output\n```\nhttps://twitter.com/hahwul/status/1360495565633540097\n\n### Distribute each line sequentially to multiple files.\n```\n▶ wc -l http.txt\n2278\n\n▶ cat http.txt | gee -distribute alice.txt bob.txt charlie.txt\n```\nhttps://twitter.com/hahwul/status/1360495570922704897\n\n## 🌟 Contribute\nContributions are always welcome. Please write/modify the code and send the PR.\u003cbr\u003e \nPlease read [Contribute](/CONTRIBUTING.md) for more information.\n\n## 🌸 Contributors\n![](/CONTRIBUTORS.svg)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhahwul%2Fgee","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhahwul%2Fgee","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhahwul%2Fgee/lists"}