{"id":14066719,"url":"https://github.com/spyrales/shinygouv","last_synced_at":"2025-07-29T23:32:13.054Z","repository":{"id":44559787,"uuid":"511992793","full_name":"spyrales/shinygouv","owner":"spyrales","description":"Design System de l'Etat pour Shiny","archived":false,"fork":false,"pushed_at":"2025-01-27T11:48:19.000Z","size":5602,"stargazers_count":24,"open_issues_count":18,"forks_count":0,"subscribers_count":9,"default_branch":"main","last_synced_at":"2025-07-12T06:39:27.056Z","etag":null,"topics":["dsfr","r","shiny"],"latest_commit_sha":null,"homepage":"https://spyrales.github.io/shinygouv/","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"eupl-1.2","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/spyrales.png","metadata":{"files":{"readme":"README.Rmd","changelog":"NEWS.md","contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":"publiccode.yml","codemeta":null,"zenodo":null}},"created_at":"2022-07-08T18:34:33.000Z","updated_at":"2025-01-22T19:03:43.000Z","dependencies_parsed_at":"2023-12-04T20:01:07.788Z","dependency_job_id":"90c5b368-3f78-4501-80e8-c201dd8c1525","html_url":"https://github.com/spyrales/shinygouv","commit_stats":{"total_commits":216,"total_committers":11,"mean_commits":"19.636363636363637","dds":0.712962962962963,"last_synced_commit":"ba026fff9902518672bca43a88565adcc34acfe4"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/spyrales/shinygouv","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spyrales%2Fshinygouv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spyrales%2Fshinygouv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spyrales%2Fshinygouv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spyrales%2Fshinygouv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/spyrales","download_url":"https://codeload.github.com/spyrales/shinygouv/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spyrales%2Fshinygouv/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267780023,"owners_count":24143201,"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-07-29T02:00:12.549Z","response_time":2574,"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":["dsfr","r","shiny"],"created_at":"2024-08-13T07:05:13.856Z","updated_at":"2025-07-29T23:32:08.036Z","avatar_url":"https://github.com/spyrales.png","language":"R","funding_links":[],"categories":["Uncategorized","R"],"sub_categories":["Uncategorized"],"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# {shinygouv}\n\nLe package `{shinygouv}` permet d'utiliser le [`Système de Design de l'Etat` (DSFR)](https://www.systeme-de-design.gouv.fr/) dans vos applications Shiny.\n\nCela leur donnera ce genre de look :\n\n![](man/figures/look_dsfr.png)\n\nIl s'installe depuis github :\n\n```{r, eval=FALSE}\n# install.packages(\"remotes\")\nremotes::install_github(\"spyrales/shinygouv\")\n```\n\n# Comment utiliser le package\n\nLe package s'utilise comme {shiny}. Voici un exemple minimaliste pour la partie UI:\n\n```{r, eval=FALSE}\nlibrary(shiny)\nlibrary(shinygouv)\napp_ui \u003c- fluidPage_dsfr(\n  header = header_dsfr(\n    intitule = c(\"D\\u00e9mo\", \"de\", \"{shinygouv}\"),\n    nom_site_service = \"Bienvenue sur l\\'application de d\\u00e9monstration de {shinygouv}\",\n    baseline = \"https://github.com/spyrales/shinygouv\"\n  ),\n  title = \"Exemple\",\n  fluidRow_dsfr(\n    column_dsfr(\n      0,\n      fileInput_dsfr(inputId = \"file1\", label = \"Ajouter des fichiers\", message = \"\")\n    )\n  )\n)\nshinyApp(\n  ui = app_ui,\n  server = function(input, output) {\n  }\n)\n```\n\n# Visualiser une application de démonstration comprenant les composants déjà implémentés:\n\n[shinygouv-demo](https://ssm-ecologie.shinyapps.io/shinygouv-demo/)\n\n[shinygouv-demo dev](https://ssm-ecologie.shinyapps.io/shinygouv-demo-dev/), version en cours de developpement\n\n# Contribuer au développement du package\n\nVoir les vignettes à l'intention des développeurs du [site de présentation du packages et de ses fonctions](https://spyrales.github.io/shinygouv/articles/index.html)\n\n# Code of Conduct\n\nNotez svp qu'un Code de conduite ([Contributor Code of Conduct](https://spyrales.github.io/shinygouv/CODE_OF_CONDUCT.html)) encadre la participation au projet {shinygouv}.\n\nEn contribuant à ce projet, vous acceptez de le respecter.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspyrales%2Fshinygouv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspyrales%2Fshinygouv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspyrales%2Fshinygouv/lists"}