2026-03-22 21:00:37 +08:00
# Getting started
## Run with Docker
2026-04-14 20:55:42 +08:00
The fastest way to get ashim running:
2026-03-22 21:00:37 +08:00
```bash
docker run -d \
2026-04-14 20:55:42 +08:00
--name ashim \
2026-03-22 21:00:37 +08:00
-p 1349:1349 \
2026-04-14 20:55:42 +08:00
-v ashim-data:/data \
ashimhq/ashim:latest
2026-03-22 21:00:37 +08:00
```
Open `http://localhost:1349` in your browser. Log in with `admin` / `admin` .
2026-04-05 20:35:24 +08:00
::: tip GPU acceleration
2026-04-10 17:38:54 +08:00
Have an NVIDIA GPU? Add `--gpus all` to accelerate background removal (2.7x), upscaling (3x), and OCR (1.5x):
2026-04-05 20:35:24 +08:00
```bash
2026-04-14 20:55:42 +08:00
docker run -d --gpus all -p 1349:1349 -v ashim-data:/data ashimhq/ashim:latest
2026-04-05 20:35:24 +08:00
```
Requires [NVIDIA Container Toolkit ](https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html ). Falls back to CPU if no GPU is found. See [Docker Tags ](./docker-tags ) for details and benchmarks.
:::
2026-03-22 21:00:37 +08:00
## Run with Docker Compose
Create a `docker-compose.yml` :
```yaml
services :
2026-04-14 20:55:42 +08:00
ashim :
image : ashimhq/ashim:latest
container_name : ashim
2026-03-22 21:00:37 +08:00
ports :
- "1349:1349"
volumes :
2026-04-14 20:55:42 +08:00
- ashim-data:/data
- ashim-workspace:/tmp/workspace
2026-03-22 21:00:37 +08:00
environment :
- AUTH_ENABLED=true
- DEFAULT_USERNAME=admin
- DEFAULT_PASSWORD=admin
restart : unless-stopped
volumes :
2026-04-14 20:55:42 +08:00
ashim-data :
ashim-workspace :
2026-03-22 21:00:37 +08:00
```
```bash
docker compose up -d
```
See [Configuration ](./configuration ) for the full list of environment variables.
## Build from source
2026-03-24 20:37:14 +08:00
Requirements: Node.js 22+, pnpm 9+, Python 3.10+
2026-03-22 21:00:37 +08:00
```bash
2026-04-14 20:55:42 +08:00
git clone https://github.com/ashim-hq/ashim.git
cd ashim
2026-03-22 21:00:37 +08:00
pnpm install
```
Start the dev server:
```bash
pnpm dev
```
2026-03-26 01:10:13 +08:00
This starts both the API server and the React frontend. Open `http://localhost:1349` in your browser.
2026-03-22 21:00:37 +08:00
## What you can do
2026-03-26 01:10:13 +08:00
The sidebar lists every tool. Pick one, upload an image, tweak the settings, download the result.
2026-03-22 21:00:37 +08:00
2026-03-26 01:10:13 +08:00
Some things to try first:
2026-03-22 21:00:37 +08:00
2026-03-26 01:10:13 +08:00
- Resize an image to specific dimensions or a percentage
- Remove a background with the AI tool
- Compress a photo before uploading it somewhere
2026-04-04 21:33:48 +08:00
- Convert between formats (JPEG, PNG, WebP, AVIF, TIFF, HEIC)
2026-03-26 01:10:13 +08:00
- Batch process a folder of images through any tool
- Save results to the Files page for later
2026-03-22 21:00:37 +08:00
2026-04-14 20:55:42 +08:00
Every tool is also available through the [REST API ](../api/rest ), so you can script workflows or plug ashim into other systems.