{"id":15382247,"url":"https://github.com/jamowei/fritz2-ktor-chat","last_synced_at":"2025-07-15T09:07:56.829Z","repository":{"id":49868968,"uuid":"319700803","full_name":"jamowei/fritz2-ktor-chat","owner":"jamowei","description":"Full-stack chat application using fritz2 and ktor","archived":false,"fork":false,"pushed_at":"2021-12-12T14:59:47.000Z","size":294,"stargazers_count":6,"open_issues_count":0,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-15T19:41:49.784Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Kotlin","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/jamowei.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-12-08T16:45:47.000Z","updated_at":"2023-05-31T01:56:15.000Z","dependencies_parsed_at":"2022-09-09T13:10:16.762Z","dependency_job_id":null,"html_url":"https://github.com/jamowei/fritz2-ktor-chat","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jamowei/fritz2-ktor-chat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamowei%2Ffritz2-ktor-chat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamowei%2Ffritz2-ktor-chat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamowei%2Ffritz2-ktor-chat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamowei%2Ffritz2-ktor-chat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jamowei","download_url":"https://codeload.github.com/jamowei/fritz2-ktor-chat/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamowei%2Ffritz2-ktor-chat/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265424376,"owners_count":23762880,"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":[],"created_at":"2024-10-01T14:30:33.637Z","updated_at":"2025-07-15T09:07:56.792Z","avatar_url":"https://github.com/jamowei.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"![fritz2](https://www.fritz2.dev/images/fritz2_logo_grey.png)\n\n# Ktor Chat\n\nThis project is an example for using [fritz2](https://www.fritz2.dev/) with in a ktor websockets-application. It will\ndemonstrate how-to interact with a backend application in fritz2 and how-to setup this kind of project.\n\nThis project is a Kotlin [multiplatform](https://kotlinlang.org/docs/reference/multiplatform.html) project which\ncontains everything. In the `commonMain` section is the shared model and validation of the application. The `jsMain`\nsection contains the complete code of the client-application written with fritz2. The backend part is in the `jvmMain`\nsection where all the code for the server is.\n\nThis project uses the following libraries:\n* [fritz2](https://github.com/jwstegemann/fritz2) - mainly in the frontend, except validation and model on both sides\n* [kotlinx.serialization](https://github.com/Kotlin/kotlinx.serialization) - used in frontend and backend for serializing the shared model\n* [Ktor](https://ktor.io/) - running the server with\n* [Ktor Websockets](https://ktor.io/docs/servers-features-websockets.html) - providing serverside Websocket support\n\n# Run\nTo run this application you only need to run the following gradle task:\n```\n\u003e ./gradlew run \n``` \nThen navigate in your browser to [localhost:8080](http://localhost:8080/)\n\n# Contribution\n\nIf you like this example and how fritz2 works it would be great when you give us a \u0026#11088; at\nour [fritz2 github page](https://github.com/jwstegemann/fritz2).\n\nWhen you find some bugs or improvements please let us know by reporting an issue\n[here](https://github.com/jamowei/fritz2-ktor-chat/issues). Also, feel free to use this project as template for your own\napplications.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjamowei%2Ffritz2-ktor-chat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjamowei%2Ffritz2-ktor-chat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjamowei%2Ffritz2-ktor-chat/lists"}