{"id":13629582,"url":"https://github.com/drewnoakes/figgle","last_synced_at":"2025-05-15T10:06:28.909Z","repository":{"id":48361692,"uuid":"102252290","full_name":"drewnoakes/figgle","owner":"drewnoakes","description":"ASCII banner generation for .NET","archived":false,"fork":false,"pushed_at":"2024-07-25T03:19:15.000Z","size":1090,"stargazers_count":452,"open_issues_count":5,"forks_count":45,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-04-14T16:56:12.564Z","etag":null,"topics":["ascii-art","ascii-fonts","banner-generator","banners","figlet"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/drewnoakes.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"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}},"created_at":"2017-09-03T08:56:03.000Z","updated_at":"2025-04-12T00:50:04.000Z","dependencies_parsed_at":"2024-08-01T22:52:07.809Z","dependency_job_id":null,"html_url":"https://github.com/drewnoakes/figgle","commit_stats":{"total_commits":106,"total_committers":4,"mean_commits":26.5,"dds":"0.047169811320754707","last_synced_commit":"a2bf23f7a00a9ae66d12dc14f308cd55637f73a9"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drewnoakes%2Ffiggle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drewnoakes%2Ffiggle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drewnoakes%2Ffiggle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drewnoakes%2Ffiggle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/drewnoakes","download_url":"https://codeload.github.com/drewnoakes/figgle/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254319718,"owners_count":22051072,"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":["ascii-art","ascii-fonts","banner-generator","banners","figlet"],"created_at":"2024-08-01T22:01:14.161Z","updated_at":"2025-05-15T10:06:23.891Z","avatar_url":"https://github.com/drewnoakes.png","language":"C#","funding_links":[],"categories":["others","Source Generators","Content","C\\#","Libraries \u0026 SDKs"],"sub_categories":["Console / CLI","200. [Figgle](https://ignatandrei.github.io/RSCG_Examples/v2/docs/Figgle) , in the [Console](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#console) category",".NET"],"readme":"```                       \n _____ _         _     \n|   __|_|___ ___| |___ \n|   __| | . | . | | -_|\n|__|  |_|_  |_  |_|___|\n        |___|___|      \n```\n\n[![Figgle Build Status](https://ci.appveyor.com/api/projects/status/2vvwieg2ou7pkhst?svg=true)](https://ci.appveyor.com/project/drewnoakes/figgle)\n[![Figgle NuGet version](https://img.shields.io/nuget/v/Figgle)](https://www.nuget.org/packages/Figgle/)\n[![Figgle NuGet download count](https://img.shields.io/nuget/dt/Figgle)](https://www.nuget.org/packages/Figgle/)\n\n## ASCII banner generation for .NET\n\n```c#\nConsole.WriteLine(\n    FiggleFonts.Standard.Render(\"Hello, World!\"));\n```\n\nProduces...\n\n```\n  _   _      _ _         __        __         _     _ _\n | | | | ___| | | ___    \\ \\      / /__  _ __| | __| | |\n | |_| |/ _ \\ | |/ _ \\    \\ \\ /\\ / / _ \\| '__| |/ _` | |\n |  _  |  __/ | | (_) |    \\ V  V / (_) | |  | | (_| |_|\n |_| |_|\\___|_|_|\\___( )    \\_/\\_/ \\___/|_|  |_|\\__,_(_)\n                     |/\n```\n\nAlternatively, use Figgle's source generator to generate output during compilation, so you don't need to ship Figgle binaries with your app. See below for details.\n\nThe library bundles 265 [FIGlet](http://www.figlet.org/) [fonts](http://www.jave.de/figlet/fonts.html). You can add your own if that's not enough! \n\n## Installation\n\nAvailable via [NuGet](https://www.nuget.org/packages/Figgle/):\n\n\u003eInstall-Package Figgle\n\nTargets .NET Standard 2.0, so runs pretty much anywhere. If you require .NET Standard 1.3, use package version 0.4.1.\n\n## Other samples\n\nUsing `FiggleFonts.Graffiti`:\n\n```\n  ___ ___         .__  .__               __      __            .__       .___._.\n /   |   \\   ____ |  | |  |   ____      /  \\    /  \\___________|  |    __| _/| |\n/    ~    \\_/ __ \\|  | |  |  /  _ \\     \\   \\/\\/   /  _ \\_  __ \\  |   / __ | | |\n\\    Y    /\\  ___/|  |_|  |_(  \u003c_\u003e )     \\        (  \u003c_\u003e )  | \\/  |__/ /_/ |  \\|\n \\___|_  /  \\___  \u003e____/____/\\____/  /\\   \\__/\\  / \\____/|__|  |____/\\____ |  __\n       \\/       \\/                   )/        \\/                         \\/  \\/\n```\n\nUsing `FiggleFonts.ThreePoint`:\n\n```\n|_| _ || _    \\    / _  _| _||\n| |(/_||(_),   \\/\\/ (_)| |(_|.\n```\n\nUsing `FiggleFonts.Ogre`:\n\n```\n            _ _          __    __           _     _   _ \n  /\\  /\\___| | | ___    / / /\\ \\ \\___  _ __| | __| | / \\\n / /_/ / _ \\ | |/ _ \\   \\ \\/  \\/ / _ \\| '__| |/ _` |/  /\n/ __  /  __/ | | (_) |   \\  /\\  / (_) | |  | | (_| /\\_/ \n\\/ /_/ \\___|_|_|\\___( )   \\/  \\/ \\___/|_|  |_|\\__,_\\/   \n                    |/                                  \n```\n\nUsing `FiggleFonts.Rectangles`:\n\n```\n                                            __ \n _____     _ _          _ _ _         _   _|  |\n|  |  |___| | |___     | | | |___ ___| |_| |  |\n|     | -_| | | . |_   | | | | . |  _| | . |__|\n|__|__|___|_|_|___| |  |_____|___|_| |_|___|__|\n                  |_|                          \n```\n\nUsing `FiggleFonts.Slant`:\n\n```\n    __  __     ____           _       __           __    ____\n   / / / /__  / / /___       | |     / /___  _____/ /___/ / /\n  / /_/ / _ \\/ / / __ \\      | | /| / / __ \\/ ___/ / __  / / \n / __  /  __/ / / /_/ /      | |/ |/ / /_/ / /  / / /_/ /_/  \n/_/ /_/\\___/_/_/\\____( )     |__/|__/\\____/_/  /_/\\__,_(_)   \n                     |/                                      \n```\n\n## Loading external fonts\n\nFiggle ships with a bunch of fonts (in the `FiggleFonts` class). If you prefer, you can load your own.\n\nHere's an example that loads a font from disk and renders some text with it:\n\n```c#\nusing var fontStream = System.IO.File.OpenRead(\"myfont.flf\");\nvar font = FiggleFontParser.Parse(fontStream);\nvar text = font.Render(\"Hello World, from My Font\");\n```\n\n## Using the Source Generator\n\nIf the text you want Figgle to render is known at compile time, this section is for you.\n\nInstead of having Figgle render text at runtime, you can use Figgle's _source generator_ to\ndo the rendering at compile time. This has two benefits:\n\n- Faster runtime performance, as no Figgle code is executed\n- Less memory consumption, as no Figgle code is loaded\n- Smaller application footprint, as you don't need to ship Figgle binaries\n\nIn your code:\n\n```c#\nusing Figgle;\n\nnamespace MyNamespace\n{\n    [GenerateFiggleText(\"HelloWorldString\", \"blocks\", \"Hello world\")]\n    internal partial class MyClass\n    {\n    }\n}\n```\n\nBy adding this attribute to a partial class, Figgle will automatically generate the corresponding\nmember in another part of the partial class, resembling:\n\n```c#\nnamespace MyNamespace\n{\n    partial class MyClass\n    {\n        public static string HelloWorldString { get; } = \"...rendered text here...\";\n    }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrewnoakes%2Ffiggle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdrewnoakes%2Ffiggle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrewnoakes%2Ffiggle/lists"}