{"id":22752085,"url":"https://github.com/jack-davison/lipsum","last_synced_at":"2025-10-16T05:39:26.926Z","repository":{"id":191404608,"uuid":"684580107","full_name":"jack-davison/lipsum","owner":"jack-davison","description":"Generate placeholder text through R","archived":false,"fork":false,"pushed_at":"2024-01-08T08:15:05.000Z","size":5477,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-05T08:51:29.242Z","etag":null,"topics":["lorem-ipsum","r","rpackage"],"latest_commit_sha":null,"homepage":"https://jack-davison.github.io/lipsum/","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jack-davison.png","metadata":{"files":{"readme":"README.Rmd","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","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}},"created_at":"2023-08-29T12:35:35.000Z","updated_at":"2023-08-30T05:28:16.000Z","dependencies_parsed_at":"2024-01-15T19:43:45.367Z","dependency_job_id":"7506ac5a-4bce-4458-a628-f93b0b896c1a","html_url":"https://github.com/jack-davison/lipsum","commit_stats":{"total_commits":29,"total_committers":1,"mean_commits":29.0,"dds":0.0,"last_synced_commit":"7b7d69bc4dcd1eb1a12553a02f45b035a55ccc39"},"previous_names":["jack-davison/lipsum"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jack-davison%2Flipsum","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jack-davison%2Flipsum/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jack-davison%2Flipsum/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jack-davison%2Flipsum/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jack-davison","download_url":"https://codeload.github.com/jack-davison/lipsum/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246285668,"owners_count":20752953,"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":["lorem-ipsum","r","rpackage"],"created_at":"2024-12-11T05:09:35.337Z","updated_at":"2025-10-16T05:39:21.897Z","avatar_url":"https://github.com/jack-davison.png","language":"R","funding_links":[],"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# lipsum: access a variety of placeholder text APIs \u003ca href=\"https://jack-davison.github.io/lipsum/\"\u003e\u003cimg src=\"man/figures/logo.png\" align=\"right\" height=\"134\" /\u003e\u003c/a\u003e\n\n\u003c!-- badges: start --\u003e\n[![R-CMD-check](https://github.com/jack-davison/lipsum/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/jack-davison/lipsum/actions/workflows/R-CMD-check.yaml)\n[![CRAN status](https://www.r-pkg.org/badges/version/lipsum)](https://CRAN.R-project.org/package=lipsum)\n\u003c!-- badges: end --\u003e\n\nThe goal of lipsum is to get easy access to several \"Lorem Ipsum\" web APIs to simply generate customisable placeholder text. In the R world, this will most likely commonly be used within RMarkdown/Quarto documents and Shiny apps.\n\nThe `{lorem}` package also serves a similar purpose, but `{lipsum}`'s interfacing with a variety of APIs may allow for more flexible placeholder outputs. For example, the `lipsum_loripsum()` function gives a lot of control of the kinds of features the placeholder text should have (for example, lists, links, headers, and so on).\n\n`{lipsum}` owes a lot to the [awesome-ipsum](https://github.com/templeman/awesome-ipsum) list, and uses its same categorisations:\n\n* **Practical**, which are placeholder generators that are most useful for \"professional\" settings. These either generate text in Latin, or business-sounding text like newspaper articles.\n\n* **Whimsical**, which are more playful generators which impersonate celebrities, list the names of dinosaurs, use profanity, and so on. These are perhaps more appropriate for personal projects!\n\n## 💻 Installation\n\nYou can install the development version of `{lipsum}` like so:\n\n``` r\n#install.packages(\"pak\")\npak::pak(\"jack-davison/lipsum\")\n```\n\n## 🖱️ Example\n\nSome examples of `{lipsum}` functions are shown below.\n\n### 💼 Practical\n\nThe below code generates example lorem ipsum generated using the [loripsum API](https://loripsum.net). This is the most useful, customisable function in the package, and is probably most appropriate for professional use.\n\n```{r example}\nipsum \u003c- lipsum::lipsum_loripsum(n = 3, decorate = TRUE, ol = TRUE, bq = TRUE)\n```\n\nIn R, the output looks like this:\n\n```{r r, results='markup'}\nipsum\n```\n\nUsing GitHub markdown, this ends up looking like:\n\n`r ipsum`\n\n### 🦕 Whimsical\n\nAs well as the practical lorem ipsum generators, there are a few \"whimsical\" generators that are a bit more fun. For example, `lipsum_dino()` generates a load of dinosaur names.\n\n```{r dinosaurs}\ndinosaurs \u003c- lipsum::lipsum_dino(n_paras = 3L, n_words = 10L)\n```\n\n`r dinosaurs`\n\nOn the other hand, `lipsum_actor()` generates some text as if it were being spoken by a famous person or character from pop culture. The API behind this function gives no control over which voice you are receiving, so the one below is chosen completely at random!\n\n```{r actor}\nactor \u003c- lipsum::lipsum_actor(n = 3L)\n```\n\n`r actor`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjack-davison%2Flipsum","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjack-davison%2Flipsum","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjack-davison%2Flipsum/lists"}