{"id":17791250,"url":"https://github.com/schell/reflex-sdl2","last_synced_at":"2025-03-16T15:31:34.488Z","repository":{"id":54781989,"uuid":"100899253","full_name":"schell/reflex-sdl2","owner":"schell","description":"A minimal host for sdl2 based reflex apps.","archived":false,"fork":false,"pushed_at":"2021-01-29T18:19:49.000Z","size":80,"stargazers_count":26,"open_issues_count":6,"forks_count":11,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-05-01T23:30:59.511Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Haskell","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/schell.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":"2017-08-21T01:16:21.000Z","updated_at":"2024-05-01T23:30:59.512Z","dependencies_parsed_at":"2022-08-14T02:50:41.530Z","dependency_job_id":null,"html_url":"https://github.com/schell/reflex-sdl2","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schell%2Freflex-sdl2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schell%2Freflex-sdl2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schell%2Freflex-sdl2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schell%2Freflex-sdl2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/schell","download_url":"https://codeload.github.com/schell/reflex-sdl2/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243822312,"owners_count":20353496,"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-27T10:50:24.646Z","updated_at":"2025-03-16T15:31:34.232Z","avatar_url":"https://github.com/schell.png","language":"Haskell","readme":"# reflex-sdl2\n\n![status](https://gitlab.com/schell/reflex-sdl2/badges/master/build.svg)\n\nThis is a [reflex][2] host for [sdl2][0].\n\nWriting and running [sdl2][0] apps requires version 2 of the awesome [SDL][1]\nlibrary.\n\n\n## building\n\nThe first step is to install SDL.\n\n### macOS\n\nUsing [homebrew](https://brew.sh/)...\n\n    brew install sdl2\n\n### Ubuntu / Debian\n\nThe [sdl2 bindings][0] require SDL \u003e= 2.0.4, or for special instructions\nto be followed. Assuming you're on `Ubuntu \u003e= 16.04`, you can run\n\n    apt-get install libsdl2-dev\n\notherwise please visit the org page above and install via their README.\n\n### building with stack\n\nAfter installing SDL, we can build with stack.\n\nUsing [stack][3] is the path of least resistance.\n\n    stack build\n\n## examples\n\nAfter building you can view an example using the built-in 2d renderer in\n[app/Main.hs](https://github.com/schell/reflex-sdl2/blob/master/app/Main.hs).\n\nTo run the example do:\n\n    stack exec reflex-sdl2-exe\n\n\n[0]: http://hackage.haskell.org/package/sdl2 \"sdl2 haskell bindings\"\n[1]: http://libsdl.org \"Simple Direct Media Layer\"\n[2]: https://github.com/reflex-frp/reflex \"reflex frp\"\n[3]: https://docs.haskellstack.org/en/stable/README/ \"the haskell tool stack\"\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fschell%2Freflex-sdl2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fschell%2Freflex-sdl2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fschell%2Freflex-sdl2/lists"}