{"id":17086143,"url":"https://github.com/kach/englipsum","last_synced_at":"2026-05-15T13:34:08.446Z","repository":{"id":21507954,"uuid":"24826980","full_name":"kach/englipsum","owner":"kach","description":"Usable loremtext","archived":false,"fork":false,"pushed_at":"2014-10-07T03:41:36.000Z","size":188,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"gh-pages","last_synced_at":"2025-10-30T22:53:39.022Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/kach.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-10-05T21:38:31.000Z","updated_at":"2016-12-04T17:32:30.000Z","dependencies_parsed_at":"2022-08-21T16:01:11.591Z","dependency_job_id":null,"html_url":"https://github.com/kach/englipsum","commit_stats":null,"previous_names":["hardmath123/englipsum"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kach/englipsum","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kach%2Fenglipsum","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kach%2Fenglipsum/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kach%2Fenglipsum/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kach%2Fenglipsum/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kach","download_url":"https://codeload.github.com/kach/englipsum/tar.gz/refs/heads/gh-pages","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kach%2Fenglipsum/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33068565,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-15T11:35:32.926Z","status":"ssl_error","status_checked_at":"2026-05-15T11:35:31.362Z","response_time":103,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-10-14T13:27:38.384Z","updated_at":"2026-05-15T13:34:08.431Z","avatar_url":"https://github.com/kach.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Englipsum\n\nSee http://hardmath123.github.io/englipsum.\n\n## Usage\n\nSimply include `englipsum.js` in your HTML file:\n\n```html\n\u003cscript src=\"https://github.com/Hardmath123/englipsum/raw/gh-pages/englipsum.js\"\u003e\u003c/script\u003e\n```\nOR (an easy-to-remember-but-not-guaranteed-to-always-exist alternative)\n```html\n\u003cscript src=\"http://is.gd/englipsum\"\u003e\u003c/script\u003e\n```\nOR (an it-works-offline-but-I-need-to-download-a-file alternative)\n```html\n$ curl https://github.com/Hardmath123/englipsum/raw/gh-pages/englipsum.js \u003e englipsum.js\n\u003cscript src=\"englipsum.js\"\u003e\u003c/script\u003e\n\n```\n\nElements of class `englipsum` will be populated with placeholder text automatically.\n\n```html\n\u003cdiv class=\"englipsum\"\u003e\u003c/div\u003e\n```\n\nYou can customize settings by including JSON in the element:\n\n```html\n\u003cdiv class=\"englipsum\"\u003e\n{\n    \"paragraphs\": 3,\n    \"links\": true\n}\n\u003c/div\u003e\n```\n\n## Reference\n\n| Property     | Value |\n| ------------ | ----- |\n| `paragraphs` | The number of paragraphs to generate |\n| `sentences`  | The number of sentences per paragraph |\n| `links`      | Generate random links? (they are uniquely stamped so that testing `a:visited` is easy) |\n| `ems`        | Italicize random words? |\n| `dict`       | Provide your own dictionary. Object with fields (all optional) `nouns`, `verbs`, `adjs`, `advs` |\n| `dict`       | Reference a provided dictionary. Possible values: `\"farm\"` |\n\n## Examples\n\nCreate a to-do list:\n\n```html\n\u003col\u003e\n    \u003cli class=\"englipsum\"\u003e {\"sentences\": 1, \"paragraphs\": 1}\u003c/li\u003e\n    \u003cli class=\"englipsum\"\u003e {\"sentences\": 1, \"paragraphs\": 1}\u003c/li\u003e\n    \u003cli class=\"englipsum\"\u003e {\"sentences\": 1, \"paragraphs\": 1}\u003c/li\u003e\n    \u003cli class=\"englipsum\"\u003e {\"sentences\": 1, \"paragraphs\": 1}\u003c/li\u003e\n\u003c/ol\u003e\n```\n\nPlaceholder text about animals:\n\n```html\n\u003cdiv class=\"englipsum\"\u003e\n{\n    \"dict\": {\n        \"nouns\": [\"cow\", \"pig\", \"sheep\", \"fish\"],\n        \"verbs\": [\"eats\", \"hunts\", \"protects\", \"kills\", \"loves\", \"adores\", \"licks\"]\n    }\n}\n\u003c/div\u003e\n```\n\n## How does this thing work?\n\nShort answer: by not using Markov chains.\n\nLess short answer: Englipsum contains lots of templates, which reference other templates recursively (for example, the template for a sentence references the template for a noun and a verb). The generator walks this template-tree, choosing random paths when asked to branch. It's the opposite of parsing.\n\n## Node\n\nEnglipsum is published on `npm`. I'm not sure how it'll help you, but feel free to `npm install englipsum`. Maybe someone will invent a good lipsum command-line tool someday.\n\n## Contributing\n\nYeah. PRs are appreciated. Ideally, there would be larger dictionaries, and more phrases.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkach%2Fenglipsum","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkach%2Fenglipsum","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkach%2Fenglipsum/lists"}