{"id":20509944,"url":"https://github.com/deamondev/tyrian-url-dsl-routing","last_synced_at":"2026-04-29T14:01:53.003Z","repository":{"id":162056160,"uuid":"636662249","full_name":"DeamonDev/tyrian-url-dsl-routing","owner":"DeamonDev","description":"Simple Tyrian application with custom routing mechanism baked in thanks to url-dsl library","archived":false,"fork":false,"pushed_at":"2023-05-05T12:35:58.000Z","size":74,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-30T10:04:10.604Z","etag":null,"topics":["front-end-router","routing","scala3","scalajs","tailwindcss","tyrian"],"latest_commit_sha":null,"homepage":"","language":"Scala","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/DeamonDev.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}},"created_at":"2023-05-05T11:04:06.000Z","updated_at":"2023-05-06T14:42:40.000Z","dependencies_parsed_at":"2023-08-13T06:00:33.155Z","dependency_job_id":null,"html_url":"https://github.com/DeamonDev/tyrian-url-dsl-routing","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/DeamonDev/tyrian-url-dsl-routing","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DeamonDev%2Ftyrian-url-dsl-routing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DeamonDev%2Ftyrian-url-dsl-routing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DeamonDev%2Ftyrian-url-dsl-routing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DeamonDev%2Ftyrian-url-dsl-routing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DeamonDev","download_url":"https://codeload.github.com/DeamonDev/tyrian-url-dsl-routing/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DeamonDev%2Ftyrian-url-dsl-routing/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262753015,"owners_count":23358879,"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":["front-end-router","routing","scala3","scalajs","tailwindcss","tyrian"],"created_at":"2024-11-15T20:27:09.313Z","updated_at":"2026-04-29T14:01:47.958Z","avatar_url":"https://github.com/DeamonDev.png","language":"Scala","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hello Tyrian\n\n## What is it?!\n\nThis project is related to my Pull Request: \n\nhttps://github.com/PurpleKingdomGames/tyrian/pull/195\n\nWith help of `url-dsl` library I baked simple working front-end routing solution which works pretty well with `Tyrian`. There are several URLs: \n\n1. `/home`\n2. `/counter` \n3. `/todos`\n4. `/id/:userId`, where `userId` is meant to be `Int`\n5. `/user` with query parameter `age` (also meant to be `Int`).\n\n\nAll the other URLs are redirected to custom `notFound` page. Besides of routing I also added two simple subcomponents to show how to modularize application. \n\n## Setup instructions\n\nTo run the program in a browser you will need to have yarn (or npm) installed.\n\nBefore your first run and for your tests to work, **you must** install the node dependencies with:\n\n```sh\nyarn install\n```\n\nThis example uses Parcel.js as our bundler and dev server, there are lots of other options you might prefer like Webpack, scalajs-bunder, or even just vanilla JavaScript.\n\nWe recommend you have two terminal tabs open in the directory containing this README file.\n\nIn the first, we'll run sbt.\n\n```sh\nsbt\n```\n\nFrom now on, we can recompile the app with `fastLinkJS` or `fullLinkJS` _**but please note** that the `tyrianapp.js` file in the root is expecting the output from `fastLinkJS`_.\n\nRun `fastLinkJS` now to get an initial build in place.\n\nThen start your dev server, with:\n\n```sh\nyarn start\n```\n\nNow navigate to [http://localhost:1234/](http://localhost:1234/) to see your site running.\n\nIf you leave parcel's dev server running, all you have to do is another `fastLinkJS` or `fullLinkJS` and your app running in the browser should hot-reload the new code.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeamondev%2Ftyrian-url-dsl-routing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeamondev%2Ftyrian-url-dsl-routing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeamondev%2Ftyrian-url-dsl-routing/lists"}