{"id":15288382,"url":"https://github.com/routve/routve","last_synced_at":"2025-10-07T03:30:24.607Z","repository":{"id":38173974,"uuid":"262420617","full_name":"routve/routve","owner":"routve","description":"📍 Routve is an advanced Svelte 3 router.","archived":true,"fork":false,"pushed_at":"2022-12-11T23:38:05.000Z","size":2083,"stargazers_count":23,"open_issues_count":20,"forks_count":1,"subscribers_count":3,"default_branch":"dev","last_synced_at":"2025-09-22T05:53:12.337Z","etag":null,"topics":["advanced","hashbang","navigation-guards","pagejs","router","router-libraries","spa","svelte"],"latest_commit_sha":null,"homepage":"https://routve.github.io","language":"Svelte","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/routve.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}},"created_at":"2020-05-08T20:19:57.000Z","updated_at":"2025-08-05T01:25:57.000Z","dependencies_parsed_at":"2023-01-27T09:15:41.220Z","dependency_job_id":null,"html_url":"https://github.com/routve/routve","commit_stats":null,"previous_names":["panocms/routve"],"tags_count":17,"template":false,"template_full_name":null,"purl":"pkg:github/routve/routve","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/routve%2Froutve","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/routve%2Froutve/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/routve%2Froutve/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/routve%2Froutve/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/routve","download_url":"https://codeload.github.com/routve/routve/tar.gz/refs/heads/dev","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/routve%2Froutve/sbom","scorecard":{"id":785587,"data":{"date":"2025-08-11","repo":{"name":"github.com/routve/routve","commit":"57073e984cde92cf3b493424af55a239fae57a83"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.7,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":0,"reason":"project is archived","details":["Warn: Repository is archived."],"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Code-Review","score":0,"reason":"Found 0/14 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'dev'","Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 19 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"63 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-ww39-953v-wcq6","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-hj48-42vr-x3v9","Warn: Project is vulnerable to: GHSA-9wv6-86v2-598j","Warn: Project is vulnerable to: GHSA-hrpp-h998-j3pp","Warn: Project is vulnerable to: GHSA-gcx4-mw62-g8wm","Warn: Project is vulnerable to: GHSA-wv8q-r932-8hc7","Warn: Project is vulnerable to: GHSA-8266-84wp-wv5c","Warn: Project is vulnerable to: GHSA-4wf5-vphf-c2xc","Warn: Project is vulnerable to: GHSA-6fc8-4gx4-v693","Warn: Project is vulnerable to: GHSA-3h5v-q93c-6h6q","Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-h5c3-5r3r-rr8q","Warn: Project is vulnerable to: GHSA-rmvr-2pp2-xj38","Warn: Project is vulnerable to: GHSA-xx4v-prfh-6cgc","Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-w573-4hg7-7wgq","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-pfrx-2q88-qq97","Warn: Project is vulnerable to: GHSA-765h-qjxv-5f44","Warn: Project is vulnerable to: GHSA-f2jv-r9rf-7988","Warn: Project is vulnerable to: GHSA-43f8-2h32-f4cj","Warn: Project is vulnerable to: GHSA-rc47-6667-2j5j","Warn: Project is vulnerable to: GHSA-78xj-cgh5-2h22","Warn: Project is vulnerable to: GHSA-2p57-rm9w-gvfp","Warn: Project is vulnerable to: GHSA-896r-f27r-55mw","Warn: Project is vulnerable to: GHSA-jf85-cpcp-j695","Warn: Project is vulnerable to: GHSA-fvqr-27wr-82fm","Warn: Project is vulnerable to: GHSA-4xc9-xhrj-v574","Warn: Project is vulnerable to: GHSA-x5rq-j2xg-h7qm","Warn: Project is vulnerable to: GHSA-p6mc-m468-83gw","Warn: Project is vulnerable to: GHSA-29mw-wpgm-hmr9","Warn: Project is vulnerable to: GHSA-35jh-r3h4-6jhm","Warn: Project is vulnerable to: GHSA-5v2h-r2cx-5xgj","Warn: Project is vulnerable to: GHSA-rrrm-qjm4-v8hf","Warn: Project is vulnerable to: GHSA-4xcv-9jjx-gfj3","Warn: Project is vulnerable to: GHSA-7wpw-2hjm-89gp","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h","Warn: Project is vulnerable to: GHSA-r683-j2x4-v87g","Warn: Project is vulnerable to: GHSA-px4h-xg32-q955","Warn: Project is vulnerable to: GHSA-p8p7-x288-28g6","Warn: Project is vulnerable to: GHSA-x2pg-mjhr-2m5x","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-44c6-4v22-4mhx","Warn: Project is vulnerable to: GHSA-4x5v-gmq8-25ch","Warn: Project is vulnerable to: GHSA-vx3p-948g-6vhq","Warn: Project is vulnerable to: GHSA-3jfq-g458-7qm9","Warn: Project is vulnerable to: GHSA-r628-mhmh-qjhw","Warn: Project is vulnerable to: GHSA-9r2w-394v-53qc","Warn: Project is vulnerable to: GHSA-5955-9wpr-37jh","Warn: Project is vulnerable to: GHSA-qq89-hq3f-393p","Warn: Project is vulnerable to: GHSA-f5x3-32g6-xq36","Warn: Project is vulnerable to: GHSA-52f5-9888-hmc6","Warn: Project is vulnerable to: GHSA-72xf-g2v4-qvf3","Warn: Project is vulnerable to: GHSA-7p7h-4mm5-852v","Warn: Project is vulnerable to: GHSA-38fc-wpqx-33j7","Warn: Project is vulnerable to: GHSA-j8xg-fqg3-53r7","Warn: Project is vulnerable to: GHSA-c4w7-xm78-47vh","Warn: Project is vulnerable to: GHSA-p9pc-299p-vxgp"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-23T06:00:26.819Z","repository_id":38173974,"created_at":"2025-08-23T06:00:26.819Z","updated_at":"2025-08-23T06:00:26.819Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278715508,"owners_count":26033296,"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","status":"online","status_checked_at":"2025-10-07T02:00:06.786Z","response_time":59,"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":["advanced","hashbang","navigation-guards","pagejs","router","router-libraries","spa","svelte"],"created_at":"2024-09-30T15:48:38.177Z","updated_at":"2025-10-07T03:30:24.334Z","avatar_url":"https://github.com/routve.png","language":"Svelte","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\u003cimg width=\"200\" src=\"https://i.ibb.co/gRSQL1G/routve.png\" alt=\"Routve logo\"\u003e\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n  An advanced \u003ca href=\"https://svelte.dev\"\u003eSvelte 3\u003c/a\u003e router.\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://img.shields.io/maintenance/yes/2022?style=for-the-badge\" alt=\"Maintained\"\u003e\n  \u003ca href=\"https://travis-ci.com/github/routve/routve\" target=\"_blank\"\u003e\u003cimg src=\"https://img.shields.io/travis/com/routve/routve/dev?style=for-the-badge\" alt=\"Travis CI Build Status\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://www.npmjs.com/package/routve\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/routve.svg?sanitize=true\u0026style=for-the-badge\" alt=\"Version\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/routve/routve/blob/dev/LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/npm/l/routve.svg?sanitize=true\u0026style=for-the-badge\" alt=\"License\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://discord.gg/rwCNpZw74S\"\u003e\u003cimg src=\"https://img.shields.io/badge/chat-on%20discord-7289da.svg?sanitize=true\u0026style=for-the-badge\" alt=\"Chat\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n---\n\n# About\n\n#### Introduction:\n\nRoutve is an advanced non-official \u003ca href=\"https://svelte.dev\"\u003eSvelte 3\u003c/a\u003e router like `vue-router`. Under the hood it uses \u003ca href=\"https://github.com/visionmedia/page.js\"\u003epage.js\u003c/a\u003e.\n\n#### Why Routve?\n\nAlright there are so many router libraries and components for Svelte. So why would you use Routve?\n\nSimply, Routve is super simple - easy to use, always up-to-date, maintained, stable and advanced. It has already used in production, and some development projects. Routve supports advanced and complex features such as route managing, navigation guards, page load handling, automatic links, hashbang, nested routing, and most importantly code splitting (aka. dynamic component import).\n\nWhen we first created Routve, there was no properly enough advanced router library which especially supports code splitting and nested routing. We believed we can create \u003cstrong\u003eonly one truly advanced enough router library\u003c/strong\u003e for Svelte. Now, we are introducing you: \u003cstrong\u003eRoutve\u003c/strong\u003e with further features.\n\n#### Features:\n\nRoutve supports these features for now:\n\n- \u003cstrong\u003eVery tiny\u003c/strong\u003e ~ only few light dependencies\n- \u003cstrong\u003ePath routing\u003c/strong\u003e (aka. URI) ~ like `/login` `/register`, without hash - ideal for SPA and SSR - `default`\n- \u003cstrong\u003eHashbang\u003c/strong\u003e ~ like `index.html#!/login` `index.html#!/register`, ideal for static SPA\n- \u003cstrong\u003eNested routing\u003c/strong\u003e ~ add children routes/pages and just add router like `\u003cRouter\u003e`\n- \u003cstrong\u003eBase path\u003c/strong\u003e ~ you can define base path like; `/panel` then routing is gonna be like `/panel/login`\n- \u003cstrong\u003eCustomizable config per router\u003c/strong\u003e ~ customize your each router component\n- \u003cstrong\u003eAutomatic links on `\u003ca href=\"\"\u003e` attribute\u003c/strong\u003e ~ thanks to `page.js` (no more need for extra component import, for example: `\u003cLink\u003e`)\n- \u003cstrong\u003eRegex support\u003c/strong\u003e ~ thanks to `page.js`\n- \u003cstrong\u003eRouter events\u003c/strong\u003e ~ such as `beforeEnterRoute`, `afterRouteEnter` - useful for navigation guards\n- \u003cstrong\u003eisPageLoading event\u003c/strong\u003e ~ a boolean reactive variable - which allows you to determine is the page still loading?\n- \u003cstrong\u003eCustom chunk support\u003c/strong\u003e ~ Routve uses chunk component for each route to ensure stable, safe and providing additional advanced features - you can either give by each route or generally to all routes\n- \u003cstrong\u003eImport component as you want\u003c/strong\u003e ~ Routve supports many component import styles! - such as `() =\u003e import(\"/TestPage.svelte\")` (aka. dynamic importing, lazy loading), `import(\"/TestPage.svelte\")` static promise importing or `component: TestPageComponent` static/preloaded component passing\n- \u003cstrong\u003eNamed params\u003c/strong\u003e ~ give your route which param would you like to, such as `pageType: \"trash\"`\n- \u003cstrong\u003eRoute params\u003c/strong\u003e ~ get param by the path, for example; `/post/:postID` - `postID` is now our route param, Routve will add this param to page component (`export let postID;`)\n- \u003cstrong\u003eWildcards\u003c/strong\u003e ~ thanks to `page.js`\n- \u003cstrong\u003eQuery strings\u003c/strong\u003e ~ query strings like; `/some-route?example=123` - thanks to `page.js`\n- \u003cstrong\u003eHTML5 history mode\u003c/strong\u003e ~ which is typically `path routing`, ideal for SPA and SSR - thanks to `page.js`\n- \u003cstrong\u003eError 404 handling\u003c/strong\u003e ~ Routve can handle all 404 error page requests if there is no matching route and if `*` is given as path\n- \u003cstrong\u003eProgrammatic navigation\u003c/strong\u003e ~ just import `route` method and call it `route(\"/login\")`\n- \u003cstrong\u003eRoute names\u003c/strong\u003e ~ you can define specific route names or get route names\n\n#### There are also upcoming features:\n\n- \u003cstrong\u003e`SSR support`\u003c/strong\u003e\n- \u003cstrong\u003e`Sapper support`\u003c/strong\u003e\n\n# Install\n\n```bash\nnpm install routve\n```\n\n# Development\n\nAlways use \u003ca href=\"https://yarnpkg.com/\"\u003eyarn\u003c/a\u003e to avoid conflicting .lock file issues.\n\nFirstly, install all packages with `yarn`:\n\n```bash\nyarn\n```\n\nSecondly, run which example would you like to run: (`yarn dev:\u003cexample\u003e` see `yarn run` or [`package.json`](package.json) #scripts)\n\n```bash\nyarn dev\n```\n\n# Contributing\n\nMerge requests are welcome. For major changes, please open an issue first to discuss what you would like to change.\n\n# License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froutve%2Froutve","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Froutve%2Froutve","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froutve%2Froutve/lists"}