Skip to content

francesco74/fileconverter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

msgconvert

A dockerized webservice to convert Microsoft Outlook .msg files to .eml (message/rfc822) format and .pdf to .docx format

Description

fileconverter uses the Perl module Email::Outlook::Message for .eml conversion and pdf2docx for .pdf conversion. It exposes just a single endpoint for uploading an .msg or .pdf file and returns the converted .eml or .docx.

The webservice is written in Python using the aiohttp web server.

Usage

To start the webservice just run

docker build -t fileconverter:latest .
docker run -p 8080:8080 fileconverter:latest

The .msg or .pdf file must be uploaded as multipart/form-data with a part named file containing the .msg or .pdf file.

Example:

curl -F "file=@tests/sample.msg" http://localhost:8080/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 51.8%
  • JavaScript 24.3%
  • HTML 14.7%
  • CSS 6.6%
  • Dockerfile 2.6%