Releases: massix/gleeter
Releases · massix/gleeter
1.3.8
1.3.7
1.3.6
1.3.5
New features
- Added new metric
gleeter:http_invalid_requests_totalto keep track of all the invalid requests received (regardless of their nature) - Make it possible to expose the
/metricsendpoint at the root of the server, ignoring thebase_pathconfiguration. This is done with a newmetrics.ignore_base_pathkey in the configuration file - Make it possible to protect the
/metricsendpoint using Basic Authorization, this is done by adding the keysmetrics.usernameandmetrics.passwordto 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.nixdependencies
Full Changelog: 1.3.4...1.3.5
1.3.4
1.3.3
1.3.2
1.3.1
1.3.0
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
New features
- Added
servemode to serve comics via HTTP, the mode accepts the headersX-TERMINAL-ROWSandX-TERMINAL-COLUMNSto 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
helpcommand -- this is now the default command when launchinggleeterwithout commands - Added
versioncommand - Added a
Dockerfileto build a docker image. The image is built usingalpineas the base, since using thepkgs.dockerTools.buildLayeredImageproduced 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