No description
Find a file
2024-07-30 00:48:15 +02:00
.github fix: release releases 2024-06-28 01:31:46 +02:00
.vscode chore: add TypeScript settings 2024-07-29 23:03:24 +02:00
images add image 2024-05-25 02:37:22 +02:00
src chore: fix type errors and update bun sql syntax 2024-07-30 00:48:15 +02:00
.dockerignore test if this fixes #8 2024-05-29 12:24:21 +02:00
.eslintrc.cjs chore: update old config 2024-07-30 00:44:43 +02:00
.gitignore chore: fix type errors and update bun sql syntax 2024-07-30 00:48:15 +02:00
biome.json fix all errors in index 2024-05-21 15:50:30 +02:00
bun.lockb chore: Update npm dependencies and add linting scripts 2024-07-30 00:47:46 +02:00
CHANGELOG.md chore(main): release 0.3.2 2024-07-09 20:27:52 +02:00
compose.yaml feat: change from debian to alpine 2024-06-20 20:23:34 +02:00
Debian.Dockerfile feat: change from debian to alpine 2024-06-20 20:23:34 +02:00
Dockerfile chore: lock Dockerfile base image to specific version 2024-07-29 23:03:46 +02:00
LICENSE Create LICENSE 2024-05-24 23:28:00 +02:00
package.json chore: Update npm dependencies and add linting scripts 2024-07-30 00:47:46 +02:00
prettier.config.cjs add safe 2024-05-26 12:44:28 +02:00
README.md chore: update README.md 2024-07-03 00:31:54 +02:00
reset.d.ts jsx working 2024-05-19 00:07:56 +02:00
tsconfig.json chore: fix type errors and update bun sql syntax 2024-07-30 00:48:15 +02:00

ConvertX

ConvertX

Docker GitHub Release GitHub commits since latest release GitHub repo size Docker container size GitHub top language

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
libjxl JPEG XL 11 11
Vips Images 45 23
XeLaTeX Documents 1 1
Pandoc Documents 43 65
GraphicsMagick Images 166 133
FFmpeg Video ~473 ~280

Any missing converter? Open an issue or pull request!

Deployment

# docker-compose.yml
services:
  convertx: 
    image: ghcr.io/c4illin/convertx
    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
  • Make the upload button nicer and more easy to drop files on. Support copy paste as well if possible.

Contributors

Star History

Star History Chart