{"id":30044822,"url":"https://github.com/reallukee/confole","last_synced_at":"2026-01-20T17:53:08.039Z","repository":{"id":307499032,"uuid":"1012767858","full_name":"reallukee/confole","owner":"reallukee","description":"🎨 Una libreria funzionale per applicazioni console F#","archived":false,"fork":false,"pushed_at":"2025-07-31T13:39:06.000Z","size":57,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-31T17:32:37.799Z","etag":null,"topics":["console","fsharp","library"],"latest_commit_sha":null,"homepage":"","language":"F#","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/reallukee.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,"zenodo":null}},"created_at":"2025-07-02T21:14:12.000Z","updated_at":"2025-07-31T13:39:10.000Z","dependencies_parsed_at":"2025-07-31T17:34:22.676Z","dependency_job_id":"a15dceb7-86ca-4383-a84c-ab5436468ec7","html_url":"https://github.com/reallukee/confole","commit_stats":null,"previous_names":["reallukee/confole"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/reallukee/confole","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reallukee%2Fconfole","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reallukee%2Fconfole/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reallukee%2Fconfole/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reallukee%2Fconfole/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/reallukee","download_url":"https://codeload.github.com/reallukee/confole/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reallukee%2Fconfole/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269213745,"owners_count":24379505,"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","status":"online","status_checked_at":"2025-08-07T02:00:09.698Z","response_time":73,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["console","fsharp","library"],"created_at":"2025-08-07T07:00:54.980Z","updated_at":"2025-12-24T12:43:11.244Z","avatar_url":"https://github.com/reallukee.png","language":"F#","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n\u003cimg src=\"./assets/confole.png\" alt=\"confole.png\" width=\"256px\" height=\"256px\" /\u003e\n\n# Confole\n\n![GitHub License](https://img.shields.io/github/license/reallukee/confole)\n![GitHub Release](https://img.shields.io/github/v/release/reallukee/confole?include_prereleases)\n![GitHub Build Workflow](https://img.shields.io/github/actions/workflow/status/reallukee/confole/build.yml)\n\n🎨 Abbellisci la tua app console F# in modo funzionale\n\n[Iniziamo](#iniziamo)\n•\n[Download](#download)\n•\n[Compilazione](#compilazione)\n•\n[Autore](#autore)\n•\n[Licenza](#licenza)\n\n\n\n### Sì tutto ok, ma la [documentazione](./DOCS.md)?\n\n\u003c/div\u003e\n\n\n\n# Iniziamo\n\n* [F#](#f)\n* [C#](#c)\n\n\n\n## F#\n\n### Usando i template\n\n1. Installa `Confole.Templates` tramite `NuGet`:\n\n    ```\n    dotnet new install Reallukee.Confole.Templates\n    ```\n\n2. Crea un nuovo progetto da template:\n\n    ```\n    dotnet new confole-app --language F# --name MyApp\n    ```\n\n    È possibile anche usare le API in stile *imperativo*:\n\n    ```\n    dotnet new confole-app --language F# --name MyApp --mode imperative\n    ```\n\n3. Esegui il template!\n\n    ```\n    dotnet run MyApp\n    ```\n\n### Usando le mani\n\n1. Installa `Confole` tramite `NuGet`:\n\n    ```\n    dotnet add package Reallukee.Confole\n    ```\n\n2. Incolla l'esempio minimale dell'uso dell'API di `Confole`:\n\n    ```fsharp\n    open System\n\n    open Reallukee.Confole\n\n    let formats =\n        Format.init ()\n        |\u003e Format.italic          true\n        |\u003e Format.foregroundColor (Color.RGB (255, 0, 0))\n        |\u003e Format.backgroundColor (Color.RGB (0, 0, 255))\n\n    Format.applyAllNewLine \"Hello, World!\" formats\n\n    do Console.ReadKey(true)\n    |\u003e ignore\n\n    Format.reset \"\"\n    ```\n\n    È possibile anche usare le API in stile *imperativo*:\n\n    ```fsharp\n    open System\n\n    open Reallukee.Confole\n\n    Format.doForegroundColor \"\" (Color.RGB (255, 0, 0))\n    Format.doBackgroundColor \"\" (Color.RGB (0, 0, 255))\n    Format.doBold \"Hello, World!\" true\n\n    printfn \"\"\n\n    do Console.ReadKey(true)\n    |\u003e ignore\n\n    Format.reset \"\"\n    ```\n\n3. Esegui il progetto!\n\n    ```\n    dotnet run\n    ```\n\n\n\n## C#\n\n\u003e [!IMPORTANT]\n\u003e `Confole.Sharp` è wrapper OOP di `Confole`!\n\n\u003e [!NOTE]\n\u003e `Confole.Sharp` **INCLUDE** tutte le funzionalità di `Confole`!\n\n### Usando i template\n\n1. Installa `Confole.Templates` tramite `NuGet`:\n\n    ```\n    dotnet new install Reallukee.Confole.Templates\n    ```\n\n2. Crea un nuovo progetto da template:\n\n    ```\n    dotnet new confole-app --language C# --name MyApp\n    ```\n\n    È possibile anche usare le API in modo *statico*:\n\n    ```\n    dotnet new confole-app --language C# --name MyApp --mode static\n    ```\n\n3. Esegui il template!\n\n    ```\n    dotnet run MyApp\n    ```\n\n### Usando le mani\n\n1. Installa `Confole.Sharp` tramite `NuGet`:\n\n    ```\n    dotnet add package Reallukee.Confole.Sharp\n    ```\n\n2. Incolla l'esempio minimale dell'uso dell'API di `Confole.Sharp`:\n\n    ```csharp\n    using System;\n\n    using Reallukee.Confole.Sharp;\n\n    Formats formats = new Formats();\n\n    formats.AddItalic(true)\n           .AddForegroundColor(new RGBColor(255, 0, 0))\n           .AddBackgroundColor(new RGBColor(0, 0, 255));\n\n    formats.ApplyAll(\"Hello, World!\", true);\n\n    Console.ReadKey(true);\n\n    formats.Reset(\"\");\n    ```\n\n    È possibile anche usare le API in modo *statico*:\n\n    ```csharp\n    using System;\n\n    using Reallukee.Confole.Sharp;\n\n    Formats.DoForegroundColor(\"\", new RGBColor(255, 0, 0));\n    Formats.DoBackgroundColor(\"\", new RGBColor(0, 0, 255));\n    Formats.DoItalic(\"Hello, World!\", true);\n\n    Console.WriteLine();\n\n    Console.ReadKey(true);\n\n    Formats.DoReset(\"\");\n    ```\n\n3. Esegui il progetto!\n\n    ```\n    dotnet run\n    ```\n\n\n\n# Download\n\n## Da GitHub\n\n\u003e [Download da GitHub](https://github.com/reallukee/confole/releases/latest/)\n\n## Da NuGet\n\n| Pacchetto                                                                         | Versione                                                                     | Downloads                                                                       |\n| :-------------------------------------------------------------------------------- | :--------------------------------------------------------------------------- | :------------------------------------------------------------------------------ |\n| [`Confole`](https://www.nuget.org/packages/Reallukee.Confole)                     | ![NuGet Version](https://img.shields.io/nuget/v/Reallukee.Confole)           | ![NuGet Downloads](https://img.shields.io/nuget/dt/Reallukee.Confole)           |\n| [`Confole#`](https://www.nuget.org/packages/Reallukee.Confole.Sharp)              | ![NuGet Version](https://img.shields.io/nuget/v/Reallukee.Confole.Sharp)     | ![NuGet Downloads](https://img.shields.io/nuget/dt/Reallukee.Confole.Sharp)     |\n| [`Confole Templates`](https://www.nuget.org/packages/Reallukee.Confole.Templates) | ![NuGet Version](https://img.shields.io/nuget/v/Reallukee.Confole.Templates) | ![NuGet Downloads](https://img.shields.io/nuget/dt/Reallukee.Confole.Templates) |\n\n\n\n# Compilazione\n\n## 0. Requisiti\n\n### Compilazione\n\n\u003e [!TIP]\n\u003e .NET 8.0+ SDK consigliata!\n\n* .NET Core 2.0+ SDK o .NET 5.0+ SDK\n* PowerShell 7+ (Per gli script)\n\n### Compatibilità\n\nConfole ha come target [.NET Standard 2.0](https://learn.microsoft.com/dotnet/standard/net-standard?tabs=net-standard-2-0)!\n\nSono quindi supportati i seguenti runtime:\n\n* .NET Framework 4.6.1+\n* .NET Core 2.0+ o .NET 5.0+\n* Mono 5.4 o Mono 6.4\n\n\u003e [!NOTE]\n\u003e Per maggiori informazioni [qui](https://learn.microsoft.com/dotnet/standard/net-standard?tabs=net-standard-2-0#select-net-standard-version)!\n\n\n\n## 1. Sorgente\n\n* [Usando `git`](#usando-git)\n* [Usando `GitHub`](#usando-github)\n\n### Usando `git`\n\n```\ngit clone https://github.com/reallukee/confole.git\n```\n\n### Usando `GitHub`\n\n\u003e [Download da GitHub](https://github.com/reallukee/confole/archive/main.zip)\n\n\n\n## 2. Compilazione\n\n### Usando *PowerShell*\n\n\u003e [!TIP]\n\u003e *PowerShell* è la scelta ideale in ambienti .NET oriented!\n\n```pwsh\ncd .\\confole\\scripts\\\n```\n\nSolo compilazione:\n\n```pwsh\n.\\build.ps1\n```\n\nCompilazione + Pacchettizzazione:\n\n```pwsh\n.\\pack.ps1\n```\n\n### Usando le mani\n\n```bash\ncd confole\n```\n\nSolo compilazione:\n\n```bash\ndotnet build confole.slnx --configuration Release\n\ndotnet build ./confole --configuration Release\ndotnet build ./confole.sharp --configuration Release\ndotnet build ./confole.templates --configuration Release\n```\n\nCompilazione + Pacchettizzazione:\n\n```bash\ndotnet pack confole.slnx --configuration Release\n\ndotnet pack ./confole --configuration Release\ndotnet pack ./confole.sharp --configuration Release\ndotnet pack ./confole.templates --configuration Release\n```\n\n\n\n# Autore\n\n* [Luca Pollicino](https://github.com/reallukee/)\n\n\n\n# Licenza\n\nLicenza [MIT](./LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freallukee%2Fconfole","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freallukee%2Fconfole","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freallukee%2Fconfole/lists"}