This commit is contained in:
C4illin 2024-08-26 16:00:15 +02:00
commit bb34bdee87
5 changed files with 20 additions and 5 deletions

View file

@ -1,4 +1,4 @@
FROM oven/bun:1.1.25-alpine AS base FROM oven/bun:1.1.26-alpine AS base
LABEL org.opencontainers.image.source="https://github.com/C4illin/ConvertX" LABEL org.opencontainers.image.source="https://github.com/C4illin/ConvertX"
WORKDIR /app WORKDIR /app

View file

@ -51,11 +51,11 @@ services:
- convertx:/app/data - convertx:/app/data
``` ```
<!-- or or
```bash ```bash
docker run ghcr.io/c4illin/convertx:master -p 3000:3000 -e ACCOUNT_REGISTRATION=false -v /path/you/want:/app/data docker run ghcr.io/c4illin/convertx -p 3000:3000 -v ./data:/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. 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.
@ -65,6 +65,15 @@ If you get unable to open database file run `chown -R $USER:$USER path` on the p
Tutorial in french: https://belginux.com/installer-convertx-avec-docker/ Tutorial in french: https://belginux.com/installer-convertx-avec-docker/
## Development
0. Install [Bun](https://bun.sh/) and Git
1. Clone the repository
2. `bun install`
3. `bun run dev`
Pull requests are welcome! See below and open issues for the list of todos.
## Todo ## Todo
- [x] Add messages for errors in converters - [x] Add messages for errors in converters
- [ ] Add options for converters - [ ] Add options for converters
@ -73,6 +82,10 @@ Tutorial in french: https://belginux.com/installer-convertx-avec-docker/
- [ ] Add tests - [ ] Add tests
- [ ] Add searchable list of formats - [ ] Add searchable list of formats
- [ ] Make the upload button nicer and more easy to drop files on. Support copy paste as well if possible. - [ ] Make the upload button nicer and more easy to drop files on. Support copy paste as well if possible.
- [ ] Add more converters:
- [ ] [deark](https://github.com/jsummers/deark)
- [ ] LibreOffice
- [ ] [dvisvgm](https://github.com/mgieseki/dvisvgm)
## Contributors ## Contributors

BIN
bun.lockb

Binary file not shown.

View file

@ -30,7 +30,7 @@
"@ianvs/prettier-plugin-sort-imports": "^4.3.1", "@ianvs/prettier-plugin-sort-imports": "^4.3.1",
"@kitajs/ts-html-plugin": "^4.0.2", "@kitajs/ts-html-plugin": "^4.0.2",
"@picocss/pico": "^2.0.6", "@picocss/pico": "^2.0.6",
"@total-typescript/ts-reset": "^0.5.1", "@total-typescript/ts-reset": "^0.6.0",
"@types/bun": "^1.1.6", "@types/bun": "^1.1.6",
"@types/eslint": "^9.6.0", "@types/eslint": "^9.6.0",
"@types/node": "^22.5.0", "@types/node": "^22.5.0",

2
src/public/robots.txt Normal file
View file

@ -0,0 +1,2 @@
User-agent: *
Disallow: /