Why using #Haskell / #Hakyll to compile a simple static website (1 HTML file, 1 CSS file) hosted on #GitLab Pages may be a bad idea:

• When using Stack, the ~/.stack directory is about 3.5 GB.
• The build fails when running on CI, (apparently due to an old Stack version): gitlab.com/Ercoin/ercoin.tech/ .
• When fixed, the build times out after one hour of running: gitlab.com/Ercoin/ercoin.tech/ .
• If cabal sandbox is used instead of Stack, another error occurs: github.com/bos/aeson/issues/64



@KrzysiekJ Pandoc's a beast as I recall, and compilation is very memory-hungry, once.

On the other hand, why would you externally host more than the static content that's baked out at the end?

Or that plus the hakyll binary and site source files?

@tool_man Separating binary from the rest of the site sounds like a logical solution, but it would probably mean splitting the site into two repositories and it would be rather problematic in regard to CI setup. Also Hakyll binaries contain hardcoded paths, so this separation of content from generator wouldn’t be very natural.

In the end Hakyll was replaced with Zodiac: capitalism.party/@KrzysiekJ/10

@KrzysiekJ Cool, hadn't seen Zodiac before, looks like it would do the usual things you'd expect for a static site.

I must say, awk is one of those tools that's always just around, and more powerful than I remember.

Sign in to participate in the conversation

What sets mastodon.host appart?

As a general instance, we are not centered on a specific theme, or a specific language. Everyone is welcome as long as they follow the few rules we have.

We always run the latest stable version of Mastodon, providing you a stock experience, with the following modifications:

  • 2048 character limit (not 500).
  • 512 character limits for the account's bio (not 160).
  • full column width (not fixed size).
  • more search results (20 instead of 5 per type of search).
  • Audio upload (not limited to videos only).
  • full text search of statuses (not restricted to searching tags and users).
  • trending tags are displayed on the main UI ( and a more complete view is available here)
  • boosts and replies are shown in the timelines (more complete view for everyone).
  • Your mastodon.host account is also a XMPP account (Federated Instant Messaging, take a look online to find a client and use your mastodon.host username and password to configure it, you can also use our online web client). Woohoo! two services in one!
  • We also have a very good view of the federation (our federated timeline gives you a more broad view of the Mastodon network than a 'normal' instance, there's a lot to read in a lot of languages).
  • We also host a Peertube instance for the convenience. Try it and let us know what you think !
  • In the same vein, we host a Funkwhale instance for the convenience. Try it and let us know what you think !
  • If you want to be on a more quiet, moderated instance, or use another AP implementation, we host a Pleroma instance for the convenience. This is the same fediverse as with Mastodon, but with a different default UI and way more optimized backend. Try and see which one you prefer !
  • Now if you want a different UI, the stock mastodon one does not please you, you can check Pinafore.
  • We do also host for the convenience a video Conference server ( Jitsi Meet )
  • We have a mastodon relay for other instances to bootstrap their timelines: https://relay.mastodon.host

Although we are a medium+ sized instance, we'd like to keep the feeling that you are at home and safe here.