{"id":47899139,"url":"https://github.com/almide/base64","last_synced_at":"2026-04-04T04:00:36.280Z","repository":{"id":347755574,"uuid":"1195020401","full_name":"almide/base64","owner":"almide","description":"Base64 encoding and decoding for Almide. Standard and URL-safe variants.","archived":false,"fork":false,"pushed_at":"2026-03-29T11:41:55.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-29T13:48:59.245Z","etag":null,"topics":["almide","base64","encoding"],"latest_commit_sha":null,"homepage":null,"language":null,"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/almide.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":"2026-03-29T05:26:22.000Z","updated_at":"2026-03-29T12:33:19.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/almide/base64","commit_stats":null,"previous_names":["almide/base64"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/almide/base64","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/almide%2Fbase64","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/almide%2Fbase64/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/almide%2Fbase64/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/almide%2Fbase64/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/almide","download_url":"https://codeload.github.com/almide/base64/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/almide%2Fbase64/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31387024,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-04T01:22:39.193Z","status":"online","status_checked_at":"2026-04-04T02:00:07.569Z","response_time":60,"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":["almide","base64","encoding"],"created_at":"2026-04-04T04:00:17.811Z","updated_at":"2026-04-04T04:00:36.266Z","avatar_url":"https://github.com/almide.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# almide/base64\n\nBase64 encoding and decoding for [Almide](https://github.com/almide/almide). Pure Almide implementation supporting standard (RFC 4648) and URL-safe variants.\n\n## Install\n\n```bash\nalmide add almide/base64\n```\n\n## Usage\n\n```almide\nimport base64\n\n// Encode / Decode (standard)\nlet encoded = base64.encode(\"Hello World\")   // \"SGVsbG8gV29ybGQ=\"\nlet decoded = base64.decode(encoded)!        // \"Hello World\"\n\n// URL-safe (no padding, - and _ instead of + and /)\nlet url_encoded = base64.encode_url(\"Hello World\")\nlet url_decoded = base64.decode_url(url_encoded)!\n```\n\n### Bytes API\n\n```almide\nimport base64\n\nlet encoded = base64.encode_bytes([72, 101, 108, 108, 111])  // \"SGVsbG8=\"\nlet bytes = base64.decode_bytes(\"SGVsbG8=\")!                  // [72, 101, 108, 108, 111]\n```\n\n## API\n\n| Function | Signature | Description |\n|---|---|---|\n| `base64.encode` | `(String) -\u003e String` | Encode string to Base64 |\n| `base64.decode` | `(String) -\u003e Result[String, String]` | Decode Base64 to string |\n| `base64.encode_url` | `(String) -\u003e String` | Encode to URL-safe Base64 (no padding) |\n| `base64.decode_url` | `(String) -\u003e Result[String, String]` | Decode URL-safe Base64 |\n| `base64.encode_bytes` | `(List[Int]) -\u003e String` | Encode byte list to Base64 |\n| `base64.decode_bytes` | `(String) -\u003e Result[List[Int], String]` | Decode Base64 to byte list |\n| `base64.encode_bytes_url` | `(List[Int]) -\u003e String` | Encode bytes to URL-safe Base64 |\n| `base64.decode_bytes_url` | `(String) -\u003e Result[List[Int], String]` | Decode URL-safe Base64 to bytes |\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falmide%2Fbase64","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falmide%2Fbase64","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falmide%2Fbase64/lists"}