No description
Find a file
2024-05-29 10:07:40 +02:00
.github small fixes 2024-05-25 02:48:30 +02:00
data change name 2024-05-19 00:21:29 +02:00
images add image 2024-05-25 02:37:22 +02:00
src add HTTP_ALLOWED env var, fixes Impossible to login without HTTPS #9 2024-05-28 19:53:15 +02:00
.dockerignore start on pandoc 2024-05-19 23:51:27 +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 Update @typescript-eslint/eslint-plugin requirement 2024-05-28 09:10:09 +00:00
compose.yaml start on pandoc 2024-05-19 23:51:27 +02:00
Dockerfile migrate to vips 2024-05-25 15:52:04 +02:00
LICENSE Create LICENSE 2024-05-24 23:28:00 +02:00
package.json Update @typescript-eslint/eslint-plugin requirement 2024-05-28 09:10:09 +00:00
prettier.config.cjs add safe 2024-05-26 12:44:28 +02:00
README.md Update README.md 2024-05-29 10:07:40 +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
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
      - ACCOUNT_REGISTRATION=false # true or false, you can register the first account even though this is disabled
      - JWT_SECRET=aLongAndSecretStringUsedToSignTheJSONWebToken1234
      - HTTP_ALLOWED=false # setting this to true is unsafe, but as long as it locally and you trust your local network there is no problem
    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