{"id":25911434,"url":"https://github.com/copyleftdev/shred","last_synced_at":"2026-04-17T14:34:53.891Z","repository":{"id":237590906,"uuid":"794842681","full_name":"copyleftdev/shred","owner":"copyleftdev","description":"multi platform shred alternative","archived":false,"fork":false,"pushed_at":"2024-05-02T04:24:54.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-10T05:40:23.037Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/copyleftdev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-05-02T04:18:34.000Z","updated_at":"2024-05-02T04:24:57.000Z","dependencies_parsed_at":null,"dependency_job_id":"a825bfd2-97f4-4e9e-b73f-3366ce6b5e35","html_url":"https://github.com/copyleftdev/shred","commit_stats":null,"previous_names":["copyleftdev/shred"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/copyleftdev/shred","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/copyleftdev%2Fshred","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/copyleftdev%2Fshred/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/copyleftdev%2Fshred/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/copyleftdev%2Fshred/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/copyleftdev","download_url":"https://codeload.github.com/copyleftdev/shred/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/copyleftdev%2Fshred/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31933405,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-17T12:37:54.787Z","status":"ssl_error","status_checked_at":"2026-04-17T12:37:25.095Z","response_time":62,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2025-03-03T09:17:30.479Z","updated_at":"2026-04-17T14:34:53.886Z","avatar_url":"https://github.com/copyleftdev.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GoShred\n\nGoShred is a secure file deletion tool written in Go. It securely overwrites files with random data multiple times before deleting them, ensuring that the files are irrecoverable. This tool is inspired by the Unix/Linux `shred` command but built using Go's powerful standard libraries.\n\n## Installation\n\nTo install GoShred, you need to have Go installed on your system. If you don't have Go installed, you can download and install it from [the official Go website](https://golang.org/dl/).\n\nOnce Go is installed, follow these steps to install GoShred:\n\n1. Clone this repository or download the source code:\n\n    ```bash\n    git clone https://yourrepository.com/goshred.git\n    cd goshred\n    ```\n\n2. Build the executable:\n\n    ```bash\n    go build -o shred\n    ```\n\n3. Optionally, move the executable to a directory in your PATH to make it globally accessible:\n\n    ```bash\n    sudo mv shred /usr/local/bin/\n    ```\n\n## Usage\n\nTo use GoShred, simply run the executable from the command line with the filename you wish to securely delete:\n\n```bash\nshred -passes=3 filename.txt\n```\n\n### Options\n\n- `-passes`: Specifies the number of times the file should be overwritten with random data. The default is 3 passes.\n\n### Example\n\nSecurely delete a file named `example.txt` with 5 passes:\n\n```bash\nshred -passes=5 example.txt\n```\n\n## How It Works\n\nGoShred opens the target file and determines its size. It then generates a buffer of random bytes, the size of the file, and writes this buffer to the file, directly overwriting the existing data. This process is repeated for the number of passes specified. After the final pass, the file is deleted from the filesystem.\n\n## Limitations\n\n- GoShred is designed for use with conventional magnetic hard drives. It may be less effective on SSDs or other types of storage devices due to their different methods of handling data deletion and storage.\n- The tool does not currently handle errors related to file system permissions or locked files.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcopyleftdev%2Fshred","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcopyleftdev%2Fshred","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcopyleftdev%2Fshred/lists"}