Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bltavares/dollarbill
https://github.com/bltavares/dollarbill
Last synced: 28 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/bltavares/dollarbill
- Owner: bltavares
- Created: 2016-01-29T21:25:15.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-02-02T21:54:51.000Z (almost 9 years ago)
- Last Synced: 2024-04-14T19:36:07.579Z (7 months ago)
- Language: Rust
- Size: 5.86 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# dollarbill
Generates a reply based on replies of email threads.
## Dependencies
```
brew install mu
```## Running
Clone the repo:
```
git clone https://github.com/bltavares/dollarbill
cd dollarbil
```Generate the dump of the emails from a maildir.
```
bash extract.sh ~/path/to/mail/dir 'What about this subject'
```Download the binary to generate content and run
```
curl -L https://github.com/bltavares/dollarbill/releases/download/Latests/dollarbill > dollarbill
chmod +x dollarbill
./dollarbill
```## Building
Requires rust installed:
```
cargo build --release
```The binary is on `target/release/dollarbill`.
It is possible to control wheter to filter out English phrases with the
environment variables `FILTER_ENGLISH` or `ONLY_ENGLISH` being set.