FsLibLog VS Giraffe

Compare FsLibLog vs Giraffe and see what are their differences.


FsLibLog is a single file you can copy paste or add through Paket Github dependencies to provide your F# library with a logging abstraction. This is a port of the C# LibLog. (by TheAngryByrd)
Our great sponsors
  • SonarQube - Static code analysis for 29 languages.
  • Scout APM - Less time debugging, more time building
  • SaaSHub - Software Alternatives and Reviews
FsLibLog Giraffe
1 13
44 1,769
- 1.0%
5.9 4.5
24 days ago about 1 month ago
F# F#
MIT License Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.


Posts with mentions or reviews of FsLibLog. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-11-10.


Posts with mentions or reviews of Giraffe. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-04-02.
  • If you were to create a Web API today from scratch how would you do it ?
    7 projects | reddit.com/r/dotnet | 2 Apr 2022
    Backend: Most likely it would be a toss between https://saturnframework.org or https://giraffe.wiki. They both combins the extremely good type system in F# combined with the ease of a minimal API.
  • Is it possible to run C# asp.net core MVC and f# giraffe in a single solution
    1 project | reddit.com/r/fsharp | 21 Feb 2022
    I was wondering if its possible to simultaneously run a C# core MVC project in combination with https://github.com/giraffe-fsharp/Giraffe
  • Overriding JSON serializer in Giraffe
    2 projects | dev.to | 4 Jan 2022
    By default Giraffe, the framework which I use as a web server, uses Newtonsoft.Json to serialize results to JSON. However, for discriminated union, it generates quite a lot of JSON so I've switched to System.Text.Json which is built into newer versions of .Net Core. In combination with FSharp.SystemTextJson package allows serializing discriminated unions more gracefully. All we need is to decorate Branch type with JsonFSharpConverter(JsonUnionEncoding.BareFieldlessTags) attribute.
  • Introducing Giraffe.Htmx
    7 projects | dev.to | 26 Nov 2021
    Giraffe is a library that sits atop ASP.NET Core and allows developers to build web applications in a functional style; dotnet new giraffe is literally my starting point when I begin a new web application project. (Rather than write three more sentences filled with effusive praise, I’ll just leave it at that; it’s great.) It also provides a view engine (that builds upon Suave‘s “experimental” view engine) which uses an F# DSL to define HTML in a strongly-typed way. It has been incredibly efficient for a while, but with .NET’s work over the past two releases at improving performance, and Giraffe’s adoption of those techniques, it is lightning fast.
  • Show HN: F# web server in 3-4 lines of code
    8 projects | news.ycombinator.com | 5 Nov 2021
    Wrapping ASP.NET Core to be easier and more idiomatic with F# seems to be a common domain. Out of curiosity, did you look at any existing projects? If so, what was lacking from them that made you decide to write WebFrame?

    Giraffe: https://github.com/giraffe-fsharp/Giraffe

    8 projects | news.ycombinator.com | 5 Nov 2021
    You don't have to use asp.net directly in F# - there's been a long-standing library wrapping it in a more functional aesthetic with Giraffe: https://github.com/giraffe-fsharp/Giraffe

    Not to discourage you or anything - always good to see alternatives. Personally, for FP web programming, the closer to the "your server as a function" ideal the better - so I'd prefer Giraffe in this case, for things like the router being an HttpHandler instead of being a property on the app. It's just way more intuitive from an FP standpoint and produces neater, more self-contained code, IMO.

  • What I wish I knew when learning F#
    10 projects | news.ycombinator.com | 14 Oct 2021
    I was thinking as a strategy that would impact the way all libraries are build. In my example I posted above, there is no dotnet code showing. Its all abstracted. Libraries should create new APIs that are just wrappers around the dotnet library.

    Whereas, if you look at the examples in the Giraffe framework, you need to do a bunch of dotnet boilerplate. https://github.com/giraffe-fsharp/Giraffe#doing-it-manually

      open System
  • Minimal APIs at a glance in .NET 6
    6 projects | news.ycombinator.com | 13 Sep 2021
  • Hey Rustaceans! Got an easy question? Ask here (31/2021)!
    4 projects | reddit.com/r/rust | 4 Aug 2021
    I'm looking for a web framework that's built around composability. Specifically, I'm thinking of something along the lines of the "Your Server as a Function" paradigm: good examples are OCaml's Dream, Kotlin's http4k and F#'s Giraffe. I looked this up and in an earlier post someone mentioned Actix. Apart from actix, is there any other framework like this that generally stays out of your way?
  • Giraffe.GoodRead, Giraffe.QueryReader, Giraffe.JsonTherapy and Fable.Remoting.Giraffe Releases 🦒🔷🚀
    1 project | reddit.com/r/fsharp | 3 Jun 2021
    Some updates for the Giraffe libraries maintained by him 🦒

What are some alternatives?

When comparing FsLibLog and Giraffe you can also consider the following projects:

Suave.IO - Suave is a simple web development F# library providing a lightweight web server and a set of combinators to manipulate route flow and task composition.

Saturn - Opinionated, web development framework for F# which implements the server-side, functional MVC pattern

ASP.NET Core - ASP.NET Core is a cross-platform .NET framework for building modern cloud-based web applications on Windows, Mac, or Linux.


Falco - Functional-first toolkit for building brilliant ASP.NET Core applications using F#.

Freya - Freya Web Stack - Meta-Package

DotVVM - Open source MVVM framework for Web Apps

  dotNetify - Simple, lightweight, yet powerful way to build real-time web apps.

awesome-fsharp - A curated list of awesome F# frameworks, libraries, software and resources.

Coalesce - Helping you quickly build amazing sites

IISNode - Hosting node.js applications in IIS on Windows

Giraffe.Razor - Razor view engine http handlers for Giraffe web applications.