diff --git a/Cargo.lock b/Cargo.lock index 83157cc..9bcad99 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -458,7 +458,7 @@ dependencies = [ [[package]] name = "guestbook" -version = "0.2.2" +version = "0.2.3" dependencies = [ "axum", "base64 0.22.1", diff --git a/Cargo.toml b/Cargo.toml index bb6d3a1..a6d96a5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "guestbook" -version = "0.2.2" +version = "0.2.3" edition = "2021" -description = "A configurable web guestbook made to be easy to use, with entries in plain text files, an optional drawing canvas, honeypots and captchas to deter spam, and moderation via Telegram bot." +description = "A standalone guestbook to let visitors to your site leave behind written messages, drawings, and voice notes, with spam-prevention and moderation via Telegram bot." license = "MIT" repository = "https://git.ily.rs/lew/guestbook" diff --git a/README.md b/README.md index 6dc28ea..0f3e54f 100644 --- a/README.md +++ b/README.md @@ -3,14 +3,15 @@ `guestbook` is a self-hosted guestbook web service with: - entries stored in plaintext, -- optional [drawing canvas](#drawing) for visitors to sketch alongside their message, -- notifications and moderation via [Telegram](#telegram) (including drawing previews), +- a [drawing canvas](#drawing) for visitors to sketch alongside their message, +- [voice notes](#voice-notes) for visitors to record a short audio clip, +- notifications and moderation via [Telegram](#telegram), - spam prevention via honeypot and/or [captcha](#captcha), -- completely customisable [styling](#customisation), +- fairly customisable [styling](#customisation), and more, written in Rust, and inspired by [t0.vc/g](https://t0.vc/g). -`guestbook` is a single binary that serves a single-page guestbook aimed at personal sites. There's a form for visitors to submit a name, message, and optionally a link to their own site. Visitors can also draw a picture if the drawing feature is enabled. Entries are written to plain text files with TOML frontmatter, and are initially marked as pending. The frontmatter can be manually edited to mark entries as approved or denied, or a Telegram bot can be hooked up for notifications and moderation (drawings are sent as photos so you can see them before approving). Running the Telegram bot just requires handing over a bot token, and it'll run off the same binary. +`guestbook` is a single binary that serves a single-page guestbook aimed at personal sites. There's a form for visitors to submit a name, message, and optionally a link to their own site. Visitors can also draw a picture or leave a voice note if those features are enabled. Entries are written to plain text files with TOML frontmatter, and are initially marked as pending. The frontmatter can be manually edited to mark entries as approved or denied, or a Telegram bot can be hooked up for notifications and moderation (drawings are sent as photos and voice notes as voice messages so you can review them before approving). Running the Telegram bot just requires handing over a bot token, and it'll run off the same binary. Everything is configured through environment variables (see [`.env.example`](#default-config) for the defaults). If you're hosting with Nix, there's a flake that can set up the `guestbook` service end-to-end, running on a systemd service with a Caddy reverse proxy. Optionally, just ignore the flake and set up all the extra stuff yourself. @@ -182,6 +183,21 @@ Running `guestbook` with no env vars will give you a working guestbook on `local # Supports {{title}} and {{style}} placeholders. Use