{"id":15032699,"url":"https://github.com/ruby/base64","last_synced_at":"2025-04-08T11:09:37.765Z","repository":{"id":38457965,"uuid":"266083274","full_name":"ruby/base64","owner":"ruby","description":"Support for encoding and decoding binary data using a Base64 representation","archived":false,"fork":false,"pushed_at":"2025-03-31T05:52:24.000Z","size":74,"stargazers_count":23,"open_issues_count":3,"forks_count":22,"subscribers_count":33,"default_branch":"master","last_synced_at":"2025-03-31T15:18:38.071Z","etag":null,"topics":["ruby"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ruby.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","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":"2020-05-22T10:28:50.000Z","updated_at":"2025-03-31T05:52:29.000Z","dependencies_parsed_at":"2024-05-05T18:25:41.923Z","dependency_job_id":"ec8ba88f-3350-4c91-a07a-a6cfcd001540","html_url":"https://github.com/ruby/base64","commit_stats":{"total_commits":57,"total_committers":20,"mean_commits":2.85,"dds":0.6491228070175439,"last_synced_commit":"e30df92f955d2c1262cb615fd6286e29f1faba0b"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruby%2Fbase64","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruby%2Fbase64/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruby%2Fbase64/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruby%2Fbase64/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ruby","download_url":"https://codeload.github.com/ruby/base64/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246620220,"owners_count":20806722,"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","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":["ruby"],"created_at":"2024-09-24T20:19:10.115Z","updated_at":"2025-04-01T10:06:56.007Z","avatar_url":"https://github.com/ruby.png","language":"Ruby","readme":"# Base64\n\nThe Base64 module provides for the encoding (`#encode64`, `#strict_encode64`,\n`#urlsafe_encode64`) and decoding (`#decode64`, `#strict_decode64`,\n`#urlsafe_decode64`) of binary data using a Base64 representation.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'base64'\n```\n\nAnd then execute:\n\n    $ bundle install\n\nOr install it yourself as:\n\n    $ gem install base64\n\n## Usage\n\nA simple encoding and decoding.\n\n```ruby\nrequire \"base64\"\n\nenc   = Base64.encode64('Send reinforcements')\n                    # -\u003e \"U2VuZCByZWluZm9yY2VtZW50cw==\\n\"\nplain = Base64.decode64(enc)\n                    # -\u003e \"Send reinforcements\"\n```\n\nThe purpose of using base64 to encode data is that it translates any\nbinary data into purely printable characters.\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.\n\nTo install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/ruby/base64.\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fruby%2Fbase64","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fruby%2Fbase64","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fruby%2Fbase64/lists"}