Skip to content

Releases: massix/gleeter

1.3.8

27 Jul 07:38

Choose a tag to compare

What's Changed

  • Make it possible to ignore or clear the cache in CLI mode by @massix in #18

Full Changelog: 1.3.7...1.3.8

1.3.7

18 Jul 18:04

Choose a tag to compare

What's Changed

  • Allow to load the configuration file from a different location by @massix in #17

Full Changelog: 1.3.6...1.3.7

1.3.6

18 Jul 17:39

Choose a tag to compare

What's Changed

  • Automatically skip JPEG images in CLI and Serve modes by @massix in #16

Full Changelog: 1.3.5...1.3.6

1.3.5

06 Jul 07:27

Choose a tag to compare

New features

  • Added new metric gleeter:http_invalid_requests_total to keep track of all the invalid requests received (regardless of their nature)
  • Make it possible to expose the /metrics endpoint at the root of the server, ignoring the base_path configuration. This is done with a new metrics.ignore_base_path key in the configuration file
  • Make it possible to protect the /metrics endpoint using Basic Authorization, this is done by adding the keys metrics.username and metrics.password to the configuration file. Should one of the two values be missing, the endpoint will be publicly exposed.

Minor changes

  • Upgrade to newest Gleam version (1.11.1)
  • Upgrade the flake.nix dependencies

Full Changelog: 1.3.4...1.3.5

1.3.4

29 Jun 15:27
109a9b7

Choose a tag to compare

What's Changed

  • Add Prometheus metrics to serve mode by @massix in #12

Full Changelog: 1.3.3...1.3.4

1.3.3

25 Jun 18:57
db45e7a

Choose a tag to compare

What's Changed

Full Changelog: 1.3.2...1.3.3

1.3.2

22 Jun 08:46
609243d

Choose a tag to compare

What's Changed

  • refactor: have all the files in the same namespaces by @massix in #8
  • build(docker): create a Docker image for DigitalOcean by @massix in #9
  • Implement healthcheck in serve mode by @massix in #10

Full Changelog: 1.3.1...1.3.2

1.3.1

21 Jun 10:03
f3bc3bc

Choose a tag to compare

What's Changed

  • Print out existing aliases (if any) when printing the help page by @massix in #7

Full Changelog: 1.3.0...1.3.1

1.3.0

21 Jun 09:32
35265f6

Choose a tag to compare

What's Changed

  • refactor(nix): move gleam helpers to a dedicated module by @massix in #5
  • Add configuration by @massix in #6

Full Changelog: 1.2.0...1.3.0

Configuration file

Gleeter now looks for a configuration file in either ${XDG_CONFIG_HOME}/gleeter/config.toml or ${HOME}/.config/gleeter/config.toml. The syntax is described in the README.md file and it also parsed when using gleeter in serve mode (to add dynamic routes based on the aliases).

1.2.0

31 May 06:56

Choose a tag to compare

New features

  • Added serve mode to serve comics via HTTP, the mode accepts the headers X-TERMINAL-ROWS and X-TERMINAL-COLUMNS to dynamically resize the image based on the terminal information. Both headers are required for the resize to work.
  • Added support to other terminals supporting the Graphics Protocol by correctly terminating the chunked mode
  • Added a user-agent when downloading comics using the XKCD APIs, this way if Randall wants to block us, he can.
  • Added a help command -- this is now the default command when launching gleeter without commands
  • Added version command
  • Added a Dockerfile to build a docker image. The image is built using alpine as the base, since using the pkgs.dockerTools.buildLayeredImage produced a too large image.

Fixes

  • Better handle of the dynamic resizing (rows are twice as big as the cols)

CI

  • Added new workflow to publish docker image