SkillAgentSearch skills...

ImageServer

A simple image server

Install / Use

/learn @jinyu121/ImageServer
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Image Server

Image Server sets up a simple HTTP service, to make you view batch of images easier at a glance.

Start the server, open your browser, and navigate to http://your_ip:9420 to view your images.

Start the server

Current folder

ImageServer

Specified folder

image_server path/to/your/folder

URL list

Each line should be a URL

image_server path/to/your/list.txt

CSV / TSV file

You should specify which column (by index, not name) is the image URL

image_server --column 0 path/to/your/list.csv

JSON file

One line per JSON object (ImageServer do not support human-friendly formatted JSON file), and you should specify how to get the image URL by JSONPath syntax

image_server --filter "$.images[*]" path/to/your/json/file.json  

LMDB file

Keys will be separated by / to get virtual paths/folders

image_server path/to/your/lmdb/database.lmdb

Parameters

Change page size

Default page size is 1000, you can change it by --page option

image_server --page 100 path/to/your/folder

Change port

Default port is 9420, you can change it by --port option

image_server --port 2333 path/to/your/folder

Browse images in your browser

Basic usage

http://your_ip:9420

Pagination

http://your_ip:9420?p=2333

Compare folders

http://your_ip:9420/path/to/foder/one?c=path/to/folder/two
http://your_ip:9420/path/to/foder/one?c=path/to/folder/two&c=/path/to/another/folder

Web UI

Navigation

  • ⏮ : Previous Neighborhood Folder
  • ⏫ : Parent Folder
  • ⏭ : Next Neighborhood Folder

Pagination

  • 🔼 : Previous Page
  • 🔽 : Next Page
View on GitHub
GitHub Stars16
CategoryDevelopment
Updated1y ago
Forks2

Languages

Go

Security Score

60/100

Audited on May 17, 2024

No findings