{"id":21667640,"url":"https://github.com/scpwiki/wikidot-path","last_synced_at":"2025-04-12T01:32:37.125Z","repository":{"id":57672196,"uuid":"224781169","full_name":"scpwiki/wikidot-path","owner":"scpwiki","description":"Simple library to provide Wikidot-compatible path parsing.","archived":false,"fork":false,"pushed_at":"2023-09-29T21:41:25.000Z","size":54,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-25T21:13:18.461Z","etag":null,"topics":["library","nuscp","parsing","path","rust","scp-foundation","wikidot"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":false,"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/scpwiki.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-11-29T05:13:20.000Z","updated_at":"2022-01-07T03:06:11.000Z","dependencies_parsed_at":"2022-08-31T01:22:21.357Z","dependency_job_id":"e9d2041a-6283-4615-88ae-b923a0d2bd61","html_url":"https://github.com/scpwiki/wikidot-path","commit_stats":{"total_commits":106,"total_committers":2,"mean_commits":53.0,"dds":"0.37735849056603776","last_synced_commit":"60a5c51c83216fc8dd029443056cb668beb44c82"},"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scpwiki%2Fwikidot-path","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scpwiki%2Fwikidot-path/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scpwiki%2Fwikidot-path/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scpwiki%2Fwikidot-path/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/scpwiki","download_url":"https://codeload.github.com/scpwiki/wikidot-path/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248504279,"owners_count":21115140,"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":["library","nuscp","parsing","path","rust","scp-foundation","wikidot"],"created_at":"2024-11-25T11:40:54.196Z","updated_at":"2025-04-12T01:32:37.088Z","avatar_url":"https://github.com/scpwiki.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"## wikidot-path\n\n\u003cp\u003e\n  \u003ca href=\"https://github.com/scpwiki/wikidot-path/actions?query=workflow%3A%22Rust+CI%22\"\u003e\n    \u003cimg src=\"https://github.com/scpwiki/wikidot-path/workflows/Rust%20CI/badge.svg\"\n         alt=\"Rust CI badge\"\u003e\n  \u003c/a\u003e\n\n  \u003ca href=\"https://docs.rs/wikidot-path\"\u003e\n    \u003cimg src=\"https://docs.rs/wikidot-path/badge.svg\"\n         alt=\"docs.rs link\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\nSimple library to provide Wikidot-compatible path parsing.\n\nWikidot accepts paths in an unusual manner: each argument is submitted as another \"directory\".\n\nFor instance, to access page `scp-xxxx` with options `norender` and `edit`, you would go to `/scp-xxxx/norender/true/edit/true`.\n\nHowever this also extends its usage in a few minor ways. For instance, options like `edit` only make sense when `true`, but passing that field is always required by Wikidot. Thus the logical URL `/scp-xxxx/edit` doesn't work, despite it being rather clear to a human what the intent is. This library adjusts this by allowing \"solo keys\" (those without values).\n\nAdditionally URL normalization is performed. See the [`wikidot-normalize`](https://crates.io/crates/wikidot-normalize) crate for more information.\n\nAvailable under the terms of the MIT License. See [LICENSE.md](LICENSE).\n\n### Compilation\nThis library targets the latest stable Rust. At time of writing, that is 1.68.2\n\n```sh\n$ cargo build --release\n```\n\n### Testing\n```sh\n$ cargo test\n```\n\nAdd `-- --nocapture` to the end if you want to see test output.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscpwiki%2Fwikidot-path","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscpwiki%2Fwikidot-path","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscpwiki%2Fwikidot-path/lists"}