{"id":18952436,"url":"https://github.com/devanshbatham/quaithe","last_synced_at":"2025-04-16T01:33:58.189Z","repository":{"id":184604888,"uuid":"672183526","full_name":"devanshbatham/Quaithe","owner":"devanshbatham","description":"Quaithe empowers you to execute multiple commands in parallel for blazing-fast performance.","archived":false,"fork":false,"pushed_at":"2023-08-20T18:35:37.000Z","size":108,"stargazers_count":28,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-29T05:12:19.094Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","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/devanshbatham.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":"2023-07-29T07:41:30.000Z","updated_at":"2025-02-05T10:58:03.000Z","dependencies_parsed_at":"2024-11-08T13:38:44.837Z","dependency_job_id":"85fab117-ba6a-48a3-92c8-dd3d312c51dd","html_url":"https://github.com/devanshbatham/Quaithe","commit_stats":null,"previous_names":["devanshbatham/shadowclone"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devanshbatham%2FQuaithe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devanshbatham%2FQuaithe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devanshbatham%2FQuaithe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devanshbatham%2FQuaithe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devanshbatham","download_url":"https://codeload.github.com/devanshbatham/Quaithe/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249182565,"owners_count":21226090,"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":[],"created_at":"2024-11-08T13:33:25.412Z","updated_at":"2025-04-16T01:33:57.935Z","avatar_url":"https://github.com/devanshbatham.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch2 align=\"center\"\u003eQuaithe ⚡️\u003c/h2\u003e\n\n\u003cp align=\"center\"\u003eQuaithe empowers you to execute multiple commands in parallel for blazing-fast performance.\u003c/p\u003e\n\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"#installation\"\u003e🏗️ Installation\u003c/a\u003e\n  \u003ca href=\"#use-cases\"\u003e📚 Use Cases\u003c/a\u003e\n  \u003ca href=\"#usage\"\u003e⛏️ Usage\u003c/a\u003e\n  \u003ca href=\"#how-it-works\"\u003e🔧 How it works?\u003c/a\u003e\n  \u003cbr\u003e\n\u003c/p\u003e\n\n\n\n## Installation\n\n```sh\ngit clone https://github.com/devanshbatham/Quaithe\ncd Quaithe\nchmod +x setup.sh\n./setup.sh\n```\n\n\n## Use Cases\n\nSuppose you have a list of domain names in a file called `domains.txt`, and you want to run the `subfinder` tool on each domain to find subdomains. However, let's assume `subfinder` is a single-threaded tool, which means that running it on each domain one at a time can be slow and inefficient. You can use the Quaithe tool to execute `subfinder` on multiple domains in parallel, which can speed up the process significantly.\n\nHere's an example command that demonstrates how to use Quaithe to run `subfinder` on each domain in parallel:\n\n```sh\nxargs -I {} -a domains.txt echo \"subfinder -d {} -o {}.txt\" | quaithe -workers 30 -silent\n```\n\nIn this command, `xargs` reads each domain name from the `domains.txt` file and passes it to the `echo` command as an argument. The `echo` command then outputs a command string that runs `subfinder` on the domain and saves the output to a file with the same name as the domain.\n\nThe output of `echo` is then piped to `quaithe`, which runs each command in parallel with a maximum of 30 worker processes (`-workers 30`).\n\nBy using Quaithe to run `subfinder` on each domain in parallel, you can significantly speed up the process of finding subdomains and make better use of your system's resources.\n\n\n## Usage\n\nThe Quaithe tool takes a list of commands to execute on standard input (stdin). Each command should be on a separate line.\n\n\n```sh\ncat commands.txt | quaithe -workers 10 -silent\n```\n\nIn this command, `cat` reads a list of commands from a file called `commands.txt` and passes them to Quaithe on standard input. Quaithe runs each command in parallel with a maximum of 10 worker processes (`-workers 10`). The `-silent` flag tells Quaithe not to print the output of each command to the console.\n\nNote that each command should be a complete shell command, including any arguments or options.\n\n\n## How it works?\n\nQuaithe utilizes the concurrent.futures module in Python to execute multiple commands in parallel. It creates a thread pool with a configurable number of worker processes and submits each command to the thread pool as a separate task. The thread pool manages the execution of each task, and the progress bar displays the status of each task as it executes.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevanshbatham%2Fquaithe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevanshbatham%2Fquaithe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevanshbatham%2Fquaithe/lists"}