Algernon Versions Save

Small self-contained pure-Go web server with Lua, Teal, Markdown, Ollama, HTTP/2, QUIC, Redis and PostgreSQL support

1.12.12

3 years ago
  • Support the Apple M1 CPU by not including QUIC-support for darwin+arm64. See #49 for more info.

The *_nocgo.* archives are built with CGO_ENABLED=0 and Go 1.16.

1.12.11

3 years ago
  • Improve the man page.
  • Minor improvements for the help and completion functionality in the REPL.
  • Let several algernon --lua instances not use the same temporary database.
  • Let .mk, .ts and .tsx be served as text/plain;charset=utf-8.
  • Initial support for rendering .frm and .form files written in SimpleForm.
  • Fix for making it possible to use . together with --autorefresh.
  • Minor fixes to the docker example files.
  • Correct a typo in a comment (thanks Felix Yan).
  • Update the Travis CI configuration (thanks Rui Chen).
  • Follow the advice of the very useful staticcheck utility.
  • Remove OpenBSD support while waiting for pkg/term to support it.
  • Use a specific commit of pkg/term so that Algernon also compiles for FreeBSD.
  • Update documentation.
  • Update dependencies.

1.12.8

3 years ago
  • Improve CI config and Homebrew release process (thanks Rui Chen!).
  • Update supplied systemd configuration.
  • Remove mentions of nacl.
  • Remove the mitchellh/colorstring dependency.
  • Use algernon_history.txt as the REPL history filename on Windows.
  • Don't output raw color codes on Windows, use ANSI colors or disable the color.
  • Remove symlinks from the "welcome" sample.
  • Update the release script to also build with GOARM=7 for Raspberry Pi 2, 3 and 4.
  • Update dependencies.
  • Update documentation.

1.12.7

4 years ago
  • Issues with Bolt db, simplebolt and gccgo are resolved. Algernon now also supports gccgo.
  • Algernon requires Go 1.11 or later.
  • Respect TMPDIR, for improved Termux support.
  • Fix issue #42, when --dir is used together with a trailing slash.
  • Don't force the use of the bolt database when in development mode.
  • Update dependencies.

The Windows and OpenBSD releases does not compile anymore. I want to look into that at some point.

1.12.6

4 years ago
  • Now using a fork of the quic package, since there were build issues with it (could not build with gccgo and issue #41).
  • Updated dependencies.
  • There are still issues with compiling simplebolt with gccgo, which is why Algernon can not be compiled with gccgo in a way where simplebolt works, yet. This is related to different behavior between go and gccgo and will be worked around in simplebolt. See: https://github.com/golang/go/issues/36430
  • The autorefresh feature (-a or --autorefresh) may now follow symlinks to diretories, to make the ./welcome.sh script and example more user-friendly when live editing for instance samples/greetings/index.md.
  • The file-search backend of the autofresh feature is now also concurrent.
  • Tested with the latest version of Go (1.13.5) on 64-bit Arch Linux.

1.12.5

4 years ago
  • Built with Go 1.13 (d9b13233378668a4fd24ac5d044e9d550cd2a8be)
  • Adds support for PostgreSQL queries with the PQ function, from Lua.
  • Updated dependencies, especially with QUIC and HTTP/2 in mind.
  • Updated the JSX sample to use the latest version of React.
  • The static executable for Linux is now built with -trimpath.
  • New HTTP client functionality from Lua, using GET or HTTPClient.
  • CookieSecret and SetCookieSecret can now be used to get and set the secure cookie secret from Lua, or it can be set with the --cookiesecret flag.

1.12.4

5 years ago
  • Fix #26, an issue with using Lua tables together with Pongo2 and the serve2 function.
  • Update dependencies.
  • Improved help function on the Lua prompt.
  • Support the IGNOREEOF environment variable.
  • Update documentation.

Updated docker images can be found at https://hub.docker.com/r/xyproto/algernon

1.12.3

5 years ago
  • Fix #25, where an attack with vegeta could make Algernon crash.
  • Update dependencies (boltdb has a new home, TLS 1.3 has further improvements).

1.12.2

5 years ago

TLS 1.3

  • Compiled with go version devel +447965d4e0 Sun Jan 27 04:18:10 2019 +0000 linux/amd64, which includes support for TLS 1.3.
  • The releases are compiled for x86_64, except the one for arm64/aarch64 and the one for rpi (Raspberry Pi).

Changelog

  • Update dependencies.
  • Better output to stdout when loading configuration files (lists the names of all loaded configuration files).
  • A timestamp is added to the command line output when starting Algernon.
  • Slightly modified console text colors.
  • Minor changes to recognized filename extensions.
  • Update documentation to mention welcome.sh (fixes issue #23).
  • Minor updates to javascript libraries used by two of the samples.
  • Improved support for streaming large files (fixes issue #13).
  • Added two new flags:
    • --timeout=N for setting a timeout in seconds, when serving large files (but there is range support, so if a download times out, the client can continue where it left).
    • --largesize=N for setting a threshold for when a file is too large to be read into memory (the default is 42 MiB).

1.12.0-TLS-1.3

5 years ago

Statically compiled executable for 64-bit Linux, built with latest Go master which has recently received support for TLS 1.3.

This build is experimental, but passes initial tests.