#web-interface #mail-server #email #tiny #testing #mail-catcher #clone

app mailboar

A web interface for Tiny MailCatcher, a MailCatcher clone

8 releases

0.3.4 Jul 31, 2024
0.3.3 Jul 31, 2024
0.1.3 May 12, 2022
0.1.2 Mar 14, 2022
0.1.0 Jan 14, 2022

#596 in Web programming

Download history 11/week @ 2024-08-04 46/week @ 2024-09-15 6/week @ 2024-09-22 5/week @ 2024-09-29 1/week @ 2024-10-13

325 downloads per month

MIT license

175KB
1.5K SLoC

Rust 1K SLoC // 0.0% comments JavaScript 129 SLoC // 0.0% comments Shell 16 SLoC // 0.2% comments

Mailboar

GitHub Actions workflow status Conventional Commits Minimum rustc version License

Mailboar provides a web interface for Tiny MailCatcher, a MailCatcher clone written in Rust.

Installation

Using Cargo, Git and Yarn

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

Using Docker

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

Development

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

Rust version requirements

1.71.0+

Dependencies

~18–27MB
~448K SLoC