{"id":15165888,"url":"https://github.com/feddelegrand7/gomogomonomi","last_synced_at":"2025-10-25T09:31:03.135Z","repository":{"id":56143102,"uuid":"269988874","full_name":"feddelegrand7/GomoGomonoMi","owner":"feddelegrand7","description":"👑 Animate Text in Rmd documents and shiny using the Animate.css Library","archived":false,"fork":false,"pushed_at":"2020-12-10T20:52:56.000Z","size":6335,"stargazers_count":7,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-28T21:44:56.724Z","etag":null,"topics":["css","r","rmarkdown","rmarkdown-document","rstats","rstats-package","shiny"],"latest_commit_sha":null,"homepage":"","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/feddelegrand7.png","metadata":{"files":{"readme":"README.Rmd","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"custom":["https://www.buymeacoffee.com/Fodil"]}},"created_at":"2020-06-06T13:25:39.000Z","updated_at":"2022-11-26T17:13:37.000Z","dependencies_parsed_at":"2022-08-15T13:31:04.091Z","dependency_job_id":null,"html_url":"https://github.com/feddelegrand7/GomoGomonoMi","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/feddelegrand7%2FGomoGomonoMi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feddelegrand7%2FGomoGomonoMi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feddelegrand7%2FGomoGomonoMi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feddelegrand7%2FGomoGomonoMi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/feddelegrand7","download_url":"https://codeload.github.com/feddelegrand7/GomoGomonoMi/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238112938,"owners_count":19418535,"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":["css","r","rmarkdown","rmarkdown-document","rstats","rstats-package","shiny"],"created_at":"2024-09-27T04:05:46.942Z","updated_at":"2025-10-25T09:30:57.254Z","avatar_url":"https://github.com/feddelegrand7.png","language":"R","funding_links":["https://www.buymeacoffee.com/Fodil"],"categories":[],"sub_categories":[],"readme":"---\noutput: github_document\n---\n\n\u003c!-- README.md is generated from README.Rmd. Please edit that file --\u003e\n\n```{r, include = FALSE}\nknitr::opts_chunk$set(\n  collapse = TRUE,\n  comment = \"#\u003e\",\n  fig.path = \"man/figures/README-\",\n  out.width = \"100%\"\n)\n```\n\n# GomoGomonoMi \u003ca\u003e\u003cimg src='man/figures/hex.png' align=\"right\" height=\"200\" /\u003e\u003c/a\u003e\n\n\u003c!-- badges: start --\u003e  \n\n[![CRAN_Status_Badge](https://www.r-pkg.org/badges/version/GomoGomonoMi)](https://cran.r-project.org/package=GomoGomonoMi)\n[![CRAN_time_from_release](https://www.r-pkg.org/badges/ago/GomoGomonoMi)](https://cran.r-project.org/package=GomoGomonoMi)\n[![metacran downloads](https://cranlogs.r-pkg.org/badges/GomoGomonoMi)](https://cran.r-project.org/package=GomoGomonoMi)\n[![metacran downloads](https://cranlogs.r-pkg.org/badges/grand-total/GomoGomonoMi)](https://cran.r-project.org/package=GomoGomonoMi)\n[![license](https://img.shields.io/github/license/mashape/apistatus.svg)](https://choosealicense.com/licenses/mit/)\n[![R build status](https://github.com/feddelegrand7/GomoGomonoMi/workflows/R-CMD-check/badge.svg)](https://github.com/feddelegrand7/GomoGomonoMi/actions)\n[![R badge](https://img.shields.io/badge/Build%20with-♥%20and%20R-pink)](https://github.com/feddelegrand7/GomoGomonoMi)\n\n\u003c!-- badges: end --\u003e\n\n\nThe GomoGomonoMi packages allows you to animate text in Rmd documents (xaringan slides included) and Shiny apps using the [Animate.css](https://animate.style/) library. \n\n\n\n\n![My reaction when I discovered Animate.css](https://media.giphy.com/media/Uk2SWbNXWDnVe/giphy.gif)\n\n\n\n\n## Installation\n\n\nYou can install the `GomoGomonoMi` package from CRAN with: \n\n\n```{r, eval = F}\n\ninstall.packages(\"GomoGomonoMi\")\n\n```\n\n\n\nYou can install the development version of `GomoGomonoMi` from Github with:\n\n\n```{r, eval=FALSE}\n\ninstall.packages(\"remotes\")\n\nremotes::install_github(\"feddelegrand7/GomoGomonoMi\")\n\n```\n\n## How to use it ? \n\nPut the `use_gomo()` function at the beginning of your Rmd document or Shiny application (at the UI). **This function needs to be run only once** : \n\n```{r}\n\nlibrary(GomoGomonoMi)\n\nuse_gomo()\n\n```\n\nThen you can animate your text using the `gomo_gomo_no()` function. Don't hesitate to use `help(\"gomo_gomo_no\")` to check out additional arguments.\n\n\n\n```{r, eval=FALSE}\nlibrary(GomoGomonoMi)\n\nuse_gomo()\n\ngomo_gomo_no(text = \" \\\"If I give up now, I'm going to regret it\\\" Monkey D. Luffy\", \n             level = \"##\", \n             animation = \"zoomIn\", \n             duration = \"slower\", \n             delay = 2, \n             color = \"darkred\")\n\n```\n\n\n![A demo of the gomo_gomo_no() function](man/figures/gomoexample.gif)\n\n\n\nFor a listing of all the available animations provided by the __Animate.css__ library, use the following function: \n\n\n```{r}\n\navailable_animations()\n\n\n```\n\n\n# Shiny Examples \n\nThis is an example of a Shiny app that uses `GomoGomonoMi`\n\n\n```{r, eval=FALSE}\n\nlibrary(shiny)\nlibrary(GomoGomonoMi)\n\nui \u003c- fluidPage(use_gomo(), \n                \n                \n  gomo_gomo_no(text = \"HELLO SHINY !!!!\", level = \"#\", animation = \"backInDown\", duration = \"slower\")\n            \n\n)\n\nserver \u003c- function(input, output) {\n\n\n}\n\nshinyApp(ui = ui, server = server)\n\n\n```\n\nYou can also leverage the reactivity in shiny to animate some texts using `GomoGomonoMi`: \n\n```{r eval = F}\nlibrary(shiny)\nlibrary(GomoGomonoMi)\n\nui \u003c- fluidPage(use_gomo(), \n    \n    br(),\n    \n    actionButton(inputId = \"btn1\", label = \"click me ! \"), \n    \n    uiOutput(outputId = \"txt1\")\n   \n)\n\nserver \u003c- function(input, output) {\n    \nobserveEvent(input$btn1, {\n    \n    \noutput$txt1 \u003c- renderUI({\n    \n    \n    gomo_gomo_no(text = \"Thank you for clicking me :) !!!\", \n                 level = \"#\", \n                 repeating = 3, \n                 duration = \"faste\")\n\n    \n})\n    \n})\n\n}\n\nshinyApp(ui = ui, server = server)\n\n```\n\n![Example of reactivity with GomoGomonoMi](man/figures/gomoexample2.gif)\n\n\n\n\n\n\n\n\n\n## Code of Conduct\n\n\u003ccenter\u003e\n![](https://media.giphy.com/media/4yfGy8lw0xnCU/giphy.gif)\n\u003c/center\u003e\n\nPlease note that the GomoGomonoMi project is released with a [Contributor Code of Conduct](https://contributor-covenant.org/version/2/0/CODE_OF_CONDUCT.html). By contributing to this project, you agree to abide by its terms.\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffeddelegrand7%2Fgomogomonomi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffeddelegrand7%2Fgomogomonomi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffeddelegrand7%2Fgomogomonomi/lists"}