{"id":23408505,"url":"https://github.com/bradsec/gomine","last_synced_at":"2025-04-09T01:32:48.408Z","repository":{"id":269128544,"uuid":"906515833","full_name":"bradsec/gomine","owner":"bradsec","description":"A Go CLI tool to quickly crawl and mine (download) specific file types from websites.","archived":false,"fork":false,"pushed_at":"2024-12-21T05:50:11.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-14T19:51:52.931Z","etag":null,"topics":["cli","crawler","golang","terminal-based"],"latest_commit_sha":null,"homepage":"","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/bradsec.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":"2024-12-21T05:46:58.000Z","updated_at":"2024-12-21T06:29:36.000Z","dependencies_parsed_at":"2024-12-21T06:27:33.575Z","dependency_job_id":"34d05e8b-9a5b-41a6-a6ed-fd26dbdcbe9d","html_url":"https://github.com/bradsec/gomine","commit_stats":null,"previous_names":["bradsec/gomine"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bradsec%2Fgomine","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bradsec%2Fgomine/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bradsec%2Fgomine/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bradsec%2Fgomine/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bradsec","download_url":"https://codeload.github.com/bradsec/gomine/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247956821,"owners_count":21024610,"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","crawler","golang","terminal-based"],"created_at":"2024-12-22T15:15:12.155Z","updated_at":"2025-04-09T01:32:48.388Z","avatar_url":"https://github.com/bradsec.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GoMine\n\nA Go CLI tool to quickly crawl and mine (download) specific file types from websites.\n\n## Limitations\n\n- Will not work for some dynamic content sites.\n- Will not work for sites with reCAPTCHA/CAPTCHA type protection.\n\n## Installation\n\n### Build from source (Go required)\nTo install / build redgrab binary from source, you need to have Go installed on your system (https://go.dev/doc/install). Once you have Go installed, you can either clone and run from source or download and install with the following command:\n\n```terminal\ngo install github.com/bradsec/gomine@latest\n```\n\n## Basic Usage \n\n```terminal\n# With URL only will default to looking for document files types\ngomine --url https://thisurlexamplesite.com\n\n# Specify individual file types\ngomine --url https://thisurlexamplesite.com --filetypes \".pdf,.jpg\"\n```\n\n### Predefined File Type Groups\n\nUse with flag --filetypes  \nExample using more than one group `--filetypes \"images,documents\"`\n\n## Full Usage options\n\n```terminal\n  -depth int\n    \tThe maximum depth to follow links (default 10)\n  -external\n    \tEnable or disable downloading files from external domains (default true)\n  -filetext string\n    \tThe text to be present in the filename (optional)\n  -filetypes string\n    \tComma-separated list of file extensions to download (default \"documents\")\n  -timeout int\n    \tThe maximum time the crawling will run. (default 10)\n  -url string\n    \tThe target URL to search including http:// or https://\n  -useragent string\n    \tThe User-Agent string to use (default \"random\")\n```\n\n## Other Notes\n\n### Logs\nA list of the crawled/visited URLs will be stored a text file `crawled.txt` in the `logs` sub-directory of the target URL directory.\n\n### External File Links\n\nIf files are from an external domain/url there will be sub-director of the external domain/url within the main target URL directory containing the files from that site. You can disable downloading from external links using the `--external false` flag.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbradsec%2Fgomine","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbradsec%2Fgomine","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbradsec%2Fgomine/lists"}