Monorepo application developed to download, extract, index and show an email database. Using Zincsearch as search engine and data storage, Go as Backend language and Vue+TS as Frontend technology.
To run this monorepo there was performed a Docker Compose
file to run it by using a single command.
docker compose up
This command will build all 3 images and run their very containers with a basic configuration by default.
There are several configurations can be set to customize this application, this configurations can be set by using the following environment variables:
Variable | Description | Default Value |
---|---|---|
ZINC_FIRST_ADMIN_USER | Defines Zincsearch admin username (used by the Service and Zincsearch UI) | admin |
ZINC_FIRST_ADMIN_PASSWORD | Defines Zincsearch admin password (used by the Service and Zincsearch UI) | admin |
EMAIL_INDEX_NAME | Defines the index name where the data will be stored | emails |
EMAIL_CONTENT_DELIMITER | Defines what element is between the details and the content of an email file | \r\n\r\n |
EMAIL_DETAILS_DELIMITER | Defines what element is between every detail of an email file | \r\n |
EMAIL_INDEXER_ROUTINES_NUM | Defines the max number of routines will run at same time during the index process (used to reduce consumed resources of improve the index speed) | 40 |
EMAIL_DATE_FORMAT | Defines the format used to parse the emails date | Mon, 2 Jan 2006 15:04:05 -0700 (MST) |
EMAIL_DATABASE_URL | Defines the URL where the database is going to be downloaded (Only tar files are supported) | http://download.srv.cs.cmu.edu//~enron/enron_mail_20110402.tgz |
😊 Made with ❤️!