{"id":30873450,"url":"https://github.com/datawraith/ascii85gem","last_synced_at":"2026-02-28T03:36:45.184Z","repository":{"id":511541,"uuid":"139286","full_name":"DataWraith/ascii85gem","owner":"DataWraith","description":"A simple gem that provides methods for encoding/decoding Adobe’s binary-to-text encoding of the same name. ","archived":false,"fork":false,"pushed_at":"2025-01-01T10:00:03.000Z","size":200,"stargazers_count":19,"open_issues_count":0,"forks_count":9,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-09-02T06:32:33.512Z","etag":null,"topics":["ascii85","gem","ruby"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/DataWraith.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2009-02-27T19:20:41.000Z","updated_at":"2025-01-01T10:00:07.000Z","dependencies_parsed_at":"2024-05-09T09:45:25.491Z","dependency_job_id":"9d74fd19-baeb-4fef-b193-19d658217c37","html_url":"https://github.com/DataWraith/ascii85gem","commit_stats":{"total_commits":224,"total_committers":9,"mean_commits":24.88888888888889,"dds":0.40625,"last_synced_commit":"f9929ce4431d6ad8625593a12ab09bc637aa9822"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/DataWraith/ascii85gem","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DataWraith%2Fascii85gem","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DataWraith%2Fascii85gem/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DataWraith%2Fascii85gem/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DataWraith%2Fascii85gem/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DataWraith","download_url":"https://codeload.github.com/DataWraith/ascii85gem/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DataWraith%2Fascii85gem/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273403949,"owners_count":25099299,"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-03T02:00:09.631Z","response_time":76,"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":["ascii85","gem","ruby"],"created_at":"2025-09-07T23:05:06.991Z","updated_at":"2026-02-28T03:36:45.131Z","avatar_url":"https://github.com/DataWraith.png","language":"Ruby","readme":"**Status**: This project is feature-complete. With the exception of fixes to reported bugs, no further development will take place.\n\n# Ascii85\n\n## Description\n\nAscii85 is a Ruby gem that provides methods for encoding/decoding Adobe's\nbinary-to-text encoding of the same name.\n\nSee the Adobe PostScript Language Reference ([archived version][PLRM]) page 131\nand [Wikipedia](https://en.wikipedia.org/wiki/Ascii85) for more information\nabout the format.\n\n[PLRM]: https://web.archive.org/web/20161222092741/https://www.adobe.com/products/postscript/pdfs/PLRM.pdf\n\n\n## Installation\n\n`$ gem install Ascii85`\n\n\u003e [!IMPORTANT]\n\u003e Note that the gem name is capitalized.\n\n\n## Usage\n\n```ruby\nrequire 'ascii85'\n\nAscii85.encode(\"Ruby\")\n=\u003e \"\u003c~;KZGo~\u003e\"\n\nAscii85.decode(\"\u003c~;KZGo~\u003e\")\n=\u003e \"Ruby\"\n\nAscii85.extract(\"Foo\u003c~;KZGo~\u003eBar\")\n=\u003e \";KZGo\"\n\nAscii85.decode_raw(\";KZGo\")\n=\u003e \"Ruby\"\n```\n\nIn addition, `Ascii85.encode` can take a second parameter that specifies the\nlength of the returned lines. The default is 80; use `false` for unlimited.\n\n`Ascii85.decode` expects the input to be enclosed in `\u003c~` and `~\u003e` — it\nignores everything outside of these, while `Ascii85.decode_raw` assumes that\nthe entire String passed in is encoded in Ascii85. If you need to, you can use\n`Ascii85.extract` to find and extract the first substring of the input that is\nenclosed by the `\u003c~` and `~\u003e` delimiters.\n\nThe output of `Ascii85.decode` and `Ascii85.decode_raw` will be a String that\nhas the `ASCII-8BIT` encoding, so you may have to use `String#force_encoding` to\nconvert it to the desired encoding.\n\nFor further options, see the [Documentation](https://www.rubydoc.info/gems/Ascii85/).\n\n\n## Command-line utility\n\nThis gem includes `ascii85`, a command-line utility modeled after `base64` from\nthe GNU coreutils. It can be used to encode/decode Ascii85 directly from the\ncommand-line:\n\n```\nUsage: ascii85 [OPTIONS] [FILE]\nEncodes or decodes FILE or STDIN using Ascii85 and writes to STDOUT.\n    -w, --wrap COLUMN                Wrap lines at COLUMN. Default is 80, use 0 for no wrapping\n    -d, --decode                     Decode the input\n    -h, --help                       Display this help and exit\n    -V, --version                    Output version information\n```\n\n\n## License\n\nAscii85 is distributed under the MIT License. See the accompanying LICENSE file\nfor details.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatawraith%2Fascii85gem","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdatawraith%2Fascii85gem","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatawraith%2Fascii85gem/lists"}