Self-hostable GUI interface for @nottimtam/file-converter.
See file-converter for general implementation instructions and API reference.
npm i @nottimtam/file-converter-gui
npm start
For the application to run properly, certain environment variables need to be defined.
NODE_ENV=development
API_VERSION=1
PORT=3000
CLEAR_JOB_ON_DOWNLOAD=true
FILE_TEMP=./temp
FILE_SIZE_LIMIT=1000000000
DANGEROUSLY_FORCE_CLEAR_TEMP=false
- NODE_ENV
- "production" / "development"
- API_VERSION
- "1" (the only current API version)
- PORT
- The port you want the server to listen on.
- CLEAR_JOB_ON_DOWNLOAD
- "true" / "false"
- FILE_TEMP
- The directory to store files in during the conversion process.
- FILE_SIZE_LIMIT
- An optional maximum upload size in bytes.
- DANGEROUSLY_FORCE_CLEAR_TEMP
- "true" / "false" (serious consequences for parameter misuse, do not include parameter in
.env
unless absolutely necessary)
- "true" / "false" (serious consequences for parameter misuse, do not include parameter in