{"id":19283065,"url":"https://github.com/vikashchauhan51/random-generator","last_synced_at":"2026-02-14T08:02:40.690Z","repository":{"id":179641438,"uuid":"663801314","full_name":"VikashChauhan51/random-generator","owner":"VikashChauhan51","description":"A library which generates random passwords, numbers, sentences, paragraphs and texts","archived":false,"fork":false,"pushed_at":"2025-01-25T03:41:17.000Z","size":7756,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-13T06:24:03.573Z","etag":null,"topics":["random","random-generation","random-number-generator","random-paragraph-generator","random-password-generator","random-sentences","random-text-generation","random-text-generator"],"latest_commit_sha":null,"homepage":"","language":"C#","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/VikashChauhan51.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"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":"AUTHORS.md","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-07-08T06:10:27.000Z","updated_at":"2025-01-25T03:41:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"8fe5eaed-3174-4337-bbef-f326659eb689","html_url":"https://github.com/VikashChauhan51/random-generator","commit_stats":null,"previous_names":["vikashchauhan51/random-generator"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/VikashChauhan51/random-generator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VikashChauhan51%2Frandom-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VikashChauhan51%2Frandom-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VikashChauhan51%2Frandom-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VikashChauhan51%2Frandom-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/VikashChauhan51","download_url":"https://codeload.github.com/VikashChauhan51/random-generator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VikashChauhan51%2Frandom-generator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29439821,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-14T07:24:13.446Z","status":"ssl_error","status_checked_at":"2026-02-14T07:23:58.969Z","response_time":53,"last_error":"SSL_read: 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":["random","random-generation","random-number-generator","random-paragraph-generator","random-password-generator","random-sentences","random-text-generation","random-text-generator"],"created_at":"2024-11-09T21:29:34.682Z","updated_at":"2026-02-14T08:02:40.661Z","avatar_url":"https://github.com/VikashChauhan51.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RandomGenerator\nA library which generates random passwords, numbers, sentences, paragraphs and texts.\n\n![RandomGenerator Logo](https://github.com/VikashChauhan51/random-generator/blob/main/icon.png \"RandomGenerator Logo\")\n## NuGet\n\nInstall via NuGet: ``` Install-Package RandomGenerator ```\n\n[![Nuget Downloads](https://img.shields.io/nuget/dt/RandomGenerator.svg)](https://www.nuget.org/packages/RandomGenerator)\n\n[Or click here to go to the package landing page](https://www.nuget.org/packages/RandomGenerator)\n\nIt is Compatible with .NET **Core 6.0+**.\n\n[Documents](https://vikashchauhan51.github.io/random-generator/api/RandomGenerator.html)\n## Basic usage\n\n```C#\n// generate random sentence.\n var generator = new RandomSentenceGenerator();\n // maximum number of words in the sentence. Here, the number of words depends on the configured part of speech. if nothing is configured then its return empty string. Defualt all part of speech are configured.\n var result = generator.Generate(10);\n\n```\n```C#\n//generate random paragraph.\nvar generator = new RandomParagraphGenerator();\n// this paragraph contains 3 sentences with words between 5 to 10. The number of words depends on the configured part of speech. if nothing is configured then its return empty string. Defualt all part of speech are configured.\nvar result = generator.Generate(3, 5, 10);\n\n```\n```C#\n//generate random text.\nvar generator = new RandomTextGenerator();\n//this text contains 3 paragraphs with sentences between 3 to 5 to each paragraph and each sentence contains words between 10 to 15. Here, the number of words depends on the configured part of speech. if nothing is configured then its return empty string. Defualt all part of speech are configured.\nvar result = generator.Generate(3, 3, 5, 10, 15);\n\n```\n\n```C#\n// generate random number string (0-9) of specific length.\nnew RandomStringGenerator().GenerateNumberString(15)\n\n```\n\n```C#\n// generate random alphabetic string (a-z,A-Z) of specific length.\nnew RandomStringGenerator().GenerateAlphabeticString(15)\n```\n\n```C#\n// generate random alphnumeric string (a-z,A-Z,0-9) of specific length.\nnew RandomStringGenerator().GenerateAlphaNumbersString(15)\n```\n\n```C#\n// generate random alphnumeric string (a-z,A-Z,0-9) with special characters of specific length.\nnew RandomStringGenerator().GenerateString(15)\n```\n\n```C#\n// generate random password of specific length. this will generate password string up to 256 characters.\nnew RandomPasswordGenerator().Generate(10);\n```\n\n```C#\n// generate random number of specific length.\n// this function can generate a random number of length between 1 to 10.\nRandomNumberGenerator.AbsoluteNumber(10);\n```\n```C#\n// generate random number of specific length.\n// this function can generate a random number of length between 1 to 19.\nRandomNumberGenerator.AbsoluteLong(10);\n```\n\n```C#\n// generate random unique number.\nRandomNumberGenerator.Number();\n```\n\n```C#\n// generate random password of specific length with configuration.\nvar password = new RandomPasswordGenerator()\n            .IncludeNumeric(true)\n            .IncludeLowercase(true)\n            .IncludeUppercase(true)\n            .IncludeSpecial(true)\n            .Generate(10);\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvikashchauhan51%2Frandom-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvikashchauhan51%2Frandom-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvikashchauhan51%2Frandom-generator/lists"}