{"id":21048013,"url":"https://github.com/yc/safe_ascii","last_synced_at":"2026-02-16T21:33:29.215Z","repository":{"id":38990351,"uuid":"383126687","full_name":"YC/safe_ascii","owner":"YC","description":"A CLI tool for sanitising input to printable ASCII characters.","archived":false,"fork":false,"pushed_at":"2026-01-27T10:10:51.000Z","size":132,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-27T22:10:11.912Z","etag":null,"topics":["ascii","cli"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/YC.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-07-05T12:03:16.000Z","updated_at":"2026-01-27T10:10:49.000Z","dependencies_parsed_at":"2023-12-01T23:26:39.189Z","dependency_job_id":"1c581e30-083d-4539-8b2c-f9315686c341","html_url":"https://github.com/YC/safe_ascii","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/YC/safe_ascii","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YC%2Fsafe_ascii","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YC%2Fsafe_ascii/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YC%2Fsafe_ascii/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YC%2Fsafe_ascii/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/YC","download_url":"https://codeload.github.com/YC/safe_ascii/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YC%2Fsafe_ascii/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29519413,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-16T18:37:19.720Z","status":"ssl_error","status_checked_at":"2026-02-16T18:36:46.920Z","response_time":115,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["ascii","cli"],"created_at":"2024-11-19T14:41:36.026Z","updated_at":"2026-02-16T21:33:29.197Z","avatar_url":"https://github.com/YC.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# safe_ascii\nA tool for sanitising input to printable ASCII characters.\n\nUsed for marking programming assignments, where the output may contain\nunexpected binary characters which taint the test execution output.\n\n## Usage\n```\nUsage: safe-ascii [OPTIONS] [files]...\n\nArguments:\n  [files]...\n          A list of files to process.\n          Use '-' for stdin.\n\nOptions:\n  -m, --mode \u003cmnemonic|escape|suppress\u003e\n          Mode of character conversion/suppression.\n\n          [default: mnemonic]\n\n          Possible values:\n          - mnemonic: Abbreviation, e.g. (NUL), (SP), (NL)\n          - escape:   Hex sequence, e.g. \\x00, \\x20, \\x0a\n          - suppress: Suppress non-printable characters\n\n  -t, --truncate \u003ctruncate-length\u003e\n          Length (bytes) to truncate at, -1 represents no truncation.\n\n          [default: -1]\n\n  -x, --exclude \u003cexclude-characters\u003e\n          Comma-delimited decimal values of characters to print.\n          (9 is HT (tab), 10 is NL (newline), 13 is CR (carriage return), 32 is SP (space))\n\n          [default: 10,32]\n```\n\n### Example\n\n```\n$ safe-ascii -x 10 Cargo.toml\n[package]\nname(SP)=(SP)\"safe-ascii\"\nversion(SP)=(SP)\"1.0.0\"\n...\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyc%2Fsafe_ascii","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyc%2Fsafe_ascii","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyc%2Fsafe_ascii/lists"}