{"id":14156597,"url":"https://github.com/C4illin/ConvertX","last_synced_at":"2025-08-06T03:30:53.747Z","repository":{"id":241532680,"uuid":"783343310","full_name":"C4illin/ConvertX","owner":"C4illin","description":"💾 Self-hosted online file converter. Supports 700+ formats","archived":false,"fork":false,"pushed_at":"2024-05-28T18:07:37.000Z","size":417,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-05-29T00:06:35.308Z","etag":null,"topics":["bun","conversion","convert","converter","document-conversion","elysia","file-conversion","file-converter","pdf-converter","picocss","self-hosted","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/C4illin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-04-07T16:21:39.000Z","updated_at":"2024-05-29T00:06:42.313Z","dependencies_parsed_at":"2024-05-29T00:06:40.512Z","dependency_job_id":"41c7deb5-7852-4216-9522-e7123cbeab49","html_url":"https://github.com/C4illin/ConvertX","commit_stats":null,"previous_names":["c4illin/convertx"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/C4illin%2FConvertX","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/C4illin%2FConvertX/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/C4illin%2FConvertX/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/C4illin%2FConvertX/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/C4illin","download_url":"https://codeload.github.com/C4illin/ConvertX/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228835539,"owners_count":17979162,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bun","conversion","convert","converter","document-conversion","elysia","file-conversion","file-converter","pdf-converter","picocss","self-hosted","typescript"],"created_at":"2024-08-17T08:06:53.250Z","updated_at":"2025-08-06T03:30:53.731Z","avatar_url":"https://github.com/C4illin.png","language":"TypeScript","readme":"![ConvertX](images/logo.png)\n\n# ConvertX\n\n[![Docker](https://github.com/C4illin/ConvertX/actions/workflows/docker-publish.yml/badge.svg?branch=main)](https://github.com/C4illin/ConvertX/actions/workflows/docker-publish.yml)\n[![ghcr.io Pulls](https://img.shields.io/badge/dynamic/json?logo=github\u0026url=https%3A%2F%2Fipitio.github.io%2Fbackage%2FC4illin%2FConvertX%2Fconvertx.json\u0026query=%24.downloads\u0026label=ghcr.io%20pulls\u0026cacheSeconds=14400)](https://github.com/C4illin/ConvertX/pkgs/container/ConvertX)\n[![Docker Pulls](https://img.shields.io/docker/pulls/c4illin/convertx?style=flat\u0026logo=docker\u0026label=dockerhub%20pulls\u0026link=https%3A%2F%2Fhub.docker.com%2Frepository%2Fdocker%2Fc4illin%2Fconvertx%2Fgeneral)](https://hub.docker.com/r/c4illin/convertx)\n[![GitHub Release](https://img.shields.io/github/v/release/C4illin/ConvertX)](https://github.com/C4illin/ConvertX/pkgs/container/convertx)\n![GitHub commits since latest release](https://img.shields.io/github/commits-since/C4illin/ConvertX/latest)\n![GitHub repo size](https://img.shields.io/github/repo-size/C4illin/ConvertX)\n![Docker container size](https://ghcr-badge.egpl.dev/c4illin/convertx/size?color=%230375b6\u0026tag=latest\u0026label=image+size\u0026trim=)\n\n\u003ca href=\"https://trendshift.io/repositories/13818\" target=\"_blank\"\u003e\u003cimg src=\"https://trendshift.io/api/badge/repositories/13818\" alt=\"C4illin%2FConvertX | Trendshift\" style=\"width: 250px; height: 55px;\" width=\"250\" height=\"55\"/\u003e\u003c/a\u003e\n\n\u003c!-- ![Dev image size](https://ghcr-badge.egpl.dev/c4illin/convertx/size?color=%230375b6\u0026tag=main\u0026label=dev+image\u0026trim=) --\u003e\n\nA self-hosted online file converter. Supports over a thousand different formats. Written with TypeScript, Bun and Elysia.\n\n## Features\n\n- Convert files to different formats\n- Process multiple files at once\n- Password protection\n- Multiple accounts\n\n## Converters supported\n\n| Converter                                        | Use case         | Converts from | Converts to |\n| ------------------------------------------------ | ---------------- | ------------- | ----------- |\n| [libjxl](https://github.com/libjxl/libjxl)       | JPEG XL          | 11            | 11          |\n| [resvg](https://github.com/RazrFalcon/resvg)     | SVG              | 1             | 1           |\n| [Vips](https://github.com/libvips/libvips)       | Images           | 45            | 23          |\n| [libheif](https://github.com/strukturag/libheif) | HEIF             | 2             | 4           |\n| [XeLaTeX](https://tug.org/xetex/)                | LaTeX            | 1             | 1           |\n| [Calibre](https://calibre-ebook.com/)            | E-books          | 26            | 19          |\n| [Pandoc](https://pandoc.org/)                    | Documents        | 43            | 65          |\n| [dvisvgm](https://dvisvgm.de/)                   | Vector images    | 4             | 2           |\n| [ImageMagick](https://imagemagick.org/)          | Images           | 245           | 183         |\n| [GraphicsMagick](http://www.graphicsmagick.org/) | Images           | 167           | 130         |\n| [Inkscape](https://inkscape.org/)                | Vector images    | 7             | 17          |\n| [Assimp](https://github.com/assimp/assimp)       | 3D Assets        | 77            | 23          |\n| [FFmpeg](https://ffmpeg.org/)                    | Video            | ~472          | ~199        |\n| [Potrace](https://potrace.sourceforge.net/)      | Raster to vector | 4             | 11          |\n\n\u003c!-- many ffmpeg fileformats are duplicates --\u003e\n\nAny missing converter? Open an issue or pull request!\n\n## Deployment\n\n\u003e [!WARNING]\n\u003e If you can't login, make sure you are accessing the service over localhost or https otherwise set HTTP_ALLOWED=true\n\n```yml\n# docker-compose.yml\nservices:\n  convertx:\n    image: ghcr.io/c4illin/convertx\n    container_name: convertx\n    restart: unless-stopped\n    ports:\n      - \"3000:3000\"\n    environment:\n      - JWT_SECRET=aLongAndSecretStringUsedToSignTheJSONWebToken1234 # will use randomUUID() if unset\n      # - HTTP_ALLOWED=true # uncomment this if accessing it over a non-https connection\n    volumes:\n      - ./data:/app/data\n```\n\nor\n\n```bash\ndocker run -p 3000:3000 -v ./data:/app/data ghcr.io/c4illin/convertx\n```\n\nThen 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.\n\nIf you get unable to open database file run `chown -R $USER:$USER path` on the path you choose.\n\n### Environment variables\n\nAll are optional, JWT_SECRET is recommended to be set.\n\n| Name                         | Default                                            | Description                                                                                                               |\n| ---------------------------- | -------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- |\n| JWT_SECRET                   | when unset it will use the value from randomUUID() | A long and secret string used to sign the JSON Web Token                                                                  |\n| ACCOUNT_REGISTRATION         | false                                              | Allow users to register accounts                                                                                          |\n| HTTP_ALLOWED                 | false                                              | Allow HTTP connections, only set this to true locally                                                                     |\n| ALLOW_UNAUTHENTICATED        | false                                              | Allow unauthenticated users to use the service, only set this to true locally                                             |\n| AUTO_DELETE_EVERY_N_HOURS    | 24                                                 | Checks every n hours for files older then n hours and deletes them, set to 0 to disable                                   |\n| WEBROOT                      |                                                    | The address to the root path setting this to \"/convert\" will serve the website on \"example.com/convert/\"                  |\n| FFMPEG_ARGS                  |                                                    | Arguments to pass to ffmpeg, e.g. `-preset veryfast`                                                                      |\n| HIDE_HISTORY                 | false                                              | Hide the history page                                                                                                     |\n| LANGUAGE                     | en                                                 | Language to format date strings in, specified as a [BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) |\n| UNAUTHENTICATED_USER_SHARING | false                                              | Shares conversion history between all unauthenticated users                                                               |\n\n\n### Docker images\n\nThere is a `:latest` tag that is updated with every release and a `:main` tag that is updated with every push to the main branch. `:latest` is recommended for normal use.\n\nThe image is available on [GitHub Container Registry](https://github.com/C4illin/ConvertX/pkgs/container/ConvertX) and [Docker Hub](https://hub.docker.com/r/c4illin/convertx).\n\n| Image                                  | What it is                       |\n| -------------------------------------- | -------------------------------- |\n| `image: ghcr.io/c4illin/convertx`      | The latest release on ghcr       |\n| `image: ghcr.io/c4illin/convertx:main` | The latest commit on ghcr        |\n| `image: c4illin/convertx`              | The latest release on docker hub |\n| `image: c4illin/convertx:main`         | The latest commit on docker hub  |\n\n![Release image size](https://ghcr-badge.egpl.dev/c4illin/convertx/size?color=%230375b6\u0026tag=latest\u0026label=release+image\u0026trim=)\n![Dev image size](https://ghcr-badge.egpl.dev/c4illin/convertx/size?color=%230375b6\u0026tag=main\u0026label=dev+image\u0026trim=)\n\n\u003c!-- Dockerhub was introduced in 0.9.0 and older releases --\u003e\n\n### Tutorial\n\n\u003e [!NOTE]\n\u003e These are written by other people, and may be outdated, incorrect or wrong.\n\nTutorial in french: \u003chttps://belginux.com/installer-convertx-avec-docker/\u003e\n\nTutorial in chinese: \u003chttps://xzllll.com/24092901/\u003e\n\n## Screenshots\n\n![ConvertX Preview](images/preview.png)\n\n## Development\n\n0. Install [Bun](https://bun.sh/) and Git\n1. Clone the repository\n2. `bun install`\n3. `bun run dev`\n\nPull requests are welcome! See open issues for the list of todos. The ones tagged with \"converter request\" are quite easy. Help with docs and cleaning up in issues are also very welcome!\n\nUse [conventional commits](https://www.conventionalcommits.org/en/v1.0.0/#summary) for commit messages.\n\n## Contributors\n\n\u003ca href=\"https://github.com/C4illin/ConvertX/graphs/contributors\"\u003e\n  \u003cimg src=\"https://contrib.rocks/image?repo=C4illin/ConvertX\" alt=\"Image with all contributors\"/\u003e\n\u003c/a\u003e\n\n## Star History\n\n\u003ca href=\"https://github.com/C4illin/ConvertX/stargazers\"\u003e\n \u003cpicture\u003e\n   \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"https://api.star-history.com/svg?repos=C4illin/ConvertX\u0026type=Date\u0026theme=dark\" /\u003e\n   \u003csource media=\"(prefers-color-scheme: light)\" srcset=\"https://api.star-history.com/svg?repos=C4illin/ConvertX\u0026type=Date\" /\u003e\n   \u003cimg alt=\"Star History Chart\" src=\"https://api.star-history.com/svg?repos=C4illin/ConvertX\u0026type=Date\" /\u003e\n \u003c/picture\u003e\n\u003c/a\u003e\n","funding_links":[],"categories":["TypeScript","HarmonyOS","Software","前端开发框架及项目","Recently Updated","Table of Contents","typescript","hacktoberfest"],"sub_categories":["Windows Manager","Miscellaneous","前端项目_其他","[Mar 19, 2025](/content/2025/03/19/README.md)","Tools"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FC4illin%2FConvertX","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FC4illin%2FConvertX","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FC4illin%2FConvertX/lists"}