{"id":20424196,"url":"https://github.com/itpey/shinyid-rs","last_synced_at":"2026-06-10T07:31:39.251Z","repository":{"id":227547417,"uuid":"771743713","full_name":"itpey/shinyid-rs","owner":"itpey","description":"high-performance Rust package inspired by Instagram's shortcode system for encoding and decoding unique identifiers into URL-safe 'shiny'","archived":false,"fork":false,"pushed_at":"2024-03-17T02:32:09.000Z","size":21,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-20T05:15:23.606Z","etag":null,"topics":["api","base64","decoding","encoding","facebook-api","instagram","instagram-api","instagram-private-api","meta","meta-api","rust","rust-lang","shortcode","snowflake","threads","threads-api","threads-app","ulid","uuid"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/shinyid","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/itpey.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}},"created_at":"2024-03-13T21:42:34.000Z","updated_at":"2024-08-16T08:43:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"d35e26fa-fd75-4538-a5e1-77f363db5620","html_url":"https://github.com/itpey/shinyid-rs","commit_stats":null,"previous_names":["itpey/shinyid-rs"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/itpey/shinyid-rs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itpey%2Fshinyid-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itpey%2Fshinyid-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itpey%2Fshinyid-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itpey%2Fshinyid-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/itpey","download_url":"https://codeload.github.com/itpey/shinyid-rs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itpey%2Fshinyid-rs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34142637,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-10T02:00:07.152Z","response_time":89,"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":["api","base64","decoding","encoding","facebook-api","instagram","instagram-api","instagram-private-api","meta","meta-api","rust","rust-lang","shortcode","snowflake","threads","threads-api","threads-app","ulid","uuid"],"created_at":"2024-11-15T07:08:54.876Z","updated_at":"2026-06-10T07:31:39.231Z","avatar_url":"https://github.com/itpey.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ShinyID\n\n[![Crates.io](https://img.shields.io/crates/v/shinyid.svg)](https://crates.io/crates/shinyid)\n[![Docs.rs](https://docs.rs/shinyid/badge.svg)](https://docs.rs/shinyid)\n\n## About\n\nShinyID is a high-performance Rust package inspired by the Instagram shortcode system. It allows you to encode and decode unique identifiers (IDs) into a human-readable and URL-safe string format called 'shiny'. This package is designed for scenarios where speed and efficiency are crucial, making it ideal for applications that need to handle large volumes of encoded IDs.\n\n## Table of Contents\n\n- [ShinyID](#shinyid)\n  - [About](#about)\n  - [Table of Contents](#table-of-contents)\n  - [Features](#features)\n  - [Installation](#installation)\n  - [Example](#example)\n  - [License](#license)\n  - [Author](#author)\n\n## Features\n\n- **Efficient Encoding :** ShinyID offers a highly efficient method for converting numeric IDs into shiny strings.\n- **Lightning-Fast Decoding :** Decoding shiny strings into their original numeric IDs is optimized for speed and performance.\n- **URL-Safe :** Shiny strings are designed to be URL-safe, making them suitable for web applications.\n- **Inspired by Instagram :** The package draws inspiration from Instagram's shortcode system, ensuring a familiar and intuitive approach to representing IDs.\n\n## Installation\n\nAdd the following line to your `Cargo.toml` file:\n\n```toml\n[dependencies]\nshinyid = \"0.2.0\"\n```\n\n## Example\n\nHere's a simple example showcasing the use of ShinyID:\n\n```rust\nuse shinyid::{to_id, to_shiny};\nfn main() {\n    let id = 18446744073709551615;\n    let shiny = to_shiny(id);\n    println!(\"Shiny representation of {} is {}\", id, shiny);\n\n    let shiny = \"P__________\";\n    match to_id(shiny) {\n        Ok(id) =\u003e println!(\"ID corresponding to {} is {}\", shiny, id),\n        Err(err) =\u003e eprintln!(\"Error: {}\", err),\n    }\n}\n\n```\n\n## License\n\nThis package is distributed under the Apache License, Version 2.0. See the [LICENSE](https://github.com/itpey/shinyid-rs/blob/main/LICENSE) file for more details.\n\n## Author\n\nShinyID was created by [itpey](https://github.com/itpey).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitpey%2Fshinyid-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fitpey%2Fshinyid-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitpey%2Fshinyid-rs/lists"}