Skip to content

OpenReceipt's source code in a monorepo

License

Notifications You must be signed in to change notification settings

openreceipt/source

Repository files navigation

@openreceipt/source

CI Status Jest Commitizen Semantic Release Prettier

Parse receipt information from your emails!

Getting Started

git clone https://github.com/openreceipt/source.git
cd source
yarn
cd packages/cli-starter
yarn build
yarn start run <PATH_TO_EML_FILE>

Features

  • Plugin-based architecture
  • be able to match incoming emails to the right parsers/plugins
  • be able to detect when an email has changed format
  • format output to match target destination (monzo or other)
  • validate the final receipt is in the right format

Architecture

Prerequisites

Built with

This project would not exist without:

  • yargs
  • cheerio
  • mailParser
  • currency-formatter