Giter VIP home page Giter VIP logo

orassayag / mbox-crawler Goto Github PK

View Code? Open in Web Editor NEW
2.0 3.0 0.0 1.13 MB

Built in January 2019. A Node.js application to scan the Gmail MBOX files (that contains all the inbox/sent email messages). The process will contain verification of the email messages count, and all email addresses count, validate each email address, and in the end, export all email addresses to a TXT file. Doing all of this, without any traditional database involved. Also, to build a script that merges a couple of merged TXT files, and pulls out their diff.

Home Page: https://linkedin.com/in/orassayag

JavaScript 100.00%
txt data text mbox email email-message email-messages email-address emails email-addresses

mbox-crawler's Introduction

MBOX Crawler

Built in January 2019. A Node.js application to scan the Gmail MBOX files (that contains all the inbox/sent email messages). The process will contain verification of the email messages count, and all email addresses count, validate each email address, and in the end, export all email addresses to a TXT file. Doing all of this, without any traditional database involved. Also, to build a script that merges a couple of merged TXT files, and pulls out their diff.

Getting Started

Clone the application to your computer. Steps to view the solution:

  1. Open server application on IDE (I use VSCode).
  2. In the terminal run: 'npm i'
  3. In the terminal run: 'npm start'.

Crawl MBOX Files Script:

In the terminal run: 'npm run crawl'. -Instructions & How to use:

  1. Place a valid MBOX file in the '/sources/' directory.
  2. Wait for the process to end.
  3. Get the final TXT file with all the email addresses. For Google Contacts:
  4. Make a copy of the final TXT file, and add all email addresses to Google Contacts. Each email address you add to Google Contacts, remove it from the list.
  5. Keep the final TXT file.
  6. Once a new MBOX file is created, run the script again.
  7. With the new final TXT file, make a copy of it.
  8. Compare the new file with the old file with the compare script.
  9. Once the diff file is created, make a copy of it.
  10. Once again, Each email address you add to Google Contacts, remove it from the list.
  11. After done, replace the new final TXT file with the old one.

Happy testing! :).

Prerequisites

You'll need to install VSCode, Node, and clone the application, and in the terminal run: 'npm i'.

Built With

  • Node.js - The web framework used - Server side.
  • Git - Source management.

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Author

License

This application has an UNLICENSED license.

mbox-crawler's People

Contributors

orassayag avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.