{"id":18050250,"url":"https://github.com/csoneson/shinylive_test","last_synced_at":"2025-04-05T06:22:08.762Z","repository":{"id":215826665,"uuid":"739708055","full_name":"csoneson/shinylive_test","owner":"csoneson","description":null,"archived":false,"fork":false,"pushed_at":"2024-01-06T17:16:21.000Z","size":29669,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-10T14:11:28.784Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://csoneson.github.io/shinylive_test/","language":"R","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/csoneson.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}},"created_at":"2024-01-06T09:51:07.000Z","updated_at":"2024-01-06T18:44:00.000Z","dependencies_parsed_at":"2024-01-06T20:54:41.458Z","dependency_job_id":null,"html_url":"https://github.com/csoneson/shinylive_test","commit_stats":null,"previous_names":["csoneson/shinylive_test"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csoneson%2Fshinylive_test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csoneson%2Fshinylive_test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csoneson%2Fshinylive_test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csoneson%2Fshinylive_test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/csoneson","download_url":"https://codeload.github.com/csoneson/shinylive_test/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247295887,"owners_count":20915546,"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-30T21:11:02.749Z","updated_at":"2025-04-05T06:22:08.734Z","avatar_url":"https://github.com/csoneson.png","language":"R","readme":"## Example shinylive app\n\n1. Create an app (here I started from the example app from https://shinylive.io/r/examples/#hello-shiny). Save it to (e.g.) `code/app.R`.\n2. Install `shinylive` and `httpuv`:\n```\nBiocManager::install(\"posit-dev/r-shinylive\")\nBiocManager::install(\"rstudio/httpuv\")\n```\n3. Export the app to a directory that can then be served using `httpuv`:\n```\nshinylive::export(appdir = \"code\", destdir = \"docs\")\n```\n4. Test locally: \n```\nhttpuv::runStaticServer(\"docs\")\n```\n5. Push (at least) the `docs` folder to GitHub.\n6. Set up GitHub Pages in the GitHub repository to serve the `docs` folder from the `main` branch. \n![](github-pages.png)\n7. Navigate to the GitHub Pages website to use the app. \n\n### Resources\n\n- [https://github.com/RamiKrispin/shinylive-r](https://github.com/RamiKrispin/shinylive-r)\n- [https://github.com/posit-dev/shinylive](https://github.com/posit-dev/shinylive)\n- [https://shinylive.io/r/examples/#hello-shiny](https://shinylive.io/r/examples/#hello-shiny)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcsoneson%2Fshinylive_test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcsoneson%2Fshinylive_test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcsoneson%2Fshinylive_test/lists"}