{"id":16110973,"url":"https://github.com/nikiforovall/copy-paster","last_synced_at":"2025-09-13T06:45:25.063Z","repository":{"id":122364210,"uuid":"439954103","full_name":"NikiforovAll/copy-paster","owner":"NikiforovAll","description":"Copy-paste-driven development made easy.","archived":false,"fork":false,"pushed_at":"2021-12-20T11:55:44.000Z","size":22,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-08-13T02:32:22.872Z","etag":null,"topics":["copy-paste","dotnet-tool","productivity"],"latest_commit_sha":null,"homepage":"https://nikiforovall.github.io/dotnet/2021/12/20/dotnet-global-tool-copy-paster.html","language":"C#","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/NikiforovAll.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":"2021-12-19T19:48:50.000Z","updated_at":"2023-12-17T03:08:49.000Z","dependencies_parsed_at":"2023-10-20T22:45:08.892Z","dependency_job_id":null,"html_url":"https://github.com/NikiforovAll/copy-paster","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/NikiforovAll/copy-paster","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NikiforovAll%2Fcopy-paster","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NikiforovAll%2Fcopy-paster/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NikiforovAll%2Fcopy-paster/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NikiforovAll%2Fcopy-paster/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NikiforovAll","download_url":"https://codeload.github.com/NikiforovAll/copy-paster/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NikiforovAll%2Fcopy-paster/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274929897,"owners_count":25375712,"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-09-13T02:00:10.085Z","response_time":70,"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":["copy-paste","dotnet-tool","productivity"],"created_at":"2024-10-09T19:39:58.848Z","updated_at":"2025-09-13T06:45:25.032Z","avatar_url":"https://github.com/NikiforovAll.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NikiforovAll.CopyPaster\n\n[![Build](https://github.com/NikiforovAll/copy-paster/actions/workflows/build.yml/badge.svg)](https://github.com/NikiforovAll/copy-paster/actions/workflows/build.yml)\n[![NuGet](https://img.shields.io/nuget/dt/NikiforovAll.CopyPaster.svg)](https://nuget.org/packages/NikiforovAll.CopyPaster)\n[![NuGet](https://img.shields.io/nuget/v/NikiforovAll.CopyPaster.svg)](https://www.nuget.org/packages/NikiforovAll.CopyPaster/)\n[![NuGet](https://img.shields.io/nuget/vpre/NikiforovAll.CopyPaster.svg)](https://www.nuget.org/packages/NikiforovAll.CopyPaster/)\n[![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/nikiforovall/copy-paster/blob/main/LICENSE)\n[![contributionswelcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat)](https://github.com/nikiforovall/copy-paster)\n\nDownloads code and saves it to local file system. Copy-paste-driven development made easy.\n\nSame as `wget https://URL/ --output-document=FILE_NAME`, but you don't have to pass a link to raw version. It rewrites \"https://github.com\" to \"https://raw.githubusercontent.com/\" automatically for you.\n\n## Install\n\n`dotnet tool install --global NikiforovAll.CopyPaster`\n\n## Run\n\n```bash\ncopa https://github.com/NikiforovAll/copy-paster/blob/main/README.md\n# creates README.md in current folder\n```\n\n## More details\n\n```bash\n$ dotnet run -- -h\nDescription:\n  Copies file by url\n\nUsage:\n  NikiforovAll.CopyPaster \u003curl\u003e [options]\n\nArguments:\n  \u003curl\u003e  url\n\nOptions:\n  -o, --output \u003coutput\u003e  Output file path\n  --dry-run              Dry run\n  --raw                  Raw. No panel\n  --version              Show version information\n  -?, -h, --help         Show help and usage information\n```\n\n## TODO\n\n* [X] rewrite \"github.com\" -\u003e https://raw.githubusercontent.com/\n* [] consider: format code according to project styles (namespace refactoring, formatting)\n* [] handle folder download\n* [] port to npx\n* [] cross-platform path handling\n* [] ⚠ currently, it overrides files stored locally, prompt user for final decision\n\n## Credits\n\nIcon: \u003chttps://twitter.com/nicodotgay/statuses/1458891554026930181\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnikiforovall%2Fcopy-paster","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnikiforovall%2Fcopy-paster","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnikiforovall%2Fcopy-paster/lists"}