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
325 downloads per month
175KB
1.5K
SLoC
Mailboar
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