{"repo":"naseridev/magnet","free":true,"listed":false,"github":"https://github.com/naseridev/magnet","clone":"git clone https://github.com/naseridev/magnet.git","description":"Pull entire GitHub accounts to disk in one command","language":"Rust","stars":15,"topics":["github-api","rust","web-scraping"],"license":"GPL-3.0","category":"scrapers-browser-automation","readme_excerpt":"Magnet Pull entire GitHub accounts to disk in one command. Magnet lists an account's public repositories, or searches GitHub for them, filters the results, and downloads the matches in parallel as source archives extracted into one directory per repository. It is a snapshot tool, not a mirror: it retrieves the current contents of each default branch, without git history. This makes it fast and inexpensive for backups, bulk code search, compliance sweeps, and offline analysis, but not suitable if commits, branches, or tags are required. Running it again fetches only what has changed. Installation Requires Rust 1.88 or newer (edition 2024), a C compiler, and cmake, which the bundled TLS stack needs at build time. The resulting binary has no runtime TLS dependency. The compiled binary is located at target/release/magnet. Authentication Anonymous access to the GitHub API is limited to 60 requests per hour, which is sufficient to list roughly 6000 repositories. A personal access token raises this limit to 5000 requests per hour. No scopes are required for public repositories. The token can also be passed directly with --token, though the environment variable keeps it out of shell history and process listings. Archive downloads are served from github.com rather than through the REST API and do not consume API quota. Only listing and searching count against the limit. Usage Command forms: Options Selection Option Short Description Default --- --- --- --- --search TEXT Search GitHub ","default_branch":null,"files":null,"tree":[],"storefront":"/r/naseridev","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/naseridev/magnet/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}