{"id":42334918,"url":"https://github.com/datacite/base32-url","last_synced_at":"2026-01-27T14:15:00.460Z","repository":{"id":62554022,"uuid":"118098440","full_name":"datacite/base32-url","owner":"datacite","description":null,"archived":false,"fork":false,"pushed_at":"2018-02-01T07:08:38.000Z","size":28,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-11T10:25:43.152Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/datacite.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-01-19T08:28:45.000Z","updated_at":"2018-01-19T08:32:21.000Z","dependencies_parsed_at":"2022-11-03T05:00:23.498Z","dependency_job_id":null,"html_url":"https://github.com/datacite/base32-url","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/datacite/base32-url","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datacite%2Fbase32-url","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datacite%2Fbase32-url/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datacite%2Fbase32-url/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datacite%2Fbase32-url/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/datacite","download_url":"https://codeload.github.com/datacite/base32-url/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datacite%2Fbase32-url/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28814572,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-27T12:25:15.069Z","status":"ssl_error","status_checked_at":"2026-01-27T12:25:05.297Z","response_time":168,"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":"2026-01-27T14:15:00.404Z","updated_at":"2026-01-27T14:15:00.452Z","avatar_url":"https://github.com/datacite.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Gem Version](https://badge.fury.io/rb/base32-url.svg)](https://badge.fury.io/rb/base32-url)\n[![Build Status](https://travis-ci.org/datacite/base32-url.svg?branch=master)](https://travis-ci.org/datacite/base32-url)\n\nAn implementation of Douglas Crockfords Base32-Encoding in Ruby, with two modifications to make\nthe resulting strings more URL friendly:\n\n* use lower case characters\n* use two digits (mod 97-10, ISO 7064) for the checksum\n\nsee \u003chttp://www.crockford.com/wrmg/base32.html\u003e\n\n## Installation\n\n```\n$ gem install base32-url\n```\n\n## Changes\n\n```\n0.5.0 - use mod 97-10 (ISO 7064) to calculate checksum\n0.3.0 - encode into lower case characters, use * ~ _ ^ u for checksum\n0.2.0 - added optional checksum\n```\n\n## Usage\n\n```\n#!/usr/bin/env ruby\n\nrequire 'base32/url'\n\nBase32::URL.encode(1234)                            # =\u003e \"16j\"\nBase32::URL.encode(100**10, :split=\u003e5, :length=\u003e15) # =\u003e \"02pqh-ty5nh-h0000\"\nBase32::URL.decode(\"2pqh-ty5nh-hoooo\")              # =\u003e 10**100\nBase32::URL.encode(1234, checksum: true)            # =\u003e \"16j82\"\nBase32::URL.decode(\"16j82\", checksum: true)          # =\u003e 1234\n```\n\n## Development\n\nWe use test-unit for unit testing:\n\n```\nbundle exec rake\n```\n\nFollow along via [Github Issues](https://github.com/datacite/base32-url/issues).\n\n### Note on Patches/Pull Requests\n\n* Fork the project\n* Write tests for your new feature or a test that reproduces a bug\n* Implement your feature or make a bug fix\n* Do not mess with Rakefile, version or history\n* Commit, push and make a pull request. Bonus points for topical branches.\n\n## License\n**base32-url** is released under the [MIT License](https://github.com/datacite/base32-url/blob/master/LICENSE.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatacite%2Fbase32-url","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdatacite%2Fbase32-url","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatacite%2Fbase32-url/lists"}