Crates.io | mailboar |
lib.rs | mailboar |
version | 0.3.4 |
source | src |
created_at | 2022-01-14 07:40:53.280774 |
updated_at | 2024-07-31 10:24:00.153562 |
description | A web interface for Tiny MailCatcher, a MailCatcher clone |
homepage | https://github.com/aeyoll/mailboar |
repository | https://github.com/aeyoll/mailboar |
max_upload_size | |
id | 513758 |
size | 60,245 |
Mailboar provides a web interface for Tiny MailCatcher, a MailCatcher clone written in Rust.
First, install mailboar
using Cargo:
cargo install mailboar
Then, clone this repository, and build the static assets using https://yarnpkg.com/. Node >= 20 is required.
cd crates/frontend
yarn # Install dependencies
yarn run build # Build static assets
This will create a static
repository with all the assets.
Finally, launch mailboar
from the cloned repository:
mailboar --ip 127.0.0.1 --smtp-port=1025 --api-port=1080 --http-port=8025 --assets-path=crates/frontend/static # default values
There is also a small Docker image available, with all batteries included:
docker run --rm --init -t -p 1080:1080 -p 1025:1025 -p 8025:8025 aeyoll/mailboar:latest
For easier development, use https://github.com/watchexec/cargo-watch to auto-compile on change:
cargo watch -x 'run'
Auto-compile static assets:
yarn run start
1.71.0+