{"id":22235653,"url":"https://github.com/phoenixatom/dhivatarsharp","last_synced_at":"2025-07-25T05:08:56.361Z","repository":{"id":214044604,"uuid":"695940051","full_name":"phoenixatom/DhivatarSharp","owner":"phoenixatom","description":"- Dhivehi Avatars, ported Dhivatars to .NET","archived":false,"fork":false,"pushed_at":"2023-09-24T17:45:55.000Z","size":40,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-30T08:43:31.938Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/phoenixatom.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,"governance":null,"roadmap":null,"authors":null}},"created_at":"2023-09-24T17:10:51.000Z","updated_at":"2023-09-25T04:03:19.000Z","dependencies_parsed_at":"2023-12-25T12:26:10.449Z","dependency_job_id":"a70c1698-b4b5-4bb0-b365-b47be6006500","html_url":"https://github.com/phoenixatom/DhivatarSharp","commit_stats":null,"previous_names":["phoenixatom/dhivatarsharp"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phoenixatom%2FDhivatarSharp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phoenixatom%2FDhivatarSharp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phoenixatom%2FDhivatarSharp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phoenixatom%2FDhivatarSharp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phoenixatom","download_url":"https://codeload.github.com/phoenixatom/DhivatarSharp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245433535,"owners_count":20614507,"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-12-03T02:14:58.645Z","updated_at":"2025-03-25T09:25:42.954Z","avatar_url":"https://github.com/phoenixatom.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DhivatarGenerator\n\nGenerates avatars from dhivehi names or strings.\n\n## Installation \nThis package can be installed directly from NuGet [here](https://www.nuget.org/packages/DhivatarGenerator/1.0.0)\n\n### .NET CLI \n`dotnet add package DhivatarGenerator --version 1.0.0`\n### PM \n`NuGet\\Install-Package DhivatarGenerator -Version 1.0.0`\n\n## Generating Dhivatars\nOnce you've installed the Dhivatar Generator package, you can start generating Dhivatars in your code. Here's a basic example of how to generate a Dhivatar:\n\n```csharp\nusing System.Drawing;\nusing DhivatarGenerator;\n\nclass Program\n{\n    static void Main(string[] args)\n    {\n        // Name - REQUIRED\n        string name = \"މުހައްމަދު އަލީ\";\n\n        // Other customizable settings\n        int size = 200;\n        Color bgColor = Color.LightBlue;\n        Color fontColor = Color.DarkSlateGray;\n        string fontName = \"my-custom-font.ttf\";\n        string fileType = \"JPEG\";\n\n        // Generate Image\n        byte[] dhivatarImage = Dhivatar.Generate(name, size, bgColor, fontColor, fontName, fileType);\n    }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphoenixatom%2Fdhivatarsharp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphoenixatom%2Fdhivatarsharp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphoenixatom%2Fdhivatarsharp/lists"}