{"id":25637811,"url":"https://github.com/alirexaa/mimee","last_synced_at":"2026-06-11T21:33:03.844Z","repository":{"id":278545777,"uuid":"935974519","full_name":"Alirexaa/mimee","owner":"Alirexaa","description":"A simple library for detection of a file's MIME type by its extension.","archived":false,"fork":false,"pushed_at":"2025-12-15T22:34:22.000Z","size":49,"stargazers_count":2,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-04-28T02:46:32.905Z","etag":null,"topics":["content-types","filesystem","mime","mime-types","rust","web-programming"],"latest_commit_sha":null,"homepage":"https://docs.rs/crate/mimee/latest","language":"Rust","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/Alirexaa.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":"2025-02-20T10:24:25.000Z","updated_at":"2025-08-05T07:38:07.000Z","dependencies_parsed_at":"2025-02-20T11:41:49.107Z","dependency_job_id":null,"html_url":"https://github.com/Alirexaa/mimee","commit_stats":null,"previous_names":["alirexaa/mimee"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/Alirexaa/mimee","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alirexaa%2Fmimee","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alirexaa%2Fmimee/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alirexaa%2Fmimee/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alirexaa%2Fmimee/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Alirexaa","download_url":"https://codeload.github.com/Alirexaa/mimee/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alirexaa%2Fmimee/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34219510,"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-11T02:00:06.485Z","response_time":57,"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":["content-types","filesystem","mime","mime-types","rust","web-programming"],"created_at":"2025-02-23T01:28:26.176Z","updated_at":"2026-06-11T21:33:03.840Z","avatar_url":"https://github.com/Alirexaa.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Mimee\n\nMimee is a Rust library that provides a mapping between file extensions and their corresponding MIME types. It allows you to easily determine the MIME type of a file based on its extension.\n\n## Features\n\n- Predefined set of file extensions and their corresponding MIME types.\n- Retrieve the MIME type for a given file path.\n- Supports both forward and backward slashes in file paths.\n- Handles non-ASCII characters in file paths.\n\n## Installation\n\nAdd this to your `Cargo.toml`:\n\n```toml\n[dependencies]\nmimee = \"0.2.0\"\n```\n\n## Usage\n```rust\nuse mimee::MimeDict;\n\nfn main() {\n    let mut mime_dict = MimeDict::new();\n    let content_type = mime_dict.get_content_type(\"example.txt\".to_string());\n    println!(\"MIME type: {:?}\", content_type);\n\n    // Adding a custom MIME type\n    mime_dict.add(\".custom\".to_string(), \"application/x-custom\".to_string());\n    let custom_content_type = mime_dict.get_content_type(\"file.custom\");\n    println!(\"Custom MIME type: {:?}\", custom_content_type);\n}\n```\n\n## License\n\nThis project is licensed under the MIT License","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falirexaa%2Fmimee","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falirexaa%2Fmimee","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falirexaa%2Fmimee/lists"}