https://github.com/faabiosr/imt
A collection of command-line tools for Immich
https://github.com/faabiosr/imt
golang immich tools
Last synced: 25 days ago
JSON representation
A collection of command-line tools for Immich
- Host: GitHub
- URL: https://github.com/faabiosr/imt
- Owner: faabiosr
- License: mit
- Created: 2025-01-07T17:05:31.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2025-04-09T19:25:09.000Z (about 2 months ago)
- Last Synced: 2025-05-08T21:53:45.683Z (25 days ago)
- Topics: golang, immich, tools
- Language: Go
- Homepage:
- Size: 66.4 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# imt
[](https://github.com/faabiosr/imt/actions?query=workflow:test)
[](https://codecov.io/gh/faabiosr/imt)
[](https://goreportcard.com/report/github.com/faabiosr/imt)
[](https://github.com/faabiosr/imt/releases)
[](https://github.com/faabiosr/imt/blob/master/LICENSE)## :tada: Overview
A collection of command-line tools for [Immich](https://immich.app/).## :relaxed: Motivation
Immich is a great tool for managing photos, however when you have a big collection of pictures, it is hard to manage albums, especially if you a different way to organize like me.## :dart: Installation
### Unix-like
#### Manual installation
```sh
# by default will install into ~/.local/bin folder.
curl -sSL https://raw.githubusercontent.com/faabiosr/imt/main/install.sh | bash# install into /usr/local/bin
curl -sSL https://raw.githubusercontent.com/faabiosr/imt/main/install.sh | sudo INSTALL_PATH=/usr/local/bin bash
```### go
```sh
go install github.com/faabiosr/imt@latest
```## :gem: Usage
### Login using Immich API Key (please generate one before use)
```sh
imt login http://your-immich-server
```### Logout (remove the stored credentials)
```sh
imt logout
```### List albums
```sh
imt album list
```### Create albums based on folder structure
```sh
# will create albums for the folders inside the `/home/user/photos`.
imt album auto-create /home/user/photos/# will create albums recursivelly for the folders inside the `/home/user/photos`.
imt album auto-create --recursive /home/user/photos/# will create albums recursivelly and skip levels size for the folders inside the `/home/user/photos`.
imt album auto-create --recursive --skip-levels 2 -/home/user/photos/# will create albums from config file.
imt album auto-create --from-config example_auto_create.json# for more option please run:
imt album auto-create -h
```### Server info
```sh
# Shows server info
imt info
```## :toolbox: Development
### Requirements
The entire environment is based on Golang, and you need to install the tools below:
- Install [Go](https://golang.org)
- Install [GolangCI-Lint](https://github.com/golangci/golangci-lint#install) - Linter### Makefile
Please run the make target below to see the provided targets.
```sh
$ make help
```## :page_with_curl: License
This project is released under the MIT licence. See [LICENSE](https://github.com/faabiosr/imt/blob/master/LICENSE) for more details.