No description
Find a file
2024-05-30 12:06:02 +02:00
.github small fixes 2024-05-25 02:48:30 +02:00
images add image 2024-05-25 02:37:22 +02:00
src feat: poppler working for some formats 2024-05-30 12:06:02 +02:00
.dockerignore test if this fixes #8 2024-05-29 12:24:21 +02:00
.eslintrc.cjs start on pandoc 2024-05-19 23:51:27 +02:00
.gitignore start on pandoc 2024-05-19 23:51:27 +02:00
biome.json fix all errors in index 2024-05-21 15:50:30 +02:00
bun.lockb feat: poppler working for some formats 2024-05-30 12:06:02 +02:00
compose.yaml make progress visable and only show registration if enabled 2024-05-29 13:52:00 +02:00
Dockerfile make progress visable and only show registration if enabled 2024-05-29 13:52:00 +02:00
LICENSE Create LICENSE 2024-05-24 23:28:00 +02:00
package.json feat: poppler working for some formats 2024-05-30 12:06:02 +02:00
prettier.config.cjs add safe 2024-05-26 12:44:28 +02:00
README.md chore: Update README.md 2024-05-30 11:39:17 +02:00
reset.d.ts jsx working 2024-05-19 00:07:56 +02:00
tsconfig.json start on pandoc 2024-05-19 23:51:27 +02:00

ConvertX

ConvertX

Docker

A self-hosted online file converter. Supports 831 different formats. Written with Typescript, Bun and Elysia.

Features

  • Convert files to different formats
  • Password protection
  • Multiple accounts

Converters supported

Converter Use case Converts from Converts to
Vips Images (fast) 45 23
PDFLaTeX Documents 1 1
Pandoc Documents 43 65
GraphicsMagick Images 166 133
FFmpeg Video ~473 ~280

Deployment

# docker-compose.yml
services:
  convertx: 
    image: ghcr.io/c4illin/convertx:main
    ports:
      - "3000:3000"
    environment: # Defaults are listed below. All are optional.
      - ACCOUNT_REGISTRATION=false # true or false, doesn't matter for the first account (e.g. keep this to false if you only want one account)
      - JWT_SECRET=aLongAndSecretStringUsedToSignTheJSONWebToken1234 # will use randomUUID() by default
      - HTTP_ALLOWED=false # setting this to true is unsafe, only set this to true locally
    volumes:
      - convertx:/app/data

Then visit http://localhost:3000 in your browser and create your account. Don't leave it unconfigured and open, as anyone can register the first account.

If you get unable to open database file run chown -R $USER:$USER path on the path you choose.

Tutorial

Tutorial in french: https://belginux.com/installer-convertx-avec-docker/

Todo

  • Add messages for errors in converters
  • Add options for converters
  • Add more converters
  • Divide index.tsx into smaller components
  • Add tests
  • Add searchable list of formats

Contributors

Star History

Star History Chart