{"id":17182342,"url":"https://github.com/simoncropp/wafflegenerator","last_synced_at":"2025-05-15T18:03:41.031Z","repository":{"id":32690561,"uuid":"137620270","full_name":"SimonCropp/WaffleGenerator","owner":"SimonCropp","description":"Produces text which, on first glance, looks like real, ponderous, prose; replete with clichés.","archived":false,"fork":false,"pushed_at":"2025-05-14T10:39:13.000Z","size":1011,"stargazers_count":146,"open_issues_count":0,"forks_count":10,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-05-15T18:03:23.085Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SimonCropp.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"license.txt","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":null,"codemeta":null,"zenodo":null},"funding":{"github":"SimonCropp"}},"created_at":"2018-06-17T01:07:18.000Z","updated_at":"2025-05-14T10:39:17.000Z","dependencies_parsed_at":"2024-01-10T03:29:05.730Z","dependency_job_id":"1f52cf55-a25b-4e4a-b4cb-b00d284fe6b0","html_url":"https://github.com/SimonCropp/WaffleGenerator","commit_stats":{"total_commits":928,"total_committers":6,"mean_commits":"154.66666666666666","dds":0.5657327586206897,"last_synced_commit":"cefceae1b2d39b1190ecc9adaef6adfe430a0b14"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimonCropp%2FWaffleGenerator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimonCropp%2FWaffleGenerator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimonCropp%2FWaffleGenerator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimonCropp%2FWaffleGenerator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SimonCropp","download_url":"https://codeload.github.com/SimonCropp/WaffleGenerator/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254394719,"owners_count":22063984,"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-15T00:36:46.849Z","updated_at":"2025-05-15T18:03:40.975Z","avatar_url":"https://github.com/SimonCropp.png","language":"C#","funding_links":["https://github.com/sponsors/SimonCropp"],"categories":[],"sub_categories":[],"readme":"# \u003cimg src=\"/src/icon.png\" height=\"30px\"\u003e WaffleGenerator\n\n[![Build status](https://ci.appveyor.com/api/projects/status/bv3erhc4d2pegpba/branch/main?svg=true)](https://ci.appveyor.com/project/SimonCropp/WaffleGenerator)\n[![NuGet Status](https://img.shields.io/nuget/v/WaffleGenerator.svg?label=WaffleGenerator\u0026cacheSeconds=86400)](https://www.nuget.org/packages/WaffleGenerator/)\n[![NuGet Status](https://img.shields.io/nuget/v/WaffleGenerator.Bogus.svg?label=WaffleGenerator.Bogus\u0026cacheSeconds=86400)](https://www.nuget.org/packages/WaffleGenerator.Bogus/)\n\nProduces text which, on first glance, looks like real, ponderous, prose; replete with clichés.\n\n**See [Milestones](../../milestones?state=closed) for release notes.**\n\nExample content:\n\n```\nThe Aesthetic Of Economico-Social Disposition\n\n\"In this regard, the underlying surrealism of the take home message should not \ndivert attention from The Aesthetic Of Economico-Social Disposition\"\n(Humphrey Yokomoto in The Journal of the Total Entative Item (20044U))\n\nOn any rational basis, a particular factor, such as the functional baseline, the \nanalogy of object, the strategic requirements or the principal overriding programming \nprovides an interesting insight into the complementary functional derivation. \nThis trend may dissipate due to the mensurable proficiency.\n```\n\nThis output can be used in similar way to [Lorem ipsum](https://en.wikipedia.org/wiki/Lorem_ipsum) content, in that it is useful for producing text for build software and producing design mockups.\n\nBased on the awesome work by [Andrew Clarke](https://www.red-gate.com/simple-talk/author/andrew-clarke/) outlined in [The Waffle Generator](https://www.red-gate.com/simple-talk/dotnet/net-tools/the-waffle-generator/).\n\nCode based on [SDGGenerators - Red Gate SQL Data Generator Community Generators](https://archive.codeplex.com/?p=sdggenerators).\n\n\n## Blazor App\n\nThe [Blazing Waffles](http://wafflegen.azurewebsites.net/) app allows the generation of waffle text online.\n\n * Source: https://github.com/gbiellem/BlazingWaffles\n\n\n## Main Package - WaffleGenerator\n\nhttps://nuget.org/packages/WaffleGenerator/\n\n\n### Usage\n\nThe `WaffleEngine` can be used to produce Html, text or Markdown:\n\n\n#### Html\n\n\u003c!-- snippet: htmlUsage --\u003e\n\u003ca id='snippet-htmlUsage'\u003e\u003c/a\u003e\n```cs\nvar text = WaffleEngine.Html(\n    paragraphs: 2,\n    includeHeading: true,\n    includeHeadAndBody: true);\nDebug.WriteLine(text);\n```\n\u003csup\u003e\u003ca href='/src/Tests/WaffleEngineTests.cs#L35-L43' title='Snippet source file'\u003esnippet source\u003c/a\u003e | \u003ca href='#snippet-htmlUsage' title='Start of snippet'\u003eanchor\u003c/a\u003e\u003c/sup\u003e\n\u003c!-- endSnippet --\u003e\n\n\n#### Text\n\n\u003c!-- snippet: textUsage --\u003e\n\u003ca id='snippet-textUsage'\u003e\u003c/a\u003e\n```cs\nvar text = WaffleEngine.Text(\n    paragraphs: 1,\n    includeHeading: true);\nDebug.WriteLine(text);\n```\n\u003csup\u003e\u003ca href='/src/Tests/WaffleEngineTests.cs#L9-L16' title='Snippet source file'\u003esnippet source\u003c/a\u003e | \u003ca href='#snippet-textUsage' title='Start of snippet'\u003eanchor\u003c/a\u003e\u003c/sup\u003e\n\u003c!-- endSnippet --\u003e\n\n\n#### Markdown\n\n\u003c!-- snippet: markdownUsage --\u003e\n\u003ca id='snippet-markdownUsage'\u003e\u003c/a\u003e\n```cs\nvar markdown = WaffleEngine.Markdown(\n    paragraphs: 1,\n    includeHeading: true);\nDebug.WriteLine(markdown);\n```\n\u003csup\u003e\u003ca href='/src/Tests/WaffleEngineTests.cs#L22-L29' title='Snippet source file'\u003esnippet source\u003c/a\u003e | \u003ca href='#snippet-markdownUsage' title='Start of snippet'\u003eanchor\u003c/a\u003e\u003c/sup\u003e\n\u003c!-- endSnippet --\u003e\n\n\n## WaffleGenerator.Bogus\n\nExtends [Bogus](https://github.com/bchavez/Bogus) to use WaffleGenerator.\n\nhttps://nuget.org/packages/WaffleGenerator.Bogus/\n\n\n### Usage\n\nThe entry extension method is `WaffleHtml()` or `WaffleText()` or `WaffleMarkdown()`:\n\n\u003c!-- snippet: BogusUsage --\u003e\n\u003ca id='snippet-BogusUsage'\u003e\u003c/a\u003e\n```cs\nvar faker = new Faker\u003cTarget\u003e()\n    .RuleFor(\n        property: u =\u003e u.Title,\n        setter: (f, u) =\u003e f.WaffleTitle())\n    .RuleFor(\n        property: u =\u003e u.Property1,\n        setter: (f, u) =\u003e f.WaffleHtml())\n    .RuleFor(\n        property: u =\u003e u.Property2,\n        setter: (f, u) =\u003e f.WaffleHtml(\n            paragraphs: 4,\n            includeHeading: true))\n    .RuleFor(\n        property: u =\u003e u.Property3,\n        setter: (f, u) =\u003e f.WaffleText())\n    .RuleFor(\n        property: u =\u003e u.Property4,\n        setter: (f, u) =\u003e f.WaffleText(\n            paragraphs: 4,\n            includeHeading: false));\n\nvar target = faker.Generate();\nDebug.WriteLine(target.Title);\nDebug.WriteLine(target.Property1);\nDebug.WriteLine(target.Property2);\nDebug.WriteLine(target.Property3);\nDebug.WriteLine(target.Property4);\n```\n\u003csup\u003e\u003ca href='/src/Tests/FakerUsage.cs#L12-L42' title='Snippet source file'\u003esnippet source\u003c/a\u003e | \u003ca href='#snippet-BogusUsage' title='Start of snippet'\u003eanchor\u003c/a\u003e\u003c/sup\u003e\n\u003c!-- endSnippet --\u003e\n\n\n## Icon\n\n[Waffle](https://thenounproject.com/term/waffle/836862/) designed by Made by Made from [The Noun Project](https://thenounproject.com/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimoncropp%2Fwafflegenerator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimoncropp%2Fwafflegenerator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimoncropp%2Fwafflegenerator/lists"}