{"id":16711770,"url":"https://github.com/bburdette/chatexample","last_synced_at":"2025-08-24T03:37:36.940Z","repository":{"id":32214174,"uuid":"35788027","full_name":"bburdette/chatexample","owner":"bburdette","description":"yesod-websockets chat example","archived":false,"fork":false,"pushed_at":"2015-05-18T00:14:33.000Z","size":248,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-15T04:13:39.575Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Haskell","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/bburdette.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}},"created_at":"2015-05-18T00:04:34.000Z","updated_at":"2015-05-18T00:05:31.000Z","dependencies_parsed_at":"2022-08-28T20:51:12.849Z","dependency_job_id":null,"html_url":"https://github.com/bburdette/chatexample","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bburdette/chatexample","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bburdette%2Fchatexample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bburdette%2Fchatexample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bburdette%2Fchatexample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bburdette%2Fchatexample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bburdette","download_url":"https://codeload.github.com/bburdette/chatexample/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bburdette%2Fchatexample/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271786309,"owners_count":24820655,"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-08-24T02:00:11.135Z","response_time":111,"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":[],"created_at":"2024-10-12T20:26:24.770Z","updated_at":"2025-08-24T03:37:36.901Z","avatar_url":"https://github.com/bburdette.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"Yesod Websocket Chat Example\n============================\n\nJust worked through adding the [chat example](https://github.com/yesodweb/yesod/blob/master/yesod-websockets/chat.hs) from yesod-websockets to a scaffolded yesod project.  I'm going to alter that code in my actual project, so thought I'd save it here.\n\nThere's also a purescript version, which is a bit crude-but-works.  Assuming you have all the purescript tools installed, then running 'grunt' from the purescript directory of this project should build a 'templates/chat.julius' file.  \n\nThe commit history starts with an empty scaffolded project; you can step through the commits to see what changes were needed.\n\nAssuming it all builds correctly, you can try these examples out with 'yesod devel' on the command line.  Then navigate to\n\n[http:://localhost:3000/chat/js/](http:://localhost:3000/chat/js/)\n\nor\n\n[http:://localhost:3000/chat/ps/](http:://localhost:3000/chat/ps/)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbburdette%2Fchatexample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbburdette%2Fchatexample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbburdette%2Fchatexample/lists"}